intel/compiler: activate 16-bit bit-size lowerings also for 8-bit

Particularly, we need the same lowewrings we use for 16-bit
integers.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
Iago Toral Quiroga 2018-07-13 10:03:14 +02:00 committed by Juan A. Suarez Romero
parent 40b3abb4d1
commit 472244b374
1 changed files with 1 additions and 1 deletions

View File

@ -628,7 +628,7 @@ static unsigned
lower_bit_size_callback(const nir_alu_instr *alu, UNUSED void *data)
{
assert(alu->dest.dest.is_ssa);
if (alu->dest.dest.ssa.bit_size != 16)
if (alu->dest.dest.ssa.bit_size >= 32)
return 0;
const struct brw_compiler *compiler = (const struct brw_compiler *) data;