[Mesa-dev] [PATCH 2/3] st/mesa: silenced unhanded enum warning in st_glsl_to_tgsi.cpp
Brian Paul
brianp at vmware.com
Tue Sep 18 03:10:05 UTC 2018
Add ir_intrinsic_begin_fragment_shader_ordering switch case to
silence warning
---
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index ffaaeff..5a7e25a 100644
--- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@ -4068,6 +4068,7 @@ glsl_to_tgsi_visitor::visit(ir_call *ir)
case ir_intrinsic_generic_atomic_comp_swap:
case ir_intrinsic_begin_invocation_interlock:
case ir_intrinsic_end_invocation_interlock:
+ case ir_intrinsic_begin_fragment_shader_ordering:
unreachable("Invalid intrinsic");
}
}
--
2.7.4
More information about the mesa-dev
mailing list