summaryrefslogtreecommitdiffstats
path: root/src/mesa/program
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2013-04-23 17:19:06 -0700
committerMatt Turner <[email protected]>2013-08-27 15:03:30 -0700
commitd55c543c3637fec784518f34b1f12e7a73be2281 (patch)
tree1a15ea60c074d916df2971af7803426ac08d0672 /src/mesa/program
parent6829c18609fc3c979133b462173141dd7dfd09c3 (diff)
glsl: Add support for new fma built-in in ARB_gpu_shader5.
v2: Add constant folding support. Reviewed-by: Paul Berry <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/program')
-rw-r--r--src/mesa/program/ir_to_mesa.cpp1
1 files changed, 1 insertions, 0 deletions
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: