mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-01 12:11:34 +00:00
Roll third_party/googletest/ e588eb1ff..482ac6ee6 (8 commits)e588eb1ff9..482ac6ee63
$ git log e588eb1ff..482ac6ee6 --date=short --no-merges --format='%ad %ae %s' 2020-03-17 absl-team Googletest export 2020-03-16 dmauro Googletest export 2020-03-13 absl-team Googletest export 2020-03-06 absl-team Googletest export 2020-03-03 absl-team Googletest export 2020-03-03 absl-team Googletest export 2020-02-21 johan.mabille Fixed warnings 2020-01-29 krystian.kuzniarek remove a dead reference to the Autotools script Roll third_party/spirv-headers/ 0a7fc4525..f8bf11a02 (9 commits)0a7fc45259..f8bf11a025
$ git log 0a7fc4525..f8bf11a02 --date=short --no-merges --format='%ad %ae %s' 2020-03-17 dkoch Add shadercalls scope 2020-03-03 ntorosda Added ray flags, primitive culling flags, queries 2020-03-17 cepheus Non-functional: Update header build to match Khronos spec. builder. 2020-02-14 alele Update headers for SPV_KHR_ray_tracing. 2020-03-13 jmadill Add missing header to BUILD.gn. 2020-03-09 stevenperron Export NonSemanticDebugPrintf.h in bazel build 2020-03-02 jbolz Add NonSemantic.DebugPrintf JSON/header 2020-03-02 jbolz Fix max enum value 2020-01-01 xanto Also propagate SPIRV-Headers version to CMakeLists.txt Roll third_party/spirv-tools/ e1688b60c..60104cd97 (18 commits)e1688b60ca..60104cd974
$ git log e1688b60c..60104cd97 --date=short --no-merges --format='%ad %ae %s' 2020-03-19 dneto Add opt::Operand::AsCString and AsString (#3240) 2020-03-20 lujiao Add RayQueryProvisionalKHR to opt types (#3239) 2020-03-17 ehsannas Whitelist SPV_EXT_demote_to_helper_invocation for opt passes (#3236) 2020-03-17 dgkoch Add support for KHR_ray_{query,tracing} extensions (#3235) 2020-03-16 jmadill Roll external/spirv-headers/ 30ef660ce..a17e17e36 (1 commit) (#3230) 2020-03-13 vasniktel Update dependencies (#3228) 2020-03-12 greg Instrument: Debug Printf support (#3215) 2020-03-12 vasniktel spirv-fuzz: Support OpPhi when adding dead break and continue (#3225) 2020-03-12 afdx spirv-fuzz: Fix vector width issue in 'add equation instructions' pass (#3223) 2020-03-09 jbolz Allow sampledimage types as operand of OpCopyObject (#3222) 2020-03-09 vasniktel spirv-fuzz: Remove duplicated functionality (#3220) 2020-03-09 andreperezmaselco.developer spirv-fuzz: Allow OpPhi operand to be replaced with a composite synonym (#3221) 2020-03-08 andreperezmaselco.developer spirv-fuzz: Add toggle access chain instruction transformation (#3211) 2020-03-08 vasniktel spirv-fuzz: Add fuzzer pass to permute function parameters (#3212) 2020-03-06 afdx spirv-fuzz: Use better function name (#3207) 2020-03-05 afdx spirv-fuzz: Add swap commutable operands transformation (#3205) 2020-03-04 afdx spirv-fuzz: Fuzzer pass to add equation instructions (#3202) 2020-03-04 andreperezmaselco.developer Refactor FuzzerPass::ApplyTransformation code duplication. (#3206) Created with: roll-dep third_party/googletest third_party/spirv-headers third_party/spirv-tools Change-Id: I7f0e82cf5bbd38f6473757c74689ac35d23e53c1 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/17342 Reviewed-by: dan sinclair <dsinclair@google.com>
Tint
Tint is a compiler for the WebGPU Shader Language (WGSL).
This is not an officially supported Google product.
Requirements
- Git
- CMake (3.10.2 or later)
- Ninja (or other build tool)
- Python, for fetching dependencies
Build options
TINT_BUILD_SPV_READER
: enable the SPIR-V input reader (off by default)TINT_BUILD_WGSL_READER
: enable the WGSL input reader (on by default)TINT_BUILD_SPV_WRITER
: enable the SPIR-V output writer (on by default)TINT_BUILD_WGSL_WRITER
: enable the WGSL output writer (on by default)
Building
Tint uses Chromium dependency management so you need to install depot_tools and add it to your PATH.
Getting source & dependencies
# Clone the repo as "tint"
git clone https://dawn.googlesource.com/tint tint && cd tint
# Bootstrap the gclient configuration
cp standalone.gclient .gclient
# Fetch external dependencies and toolchains with gclient
gclient sync
Compiling using CMake + Ninja
mkdir -p out/Debug
cd out/Debug
cmake -GNinja ../..
ninja # or autoninja
Compiling using CMake + make
mkdir -p out/Debug
cd out/Debug
cmake ../..
make # -j N for N-way parallel build
Issues
Please file any issues or feature requests at https://bugs.chromium.org/p/tint/issues/entry
Contributing
Please see the CONTRIBUTING and CODE_OF_CONDUCT files on how to contribute to Tint.
Description
CMake-only fork of https://dawn.googlesource.com/dawn with cleaned, vendored dependencies
Languages
C++
59.9%
HLSL
18.2%
GLSL
17.3%
Go
2.1%
Objective-C++
0.8%
Other
1.6%