Skip to content

intel/fs: grab fail_msg from v32 instead of v16 when v32->run_cs fails

Paulo Zanoni requested to merge pzanoni/mesa:simd32-error-msg-fix into master

Looks like a copy/paste error. This patch prevents a segfault when running the following on BDW:

INTEL_DEBUG=no8,no16,do32 ./deqp-vk -n \
    dEQP-VK.subgroups.arithmetic.compute.subgroupmin_dvec4

For the curious, the message we're getting is:

CS compile failed: Failure to register allocate.  Reduce number
of live scalar values to avoid this.

Fixes: 864737ce ("i965/fs: Build 32-wide compute shader when needed.") Signed-off-by: Paulo Zanoni paulo.r.zanoni@intel.com

Cc: @currojerez, @jekstrand.

Merge request reports

Loading