summaryrefslogtreecommitdiff
path: root/source/slang-glslang/slang-glslang.cpp
diff options
context:
space:
mode:
authorGangzheng Tong <tonggangzheng@gmail.com>2025-04-25 10:39:45 -0700
committerGitHub <noreply@github.com>2025-04-25 10:39:45 -0700
commitd84aeeffdba388aec7a781c35973bf404d37fe80 (patch)
treec3f3f05a5e1b6bb08967113e7276669e9e39e5fa /source/slang-glslang/slang-glslang.cpp
parentba75ae14e714c8bd7558f625ff45fb9cfc2292b3 (diff)
Update spirv-tools to for SDK v2025.2 (#6893)
* Update spirv-tools to for SDK v2025.2 Fixes: #6850 * bump spirv version to 1.4 for op linkage * skip-spirv-validation for coop mat * add skip-spirv-validation option to slang session desc * use SPV_ENV_UNIVERSAL_1_6 for spirv-tool env target Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> --------- Co-authored-by: slangbot <ellieh+slangbot@nvidia.com> Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'source/slang-glslang/slang-glslang.cpp')
-rw-r--r--source/slang-glslang/slang-glslang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang-glslang/slang-glslang.cpp b/source/slang-glslang/slang-glslang.cpp
index 8d9f64fd5..e830fb15a 100644
--- a/source/slang-glslang/slang-glslang.cpp
+++ b/source/slang-glslang/slang-glslang.cpp
@@ -172,7 +172,7 @@ extern "C"
#endif
bool glslang_validateSPIRV(const uint32_t* contents, int contentsSize)
{
- spv_target_env target_env = SPV_ENV_VULKAN_1_3;
+ spv_target_env target_env = SPV_ENV_UNIVERSAL_1_6;
spvtools::ValidatorOptions options;
options.SetScalarBlockLayout(true);