Skip to content

Commit eec4db5

Browse files
committed
update rspirv: replace bary_coord_nv with bary_coord using khr extension
1 parent c907b79 commit eec4db5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3535
- [PR#13](https://github.com/Rust-GPU/rust-gpu/pull/13) allow cargo features to be passed to the shader crate
3636
- [PR#12](https://github.com/rust-gpu/rust-gpu/pull/12) updated toolchain to `nightly-2024-04-24`
3737
- [PR#9](https://github.com/Rust-GPU/rust-gpu/pull/9) relaxed `glam` version requirements (`>=0.22, <=0.29`)
38+
- [PR#1118](https://github.com/EmbarkStudios/rust-gpu/pull/1118) update rspirv to 0.12
39+
- `bary_coord_nv`/`bary_coord_no_persp_nv` have their `_nv` suffix omitted
3840
- [PR#1127](https://github.com/EmbarkStudios/rust-gpu/pull/1127) updated `spirv-tools` to `0.10.0`, which follows `vulkan-sdk-1.3.275`
3941
- [PR#1101](https://github.com/EmbarkStudios/rust-gpu/pull/1101) added `ignore` and `no_run` to documentation to make `cargo test` pass
4042
- [PR#1112](https://github.com/EmbarkStudios/rust-gpu/pull/1112) updated wgpu and winit in example runners

crates/rustc_codegen_spirv/src/symbols.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ const BUILTINS: &[(&str, BuiltIn)] = {
116116
("layer_per_view_nv", LayerPerViewNV),
117117
("mesh_view_count_nv", MeshViewCountNV),
118118
("mesh_view_indices_nv", MeshViewIndicesNV),
119-
("bary_coord_nv", BaryCoordNV),
120-
("bary_coord_no_persp_nv", BaryCoordNoPerspNV),
119+
("bary_coord", BaryCoordKHR),
120+
("bary_coord_no_persp", BaryCoordNoPerspKHR),
121121
("frag_size_ext", FragSizeEXT),
122122
("frag_invocation_count_ext", FragInvocationCountEXT),
123123
("launch_id", BuiltIn::LaunchIdKHR),

0 commit comments

Comments
 (0)