diff options
Diffstat (limited to 'src/glsl/nir/nir_opt_dce.c')
-rw-r--r-- | src/glsl/nir/nir_opt_dce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/nir/nir_opt_dce.c b/src/glsl/nir/nir_opt_dce.c index c3bbcb4d82d..365a8cd75df 100644 --- a/src/glsl/nir/nir_opt_dce.c +++ b/src/glsl/nir/nir_opt_dce.c @@ -98,8 +98,8 @@ init_instr(nir_instr *instr, struct exec_list *worklist) } break; - case nir_instr_type_texture: - tex_instr = nir_instr_as_texture(instr); + case nir_instr_type_tex: + tex_instr = nir_instr_as_tex(instr); if (!tex_instr->dest.is_ssa) worklist_push(worklist, instr); break; |