projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89873c9
)
nir: Fix uninitialized use of 'replacement'.
author
Kenneth Graunke
<kenneth@whitecape.org>
Tue, 19 Jul 2016 05:42:44 +0000
(22:42 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 20 Jul 2016 00:34:59 +0000
(17:34 -0700)
For intrinsics we don't care about, just skip to the next loop iteration
and process the next instruction. We don't want to execute the rest of
the code.
This was a bug in commit
cdfc05ea6e8c87876cdbf588aa8e03d70f3da4bb
.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/compiler/nir/nir_lower_io.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_lower_io.c
b/src/compiler/nir/nir_lower_io.c
index 71d2432bb4eefc7577aae2a3146718fd026d82c3..189370df3649c252cfe03cfe93b85556ce21cf38 100644
(file)
--- a/
src/compiler/nir/nir_lower_io.c
+++ b/
src/compiler/nir/nir_lower_io.c
@@
-369,7
+369,7
@@
nir_lower_io_block(nir_block *block,
break;
default:
-
break
;
+
continue
;
}
if (nir_intrinsic_infos[intrin->intrinsic].has_dest) {