[Mesa-dev] [PATCH 18/20] swr/rast: Enable simd16 vertex shaders

George Kyriazis george.kyriazis at intel.com
Fri Jan 19 21:47:13 UTC 2018


Flip the switch(es) to enable simd16 vertex shaders:

USE_SIMD16_SHADERS and USE_SIMD16_VS

Both have to be enabled at the same time.  Currently, just setting
USE_SIMD16_SHADERS does not work correctly.
---
 src/gallium/drivers/swr/rasterizer/core/knobs.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/swr/rasterizer/core/knobs.h b/src/gallium/drivers/swr/rasterizer/core/knobs.h
index b6ab382..657c2ee 100644
--- a/src/gallium/drivers/swr/rasterizer/core/knobs.h
+++ b/src/gallium/drivers/swr/rasterizer/core/knobs.h
@@ -41,8 +41,8 @@
 #define ENABLE_AVX512_SIMD16    1
 #define USE_8x2_TILE_BACKEND    1
 #define USE_SIMD16_FRONTEND     1
-#define USE_SIMD16_SHADERS      0   // requires USE_SIMD16_FRONTEND
-#define USE_SIMD16_VS           0   // requires USE_SIMD16_SHADERS
+#define USE_SIMD16_SHADERS      1   // requires USE_SIMD16_FRONTEND
+#define USE_SIMD16_VS           1   // requires USE_SIMD16_SHADERS
 
 ///////////////////////////////////////////////////////////////////////////////
 // Architecture validation
-- 
2.7.4



More information about the mesa-dev mailing list