瀏覽代碼

r600g: no need to drop the references here.

We drop them when we reference the new objects in the next line.

Signed-off-by: Dave Airlie <airlied@redhat.com>
tags/mesa-7.11-rc1
Dave Airlie 15 年之前
父節點
當前提交
ff298a66d7
共有 1 個檔案被更改,包括 0 行新增2 行删除
  1. 0
    2
      src/gallium/winsys/r600/drm/r600_hw_context.c

+ 0
- 2
src/gallium/winsys/r600/drm/r600_hw_context.c 查看文件

@@ -1098,8 +1098,6 @@ void r600_context_pipe_state_set_resource(struct r600_context *ctx, struct r600_
state->bo[1]->fence = ctx->radeon->fence;
}
} else {
r600_bo_reference(ctx->radeon, &block->reloc[1].bo, NULL);
r600_bo_reference(ctx->radeon, &block->reloc[2].bo, NULL);
if (is_vertex) {
/* VERTEX RESOURCE, we preted there is 2 bo to relocate so
* we have single case btw VERTEX & TEXTURE resource

Loading…
取消
儲存