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:
29addf5
)
nir/lower_phis_to_scalar: undef is trivially scalarizable
author
Rob Clark
<robclark@freedesktop.org>
Fri, 26 Jun 2015 19:05:32 +0000
(15:05 -0400)
committer
Rob Clark
<robclark@freedesktop.org>
Fri, 3 Jul 2015 12:56:09 +0000
(08:56 -0400)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir_lower_phis_to_scalar.c
patch
|
blob
|
history
diff --git
a/src/glsl/nir/nir_lower_phis_to_scalar.c
b/src/glsl/nir/nir_lower_phis_to_scalar.c
index
a57d253
..
739170d
100644
(file)
--- a/
src/glsl/nir/nir_lower_phis_to_scalar.c
+++ b/
src/glsl/nir/nir_lower_phis_to_scalar.c
@@
-75,6
+75,7
@@
is_phi_src_scalarizable(nir_phi_src *src,
return should_lower_phi(nir_instr_as_phi(src_instr), state);
case nir_instr_type_load_const:
+ case nir_instr_type_ssa_undef:
/* These are trivially scalarizable */
return true;