From e3c93d8ddf2bd8b427396e1320fcd65fb44467e8 Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Fri, 12 May 2017 12:57:46 -0500 Subject: [PATCH] swr/rast: SIMD16 FE - fix PA_STATE_OP::Reset() Fixes instanced GS. Reviewed-by: Bruce Cherniak --- 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 7c390564a41..020399d39b9 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.30.2