diff options
Diffstat (limited to 'src/glsl/nir/nir_print.c')
-rw-r--r-- | src/glsl/nir/nir_print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/nir/nir_print.c b/src/glsl/nir/nir_print.c index 9ad2849d376..68d0b6d1117 100644 --- a/src/glsl/nir/nir_print.c +++ b/src/glsl/nir/nir_print.c @@ -655,8 +655,8 @@ print_instr(nir_instr *instr, print_var_state *state, unsigned tabs, FILE *fp) print_intrinsic_instr(nir_instr_as_intrinsic(instr), state, fp); break; - case nir_instr_type_texture: - print_tex_instr(nir_instr_as_texture(instr), state, fp); + case nir_instr_type_tex: + print_tex_instr(nir_instr_as_tex(instr), state, fp); break; case nir_instr_type_load_const: |