From 5899a45a5bc0d05be6895970234e49ca70984aee Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sun, 13 Jul 2014 11:13:18 +1200 Subject: i965/vec4: Silence warnings about unhandled interpolation ops Signed-off-by: Chris Forbes --- src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp index 65eb2da59a5..e16e93cc27a 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp @@ -1768,6 +1768,9 @@ vec4_visitor::visit(ir_expression *ir) case ir_unop_unpack_half_2x16_split_x: case ir_unop_unpack_half_2x16_split_y: case ir_binop_pack_half_2x16_split: + case ir_unop_interpolate_at_centroid: + case ir_binop_interpolate_at_sample: + case ir_binop_interpolate_at_offset: unreachable("not reached: should not occur in vertex shader"); case ir_binop_ldexp: unreachable("not reached: should be handled by ldexp_to_arith()"); -- cgit v1.2.3