Commit 1a4a2f56 authored by Jordan Justen's avatar Jordan Justen
Browse files

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

 * Drop update of `if` that would have changed `do32` to try simd32
   even if simd16 spilled registers. (Caio)
Signed-off-by: Jordan Justen's avatarJordan Justen <>
Reviewed-by: Caio Marcelo de Oliveira Filho's avatarCaio Marcelo de Oliveira Filho <>
Part-of: <mesa/mesa!5269>
parent 9418c8ec
......@@ -9054,7 +9054,7 @@ brw_compile_cs(const struct brw_compiler *compiler, void *log_data,
* TODO: Use performance_analysis and drop this boolean.
const bool needs_32 = min_dispatch_width > 16 ||
const bool needs_32 = v == NULL ||
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment