summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-emit.cpp
diff options
context:
space:
mode:
authorArielG-NV <159081215+ArielG-NV@users.noreply.github.com>2024-07-16 11:35:46 -0400
committerGitHub <noreply@github.com>2024-07-16 08:35:46 -0700
commit12ecc43ae07035d951beb531058ba27bdfb9c0de (patch)
treeb1ae149ff81711776ad10d4ff8fd708ac9fea314 /source/slang/slang-emit.cpp
parent6bcf92d28d919eba7607c93c8581966875d2add6 (diff)
SCCP instead of CFG since SCCP removes code of unused branches, not CFG (#4640)
Diffstat (limited to 'source/slang/slang-emit.cpp')
-rw-r--r--source/slang/slang-emit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp
index d3f6ebd8d..cb8460173 100644
--- a/source/slang/slang-emit.cpp
+++ b/source/slang/slang-emit.cpp
@@ -911,7 +911,7 @@ Result linkAndOptimizeIR(
legalizeVectorTypes(irModule, sink);
// Legalize `__isTextureAccess` and related.
- legalizeIsTextureAccess(irModule);
+ legalizeIsTextureAccess(irModule, sink);
// Once specialization and type legalization have been performed,
// we should perform some of our basic optimization steps again,