r600g: no need to drop the references here.
[mesa.git] / src / gallium / winsys / r600 / drm / r600_hw_context.c
index cd52eadbf5ce5196040e1c114bf1f5b8ecdf8c3d..8d387c4e8f25368d27d6e7a4a1d489995bfac2f4 100644 (file)
@@ -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