diff options
Diffstat (limited to 'src/glsl/nir/glsl_to_nir.cpp')
-rw-r--r-- | src/glsl/nir/glsl_to_nir.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/nir/glsl_to_nir.cpp b/src/glsl/nir/glsl_to_nir.cpp index c90425b1300..70f0c851f2a 100644 --- a/src/glsl/nir/glsl_to_nir.cpp +++ b/src/glsl/nir/glsl_to_nir.cpp @@ -790,8 +790,8 @@ get_instr_dest(nir_instr *instr) else return NULL; - case nir_instr_type_texture: - tex_instr = nir_instr_as_texture(instr); + case nir_instr_type_tex: + tex_instr = nir_instr_as_tex(instr); return &tex_instr->dest; case nir_instr_type_load_const: |