mesa/program: add new derivative unops to the unexpected list
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 14 Aug 2014 06:02:56 +0000 (02:02 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 15 Aug 2014 00:25:32 +0000 (20:25 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/program/ir_to_mesa.cpp

index 4c246d12804652e1145dfeb0445b7a96967c6c48..011ffed7bb4c5b90c03581220811d5db2a48800b 100644 (file)
@@ -1459,6 +1459,10 @@ ir_to_mesa_visitor::visit(ir_expression *ir)
    case ir_unop_interpolate_at_centroid:
    case ir_binop_interpolate_at_offset:
    case ir_binop_interpolate_at_sample:
+   case ir_unop_dFdx_coarse:
+   case ir_unop_dFdx_fine:
+   case ir_unop_dFdy_coarse:
+   case ir_unop_dFdy_fine:
       assert(!"not supported");
       break;