intel/fs: use nomask for setting cr0 for float controls
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 5 Apr 2023 12:38:34 +0000 (15:38 +0300)
committerMarge Bot <emma+marge@anholt.net>
Tue, 11 Apr 2023 11:01:31 +0000 (11:01 +0000)
commitdaa8003e45c37d13f81958c0a74222e259d18538
tree37880c7f5beebcdef6beb21dd340e445bcbdad83
parent45a682650ca566baecd9960bfb7af5dffb94c247
intel/fs: use nomask for setting cr0 for float controls

The instructions manipulation cr0 use the default mask on lane0. So if
for some reason that lane is disabled in some of the dispatchs, we can
end up not executing the instructions.

Fixes flakyness in dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.uniform_float_32_to_16.uniform_matrix_float_rtz_frag

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22314>
src/intel/compiler/brw_eu_emit.c
src/intel/compiler/brw_fs_nir.cpp