From c15e7ade4e27e1649d5b98f5854e9e52bb9e60ae Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 2 Feb 2024 22:04:40 -0800 Subject: 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. --- source/slang/slang-compiler.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'source/slang/slang-compiler.cpp') 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) -- cgit v1.2.3