summaryrefslogtreecommitdiff
path: root/source/slang/lower-to-ir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/lower-to-ir.cpp')
-rw-r--r--source/slang/lower-to-ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/lower-to-ir.cpp b/source/slang/lower-to-ir.cpp
index 8f9335c0a..b0ec6cbf0 100644
--- a/source/slang/lower-to-ir.cpp
+++ b/source/slang/lower-to-ir.cpp
@@ -623,7 +623,7 @@ LoweredValInfo emitCallToDeclRef(
{
auto op = getIntrinsicOp(funcDecl, intrinsicOpModifier);
- if (Int(op) < 0)
+ if (isPseudoOp(op))
{
switch (op)
{