summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2012-03-27 21:00:49 +0200
committerMarek Olšák <maraeo@gmail.com>2012-03-27 21:06:59 +0200
commit393d741788fa82896d4b1c9fd02402a83053afcf (patch)
tree8229a0ebdf017dc1b98bc5e9648e7f69be26f1d0 /src/gallium/winsys
parentad22e647e07d17ce51d267ac200d8a544a33c834 (diff)
downloadexternal_mesa3d-393d741788fa82896d4b1c9fd02402a83053afcf.zip
external_mesa3d-393d741788fa82896d4b1c9fd02402a83053afcf.tar.gz
external_mesa3d-393d741788fa82896d4b1c9fd02402a83053afcf.tar.bz2
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/winsys')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_winsys.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
index 956fe85..c29dca3 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c
@@ -290,8 +290,7 @@ static boolean do_winsys_init(struct radeon_drm_winsys *ws)
ws->info.r600_virtual_address = FALSE;
}
- /* XXX don't enable this for R700 yet, it's broken on those asics */
- ws->info.r600_has_streamout = debug_get_bool_option("R600_STREAMOUT", FALSE);
+ ws->info.r600_has_streamout = ws->info.drm_minor >= 13;
}
return TRUE;