i965/vec4: Silence warnings about unhandled interpolation ops
authorChris Forbes <chrisf@ijw.co.nz>
Sat, 12 Jul 2014 23:13:18 +0000 (11:13 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 12 Jul 2014 23:13:23 +0000 (11:13 +1200)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp

index 65eb2da59a565bf4cdbce68cf5e78436397e03ed..e16e93cc27ab917dd55355d10e01532751f8f756 100644 (file)
@@ -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()");