projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43af02a
)
r600g: only emit SX_SURFACE_SYNC on r700 if there's CS checker support
author
Marek Olšák
<maraeo@gmail.com>
Wed, 7 Mar 2012 12:48:38 +0000
(13:48 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Wed, 7 Mar 2012 12:52:58 +0000
(13:52 +0100)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47039
src/gallium/drivers/r600/r600_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_state.c
b/src/gallium/drivers/r600/r600_state.c
index 59556671a67080d88334ec959b00558b06a4295f..3e9d4aa4f09d6bd13b7d38c378a26f3287596b60 100644
(file)
--- a/
src/gallium/drivers/r600/r600_state.c
+++ b/
src/gallium/drivers/r600/r600_state.c
@@
-2125,7
+2125,7
@@
void r600_init_atom_start_cs(struct r600_context *rctx)
r600_store_context_reg(cb, R_0288A4_SQ_PGM_RESOURCES_FS, 0);
r600_store_context_reg(cb, R_0288DC_SQ_PGM_CF_OFFSET_FS, 0);
- if (rctx->chip_class == R700)
+ if (rctx->chip_class == R700
&& rctx->screen->info.r600_has_streamout
)
r600_store_context_reg(cb, R_028354_SX_SURFACE_SYNC, S_028354_SURFACE_SYNC_MASK(0xf));
r600_store_context_reg(cb, R_028800_DB_DEPTH_CONTROL, 0);