diff options
author | Lei Zhang <antiagainst@google.com> | 2015-08-27 13:44:31 -0400 |
---|---|---|
committer | David Neto <dneto@google.com> | 2015-10-26 12:52:01 -0400 |
commit | 3cb589639d4beebf4ca6a810b1ab898a2741c0b8 (patch) | |
tree | e6bb67ef86482dab97972140c8db2b92e4efa357 /source/ext_inst.cpp | |
parent | 4799482787eb69fd2ca8c71b5ff9e2af62fdb0b0 (diff) | |
download | spirv-tools-3cb589639d4beebf4ca6a810b1ab898a2741c0b8.tar.gz |
Add GLSL std450 extended instruction 65-71.
Diffstat (limited to 'source/ext_inst.cpp')
-rw-r--r-- | source/ext_inst.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/ext_inst.cpp b/source/ext_inst.cpp index cc3bae1c..a971694a 100644 --- a/source/ext_inst.cpp +++ b/source/ext_inst.cpp @@ -72,6 +72,15 @@ static const spv_ext_inst_desc_t glslStd450Entries[] = { {GLSL450Inst2(Frexp)}, {GLSL450Inst1(FrexpStruct)}, {GLSL450Inst2(Ldexp)}, + {GLSL450Inst1(Length)}, + {GLSL450Inst2(Distance)}, + {GLSL450Inst2(Cross)}, + {GLSL450Inst1(Normalize)}, + // clang-format off + {"Faceforward", GLSLstd450::GLSLstd450FaceForward, {SPV_OPERAND_TYPE_ID, SPV_OPERAND_TYPE_ID, SPV_OPERAND_TYPE_ID}}, + // clang-format on + {GLSL450Inst2(Reflect)}, + {GLSL450Inst3(Refract)}, // TODO: Add remaining GLSL.std.450 instructions }; |