aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/instructions/extension.cpp
diff options
context:
space:
mode:
authorGPUCode <[email protected]>2022-11-06 21:02:05 +0200
committerGPUCode <[email protected]>2023-05-09 17:18:45 +0300
commite0d528d7bfc638684afebd9b4b0272be8ca80c89 (patch)
tree7c8393737e61a71cd8173f1170e4148a6fff379e /src/instructions/extension.cpp
parentab75463999f4f3291976b079d42d52ee91eebf3f (diff)
downloadsirit-e0d528d7bfc638684afebd9b4b0272be8ca80c89.tar.gz
sirit-e0d528d7bfc638684afebd9b4b0272be8ca80c89.zip
Add missing GLSL instructions
Diffstat (limited to 'src/instructions/extension.cpp')
-rw-r--r--src/instructions/extension.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/instructions/extension.cpp b/src/instructions/extension.cpp
index 9f7aa43..005c189 100644
--- a/src/instructions/extension.cpp
+++ b/src/instructions/extension.cpp
@@ -72,5 +72,9 @@ DEFINE_UNARY(OpFindUMsb, GLSLstd450FindUMsb)
DEFINE_UNARY(OpInterpolateAtCentroid, GLSLstd450InterpolateAtCentroid)
DEFINE_BINARY(OpInterpolateAtSample, GLSLstd450InterpolateAtSample)
DEFINE_BINARY(OpInterpolateAtOffset, GLSLstd450InterpolateAtOffset)
+DEFINE_UNARY(OpNormalize, GLSLstd450Normalize)
+DEFINE_BINARY(OpCross, GLSLstd450Cross)
+DEFINE_UNARY(OpLength, GLSLstd450Length)
+DEFINE_TRINARY(OpFMix, GLSLstd450FMix)
} // namespace Sirit