diff options
| author | Yong He <yonghe@outlook.com> | 2024-02-02 22:04:40 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-02 22:04:40 -0800 |
| commit | c15e7ade4e27e1649d5b98f5854e9e52bb9e60ae (patch) | |
| tree | 22082fda85b2b25eec36da8c4505de7b6cb987fc /source/slang/slang-compiler.cpp | |
| parent | a67cb0609587c230746b52567ff5775cab215220 (diff) | |
Atomics+Wave ops intrinsics fixes. (#3542)
* Fix atomics intrinsics, increase kMaxDescriptorSets.
* Add SPIRVASM to known non-differentiable insts.
* Support fp16 wave ops when targeting glsl.
* Fixes.
* Fix vk validation errors.
* Fix.
* Add to allowed failures.
Diffstat (limited to 'source/slang/slang-compiler.cpp')
| -rw-r--r-- | source/slang/slang-compiler.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/slang/slang-compiler.cpp b/source/slang/slang-compiler.cpp index 491655643..fbdb91ac7 100644 --- a/source/slang/slang-compiler.cpp +++ b/source/slang/slang-compiler.cpp @@ -2329,6 +2329,17 @@ namespace Slang return false; } + bool CodeGenContext::shouldSkipSPIRVValidation() + { + if (auto endToEndReq = isEndToEndCompile()) + { + if (endToEndReq->m_skipSPIRVValidation) + return true; + } + + return false; + } + bool CodeGenContext::shouldDumpIR() { if (getTargetReq()->getTargetFlags() & SLANG_TARGET_FLAG_DUMP_IR) |
