intel/compiler/cs: Allow simd32 in some more cases with no8 and/or no16
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 3 Mar 2020 10:28:24 +0000 (02:28 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 9 Jul 2020 22:44:34 +0000 (15:44 -0700)
commit1a4a2f563b04e93cca68d0b7013e52d949b1613b
tree00273ab58f838d6975a9b1ee2395cdcc394bb3f2
parent9418c8ec8dddd73a7fb0a4a1180118d49a8e5ebe
intel/compiler/cs: Allow simd32 in some more cases with no8 and/or no16

If no16 was specified, and the shader can't run in simd8 due to the
local_size, then we need to generate a simd32 program.

If both no8 and no16 are specified, then we need to generate a simd32
program.

Rework:
 * Drop update of `if` that would have changed `do32` to try simd32
   even if simd16 spilled registers. (Caio)

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5269>
src/intel/compiler/brw_fs.cpp