diff options
author | Dejan Mircevski <deki@google.com> | 2015-08-25 17:41:45 -0400 |
---|---|---|
committer | David Neto <dneto@google.com> | 2015-10-26 12:52:01 -0400 |
commit | a5c171544ba60b42fd2027f3f20f4d55981747ea (patch) | |
tree | 3bd52e0b7cae0b7bec255f60a19b472f51cf6ebb /source/ext_inst.cpp | |
parent | 902e5a8a52244d1a80b4e9e99ab8a0820c511947 (diff) | |
download | spirv-tools-a5c171544ba60b42fd2027f3f20f4d55981747ea.tar.gz |
Add std450 instructions 25-34.
Diffstat (limited to 'source/ext_inst.cpp')
-rw-r--r-- | source/ext_inst.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/ext_inst.cpp b/source/ext_inst.cpp index 123d2575..a788f51c 100644 --- a/source/ext_inst.cpp +++ b/source/ext_inst.cpp @@ -29,6 +29,16 @@ static const spv_ext_inst_desc_t glslStd450Entries[] = { { GL450Inst(Asinh), {SPV_OPERAND_TYPE_ID}, }, { GL450Inst(Acosh), {SPV_OPERAND_TYPE_ID}, }, { GL450Inst(Atanh), {SPV_OPERAND_TYPE_ID}, }, + { GL450Inst(Atan2), {SPV_OPERAND_TYPE_ID, SPV_OPERAND_TYPE_ID}, }, + { GL450Inst(Pow), {SPV_OPERAND_TYPE_ID, SPV_OPERAND_TYPE_ID}, }, + { GL450Inst(Exp), {SPV_OPERAND_TYPE_ID}, }, + { GL450Inst(Log), {SPV_OPERAND_TYPE_ID}, }, + { GL450Inst(Exp2), {SPV_OPERAND_TYPE_ID}, }, + { GL450Inst(Log2), {SPV_OPERAND_TYPE_ID}, }, + { GL450Inst(Sqrt), {SPV_OPERAND_TYPE_ID}, }, + { "Inversesqrt", GLSLstd450::GLSLstd450InverseSqrt, {SPV_OPERAND_TYPE_ID}, }, + { GL450Inst(Determinant), {SPV_OPERAND_TYPE_ID}, }, + { "Inverse", GLSLstd450::GLSLstd450MatrixInverse, {SPV_OPERAND_TYPE_ID}, }, // TODO: Add remaining GLSL.std.450 instructions }; |