mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-13 10:51:35 +00:00
This makes SPIRV ingestion always go through a SPIRV->WGSL step first. This will be used to make sure that path works correctly on existing WebGPU SPIRV sites so we're confident the SPIRV->WGSL translation will work when compiled to WASM. Bug: dawn:960 Change-Id: I17efd8c64d9d60ff033ba89b8fff9295e66524ef Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/56080 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: Corentin Wallez <cwallez@chromium.org>
23 lines
876 B
Plaintext
23 lines
876 B
Plaintext
# Copyright 2020 The Dawn Authors.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
tint_root_dir = "//third_party/tint"
|
|
tint_spirv_tools_dir = "//third_party/vulkan-deps/spirv-tools/src"
|
|
tint_spirv_headers_dir = "//third_party/vulkan-deps/spirv-headers/src"
|
|
|
|
tint_build_spv_reader = true
|
|
tint_build_spv_writer = true
|
|
tint_build_wgsl_reader = true
|
|
tint_build_wgsl_writer = true
|