From d55c543c3637fec784518f34b1f12e7a73be2281 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 23 Apr 2013 17:19:06 -0700 Subject: glsl: Add support for new fma built-in in ARB_gpu_shader5. v2: Add constant folding support. Reviewed-by: Paul Berry Reviewed-by: Ian Romanick --- src/mesa/program/ir_to_mesa.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/program') diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index f612f41baff..340a4497fdd 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -1492,6 +1492,7 @@ ir_to_mesa_visitor::visit(ir_expression *ir) case ir_binop_vector_extract: case ir_binop_bfm: + case ir_triop_fma: case ir_triop_bfi: case ir_triop_bitfield_extract: case ir_triop_vector_insert: -- cgit v1.2.3