summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-03-27 21:00:49 +0200
committerMarek Olšák <[email protected]>2012-03-27 21:06:59 +0200
commit393d741788fa82896d4b1c9fd02402a83053afcf (patch)
tree8229a0ebdf017dc1b98bc5e9648e7f69be26f1d0 /src/gallium/drivers/r600/r600_pipe.c
parentad22e647e07d17ce51d267ac200d8a544a33c834 (diff)
r600g: enable transform feedback on everything that isn't r700
Use R700_STREAMOUT=1 if you wanna hack transform feedback on r700.
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 8daa67a9952..580b9c15955 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -814,6 +814,12 @@ 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)) {
+ rscreen->info.r600_has_streamout = false;
+ }
+
if (r600_init_tiling(rscreen)) {
FREE(rscreen);
return NULL;