projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: fix memleak in error path
[mesa.git]
/
src
/
compiler
/
nir
/
nir_lower_int_to_float.c
diff --git
a/src/compiler/nir/nir_lower_int_to_float.c
b/src/compiler/nir/nir_lower_int_to_float.c
index f082b6633022bcbd31d94edc83f65e45947efe99..d1e77daf1fee79aa5ce55a6fa69c494e62bd4049 100644
(file)
--- a/
src/compiler/nir/nir_lower_int_to_float.c
+++ b/
src/compiler/nir/nir_lower_int_to_float.c
@@
-28,7
+28,7
@@
static bool
assert_ssa_def_is_not_int(nir_ssa_def *def, void *arg)
{
-
MAYBE_UNUS
ED BITSET_WORD *int_types = arg;
+
ASSERT
ED BITSET_WORD *int_types = arg;
assert(!BITSET_TEST(int_types, def->index));
return true;
}