aboutsummaryrefslogtreecommitdiff
path: root/source/ext_inst.cpp
diff options
context:
space:
mode:
authorDavid Neto <dneto@google.com>2016-02-16 19:26:13 -0500
committerDavid Neto <dneto@google.com>2016-02-17 13:35:13 -0500
commit58c4e1d57af8c2cf83cb1f6b0a58c0b960d5fa15 (patch)
treee406340bcef5bf4a8ecf7b9b408fc60af9c33e3d /source/ext_inst.cpp
parent1d9a876f959ddd7d1c1d39047f021a635cd58f87 (diff)
downloadspirv-tools-58c4e1d57af8c2cf83cb1f6b0a58c0b960d5fa15.tar.gz
Add GLSL instructions NMin, NMax, NClamp
These appear first in GLSL.std.450 in 1.0 Rev3
Diffstat (limited to 'source/ext_inst.cpp')
-rw-r--r--source/ext_inst.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/ext_inst.cpp b/source/ext_inst.cpp
index 1d5eabc7..e0317e25 100644
--- a/source/ext_inst.cpp
+++ b/source/ext_inst.cpp
@@ -120,6 +120,9 @@ static const spv_ext_inst_desc_t glslStd450Entries[] = {
{GLSL450Inst1(InterpolateAtCentroid)},
{GLSL450Inst2(InterpolateAtSample)},
{GLSL450Inst2(InterpolateAtOffset)},
+ {GLSL450Inst2(NMin)},
+ {GLSL450Inst2(NMax)},
+ {GLSL450Inst2(NClamp)},
};
static const spv_ext_inst_desc_t openclEntries[] = {