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>
This commit is contained in:
Matt Turner
2013-04-23 17:19:06 -07:00
parent 6829c18609
commit d55c543c36
6 changed files with 22 additions and 0 deletions

View File

@@ -515,6 +515,7 @@ static const char *const operator_strs[] = {
"bfm",
"ubo_load",
"vector_extract",
"fma",
"lrp",
"bfi",
"bitfield_extract",