swr/rast: fix core / knights split of AVX512 intrinsics
[mesa.git] / src / gallium / drivers / swr / rasterizer / common / simdlib.hpp
index 22d7da42d0af1f84570a1d9e68caa917cffc9496..500cf8a87e3d6c8a9985a4b3c3e81bcc88b425b3 100644 (file)
@@ -214,6 +214,8 @@ struct SIMDBase : Traits::IsaImpl
     using Vec4          = typename Traits::Vec4;
     using Mask          = typename Traits::Mask;
 
+    static const size_t VECTOR_BYTES = sizeof(Float);
+
     // Populates a SIMD Vec4 from a non-simd vector. So p = xyzw becomes xxxx yyyy zzzz wwww.
     static SIMDINLINE
     void vec4_load1_ps(Vec4& r, const float *p)