mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 21:47:47 +00:00
Fix handling of .spvasm inputs
BUG=tint:207 Change-Id: Ic429a909d092423908409678b7256bd88de10a99 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/26760 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
5e7ef27ca7
commit
a532ac55d9
@@ -77,11 +77,11 @@ namespace spirv {
|
||||
|
||||
namespace {
|
||||
|
||||
// Input SPIR-V needs only to conform to Vulkan 1.0 requirements.
|
||||
// Input SPIR-V needs only to conform to Vulkan 1.1 requirements.
|
||||
// The combination of the SPIR-V reader and the semantics of WGSL
|
||||
// tighten up the code so that the output of the SPIR-V *writer*
|
||||
// will satisfy SPV_ENV_WEBGPU_0 validation.
|
||||
const spv_target_env kInputEnv = SPV_ENV_VULKAN_1_0;
|
||||
const spv_target_env kInputEnv = SPV_ENV_VULKAN_1_1;
|
||||
|
||||
// A FunctionTraverser is used to compute an ordering of functions in the
|
||||
// module such that callees precede callers.
|
||||
|
||||
Reference in New Issue
Block a user