glsl: Add support for new fma built-in in ARB_gpu_shader5.
authorMatt Turner <mattst88@gmail.com>
Wed, 24 Apr 2013 00:19:06 +0000 (17:19 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 27 Aug 2013 22:03:30 +0000 (15:03 -0700)
commitd55c543c3637fec784518f34b1f12e7a73be2281
tree1a15ea60c074d916df2971af7803426ac08d0672
parent6829c18609fc3c979133b462173141dd7dfd09c3
glsl: Add support for new fma built-in in ARB_gpu_shader5.

v2: Add constant folding support.
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ir.cpp
src/glsl/ir.h
src/glsl/ir_constant_expression.cpp
src/glsl/ir_validate.cpp
src/mesa/program/ir_to_mesa.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp