summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_nir.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
index b7120859324..56e180a138a 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp
@@ -387,8 +387,8 @@ fs_visitor::nir_emit_instr(nir_instr *instr)
nir_emit_intrinsic(nir_instr_as_intrinsic(instr));
break;
- case nir_instr_type_texture:
- nir_emit_texture(nir_instr_as_texture(instr));
+ case nir_instr_type_tex:
+ nir_emit_texture(nir_instr_as_tex(instr));
break;
case nir_instr_type_load_const: