From: Chris Forbes Date: Sat, 12 Jul 2014 23:13:18 +0000 (+1200) Subject: i965/vec4: Silence warnings about unhandled interpolation ops X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5899a45a5bc0d05be6895970234e49ca70984aee;p=mesa.git i965/vec4: Silence warnings about unhandled interpolation ops Signed-off-by: Chris Forbes --- 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()");