projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb4f367
)
r600g: fix evergreen segfaults.
author
Dave Airlie
<airlied@redhat.com>
Wed, 22 Dec 2010 04:54:17 +0000
(14:54 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 22 Dec 2010 04:54:17 +0000
(14:54 +1000)
evergreen was crashing running even gears here.
This is a 7.10 candidate if its broken the same.
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_state_common.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_state_common.c
b/src/gallium/drivers/r600/r600_state_common.c
index f488cf74ff2ac52fe0141687ada89c466c242bfe..3603376f738b9ffd1faa3537441fe72fbc5903ff 100644
(file)
--- a/
src/gallium/drivers/r600/r600_state_common.c
+++ b/
src/gallium/drivers/r600/r600_state_common.c
@@
-182,7
+182,7
@@
void r600_set_vertex_buffers(struct pipe_context *ctx, unsigned count,
if (rctx->family >= CHIP_CEDAR) {
for (int i = 0; i < rctx->nvertex_buffer; i++) {
pipe_resource_reference(&rctx->vertex_buffer[i].buffer, NULL);
- evergreen_
fs_resource_set
(&rctx->ctx, NULL, i);
+ evergreen_
context_pipe_state_set_fs_resource
(&rctx->ctx, NULL, i);
}
} else {
for (int i = 0; i < rctx->nvertex_buffer; i++) {