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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user