mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Update README after the make -> xtask transition (#2401)
This commit is contained in:
17
README.md
17
README.md
@@ -74,14 +74,13 @@ default = ["spv-out"] #TEMP!
|
||||
This allows IDE basic checks to report errors there, unless your IDE is sufficiently configurable already.
|
||||
|
||||
Finally, when changes to the snapshots are made, we should verify that the produced shaders
|
||||
are indeed valid for the target platforms they are compiled for. We automate this with `Makefile`:
|
||||
are indeed valid for the target platforms they are compiled for:
|
||||
```bash
|
||||
make validate-spv # for Vulkan shaders, requires SPIRV-Tools installed
|
||||
make validate-msl # for Metal shaders, requires XCode command-line tools installed
|
||||
make validate-glsl # for OpenGL shaders, requires GLSLang installed
|
||||
make validate-dot # for dot files, requires GraphViz installed
|
||||
make validate-wgsl # for WGSL shaders
|
||||
make validate-hlsl-dxc # for HLSL shaders via DXC
|
||||
make validate-hlsl-fxc # for HLSL shaders via FXC
|
||||
# Note: HLSL Make targets make use of the "sh" shell. This is not the default shell in Windows.
|
||||
cargo xtask validate spv # for Vulkan shaders, requires SPIRV-Tools installed
|
||||
cargo xtask validate msl # for Metal shaders, requires XCode command-line tools installed
|
||||
cargo xtask validate glsl # for OpenGL shaders, requires GLSLang installed
|
||||
cargo xtask validate dot # for dot files, requires GraphViz installed
|
||||
cargo xtask validate wgsl # for WGSL shaders
|
||||
cargo xtask validate hlsl dxc # for HLSL shaders via DXC
|
||||
cargo xtask validate hlsl fxc # for HLSL shaders via FXC
|
||||
```
|
||||
|
||||
@@ -17,6 +17,7 @@ Commands:
|
||||
fxc
|
||||
msl
|
||||
spv
|
||||
wgsl
|
||||
|
||||
Options:
|
||||
-h, --help Print help
|
||||
|
||||
Reference in New Issue
Block a user