diff options
Diffstat (limited to 'src/glsl/nir/nir_to_ssa.c')
-rw-r--r-- | src/glsl/nir/nir_to_ssa.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/glsl/nir/nir_to_ssa.c b/src/glsl/nir/nir_to_ssa.c index 58e8829e1c4..03cce9266ff 100644 --- a/src/glsl/nir/nir_to_ssa.c +++ b/src/glsl/nir/nir_to_ssa.c @@ -194,11 +194,9 @@ rewrite_use(nir_src *src, void *_state) src->ssa = get_ssa_src(src->reg.reg, state); if (state->parent_instr) - _mesa_set_add(src->ssa->uses, _mesa_hash_pointer(state->parent_instr), - state->parent_instr); + _mesa_set_add(src->ssa->uses, state->parent_instr); else - _mesa_set_add(src->ssa->if_uses, _mesa_hash_pointer(state->parent_if), - state->parent_if); + _mesa_set_add(src->ssa->if_uses, state->parent_if); return true; } |