[Mesa-dev] [PATCH 12/24] swr/rast: SIMD16 FE - fix PA_STATE_OP::Reset()

Tim Rowley timothy.o.rowley at intel.com
Sat May 27 21:25:07 UTC 2017


Fixes instanced GS.
---
 src/gallium/drivers/swr/rasterizer/core/pa.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gallium/drivers/swr/rasterizer/core/pa.h b/src/gallium/drivers/swr/rasterizer/core/pa.h
index 7c39056..020399d 100644
--- a/src/gallium/drivers/swr/rasterizer/core/pa.h
+++ b/src/gallium/drivers/swr/rasterizer/core/pa.h
@@ -325,6 +325,9 @@ struct PA_STATE_OPT : public PA_STATE
 
 #endif
         this->pfnPaFunc = this->pfnPaFuncReset;
+#if ENABLE_AVX512_SIMD16
+        this->pfnPaFunc_simd16 = this->pfnPaFuncReset_simd16;
+#endif
         this->numPrimsComplete = 0;
         this->numSimdPrims = 0;
         this->cur = 0;
-- 
2.7.4



More information about the mesa-dev mailing list