mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-24 20:10:40 +02:00
r600g: enable transform feedback on everything that isn't r700
Use R700_STREAMOUT=1 if you wanna hack transform feedback on r700.
This commit is contained in:
parent
ad22e647e0
commit
393d741788
2 changed files with 7 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue