From a0d330bedb9eb5668bc73c60e525f3c76d23a93a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 12 Jul 2019 15:55:33 -0400 Subject: [PATCH] radeonsi/gfx10: enable Wave32 for vertex, geometry, and tessellation shaders Acked-by: Pierre-Eric Pelloux-Prayer Reviewed-by: Samuel Pitoiset --- src/gallium/drivers/radeonsi/si_pipe.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index e6b9d446565..65cfe7f4878 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -1231,6 +1231,11 @@ radeonsi_screen_create_impl(struct radeon_winsys *ws, sscreen->compute_wave_size = 64; if (sscreen->info.chip_class >= GFX10) { + /* Pixels shaders: Wave64 is recommended. + * Compute shaders: There are piglit failures with Wave32. + */ + sscreen->ge_wave_size = 32; + if (sscreen->debug_flags & DBG(W32_GE)) sscreen->ge_wave_size = 32; if (sscreen->debug_flags & DBG(W32_PS)) -- 2.30.2