From: Tim Rowley Date: Fri, 12 May 2017 17:57:46 +0000 (-0500) Subject: swr/rast: SIMD16 FE - fix PA_STATE_OP::Reset() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3c93d8ddf2bd8b427396e1320fcd65fb44467e8;p=mesa.git swr/rast: SIMD16 FE - fix PA_STATE_OP::Reset() Fixes instanced GS. Reviewed-by: Bruce Cherniak --- 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;