Commit 527a8c34 authored by Emma Anholt's avatar Emma Anholt
Browse files

mesa/st: Fix compiler warnings from INTEL_shader_integer_functions.

Fixes: 1d165b05

 ("glsl: Add new expressions for INTEL_shader_integer_functions2")
Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
Part-of: <mesa/mesa!3539>
parent 096921c8
......@@ -2388,6 +2388,13 @@ glsl_to_tgsi_visitor::visit_expression(ir_expression* ir, st_src_reg *op)
case ir_unop_ssbo_unsized_array_length:
case ir_unop_atan:
case ir_binop_atan2:
case ir_unop_clz:
case ir_binop_add_sat:
case ir_binop_sub_sat:
case ir_binop_abs_sub:
case ir_binop_avg:
case ir_binop_avg_round:
case ir_binop_mul_32x16:
/* This operation is not supported, or should have already been handled.
*/
assert(!"Invalid ir opcode in glsl_to_tgsi_visitor::visit()");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment