projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: add d2i, d2u, d2b opcodes
[mesa.git]
/
src
/
compiler
/
nir
/
nir_opt_dead_cf.c
diff --git
a/src/compiler/nir/nir_opt_dead_cf.c
b/src/compiler/nir/nir_opt_dead_cf.c
index 4cc6798702b3647e113db6c34d58cbdd8af6ea5d..4658b23c57b9929ecde431b3ef517a8c406dcedd 100644
(file)
--- a/
src/compiler/nir/nir_opt_dead_cf.c
+++ b/
src/compiler/nir/nir_opt_dead_cf.c
@@
-228,7
+228,7
@@
dead_cf_block(nir_block *block)
if (!const_value)
return false;
- opt_constant_if(following_if, const_value->u[0] != 0);
+ opt_constant_if(following_if, const_value->u
32
[0] != 0);
return true;
}