projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40b3abb
)
intel/compiler: activate 16-bit bit-size lowerings also for 8-bit
author
Iago Toral Quiroga
<itoral@igalia.com>
Fri, 13 Jul 2018 08:03:14 +0000
(10:03 +0200)
committer
Juan A. Suarez Romero
<jasuarez@igalia.com>
Thu, 18 Apr 2019 09:05:18 +0000
(11:05 +0200)
Particularly, we need the same lowewrings we use for 16-bit
integers.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/compiler/brw_nir.c
patch
|
blob
|
history
diff --git
a/src/intel/compiler/brw_nir.c
b/src/intel/compiler/brw_nir.c
index
ab55739
..
19ee87c
100644
(file)
--- 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;