summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-03-28 02:21:03 +0200
committerMarek Olšák <[email protected]>2012-03-28 02:21:03 +0200
commit9773369ab4d1c75965821635f448733edde98636 (patch)
tree26128331aa8d8a40b47506f5aaf9d0934d54ab27 /src/gallium/drivers/r600/r600_pipe.c
parent393d741788fa82896d4b1c9fd02402a83053afcf (diff)
r600g: also disable transform feedback on cayman
It's said to cause troubles there. The env var is R600_STREAMOUT again.
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 580b9c15955..3ab78ea040d 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -814,9 +814,10 @@ struct pipe_screen *r600_screen_create(struct radeon_winsys *ws)
rscreen->chip_class = R600;
}
- /* XXX streamout is broken on r700 */
- if (rscreen->chip_class == R700 &&
- !debug_get_bool_option("R700_STREAMOUT", FALSE)) {
+ /* XXX streamout is said to be broken on r700 and cayman */
+ if ((rscreen->chip_class == R700 ||
+ rscreen->chip_class == CAYMAN) &&
+ !debug_get_bool_option("R600_STREAMOUT", FALSE)) {
rscreen->info.r600_has_streamout = false;
}