summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-cpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit-cpp.h')
-rw-r--r--source/slang/slang-emit-cpp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/slang/slang-emit-cpp.h b/source/slang/slang-emit-cpp.h
index f15a302e5..0e182818d 100644
--- a/source/slang/slang-emit-cpp.h
+++ b/source/slang/slang-emit-cpp.h
@@ -38,7 +38,8 @@ just constructXXXFromScalar. Would be good if there was a suitable name to encom
x(Sub, "-", 2) \
x(Lsh, "<<", 2) \
x(Rsh, ">>", 2) \
- x(Mod, "%", 2) \
+ x(IRem, "%", 2) \
+ x(FRem, "remainder", 2) \
\
x(Eql, "==", 2) \
x(Neq, "!=", 2) \