mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
naga-cli: forward '--keep-coordinate-space' flag to GLSL backend (#7206)
This commit is contained in:
parent
7cbad8e380
commit
dfb09c260f
@ -180,6 +180,7 @@ By @brodycj in [#6924](https://github.com/gfx-rs/wgpu/pull/6924).
|
||||
- Fix some instances of functions which have a return type but don't return a value being incorrectly validated. By @jamienicol in [#7013](https://github.com/gfx-rs/wgpu/pull/7013).
|
||||
- Allow abstract expressions to be used in WGSL function return statements. By @jamienicol in [#7035](https://github.com/gfx-rs/wgpu/pull/7035).
|
||||
- Error if structs have two fields with the same name. By @SparkyPotato in [#7088](https://github.com/gfx-rs/wgpu/pull/7088).
|
||||
- Forward '--keep-coordinate-space' flag to GLSL backend in naga-cli. By @cloone8 in [#7206](https://github.com/gfx-rs/wgpu/pull/7206).
|
||||
|
||||
#### General
|
||||
|
||||
|
||||
@ -446,6 +446,10 @@ fn run() -> anyhow::Result<()> {
|
||||
naga::back::spv::WriterFlags::ADJUST_COORDINATE_SPACE,
|
||||
!params.keep_coordinate_space,
|
||||
);
|
||||
params.glsl.writer_flags.set(
|
||||
naga::back::glsl::WriterFlags::ADJUST_COORDINATE_SPACE,
|
||||
!params.keep_coordinate_space,
|
||||
);
|
||||
|
||||
if args.bulk_validate {
|
||||
return bulk_validate(args, ¶ms);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user