diff options
author | Iago Toral Quiroga <[email protected]> | 2018-07-13 10:03:14 +0200 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2019-04-18 11:05:18 +0200 |
commit | 472244b374a953fc3a8953a722fdab746aef0676 (patch) | |
tree | 71368474bab8222bc5553687dc77f4a41cdf8ffd /src | |
parent | 40b3abb4d16af4cef0307e1b4904c2ec0924299e (diff) |
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/compiler/brw_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index ab55739709c..19ee87c0b00 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -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; |