r600g: also disable transform feedback on cayman
authorMarek Olšák <maraeo@gmail.com>
Wed, 28 Mar 2012 00:21:03 +0000 (02:21 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 28 Mar 2012 00:21:03 +0000 (02:21 +0200)
It's said to cause troubles there.
The env var is R600_STREAMOUT again.

src/gallium/drivers/r600/r600_pipe.c

index 580b9c1595550e9c7950e2918aa2b5476f88a86e..3ab78ea040d42eea3cc456676a0462c6b8dc7a0f 100644 (file)
@@ -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;
        }