i965/skl: Send a message header when doing constant loads SIMD4x2

Graphics / Mesa 3D Graphics Library / Mesa - Neil Roberts [linux.intel.com] - 17 March 2015 11:32 UTC

Commit 0ac4c272755c7 made it add a header for the send message when using SIMD4x2 on Skylake because without this it will end up using SIMD8D. However the patch missed the case when a sampler is being used to implement constant loads from a buffer surface in a SIMD4x2 vertex shader.

This fixes 29 Piglit tests, mostly related to the ARL instruction in
vertex programs.

5a06ee7 i965/skl: Send a message header when doing constant loads SIMD4x2
src/mesa/drivers/dri/i965/brw_vec4_generator.cpp | 32 ++++++++++++++++++----
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 18 ++++++++++++
src/mesa/drivers/dri/i965/brw_vec4_vp.cpp | 9 ++++++
3 files changed, 53 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share