projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e21601e
)
r600g: no need to drop the references here.
author
Dave Airlie
<airlied@redhat.com>
Tue, 7 Jun 2011 00:49:50 +0000
(10:49 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 8 Jun 2011 01:46:59 +0000
(11:46 +1000)
We drop them when we reference the new objects in the next line.
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/winsys/r600/drm/r600_hw_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/r600/drm/r600_hw_context.c
b/src/gallium/winsys/r600/drm/r600_hw_context.c
index
cd52ead
..
8d387c4
100644
(file)
--- a/
src/gallium/winsys/r600/drm/r600_hw_context.c
+++ b/
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