From 9773369ab4d1c75965821635f448733edde98636 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 28 Mar 2012 02:21:03 +0200 Subject: [PATCH] r600g: also disable transform feedback on cayman It's said to cause troubles there. The env var is R600_STREAMOUT again. --- src/gallium/drivers/r600/r600_pipe.c | 7 ++++--- 1 file 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; } -- 2.30.2