Skip to content

Commit aa6c516

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

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
@@ -30,6 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3030
## [Unreleased]
3131

3232
### Changed 🛠
33+
- [PR#1118](https://github.com/EmbarkStudios/rust-gpu/pull/1118) update rspirv to 0.12
34+
- `bary_coord_nv`/`bary_coord_no_persp_nv` have their `_nv` suffix omitted
3335
- [PR#1127](https://github.com/EmbarkStudios/rust-gpu/pull/1127) updated `spirv-tools` to `0.10.0`, which follows `vulkan-sdk-1.3.275`
3436
- [PR#1101](https://github.com/EmbarkStudios/rust-gpu/pull/1101) added `ignore` and `no_run` to documentation to make `cargo test` pass
3537
- [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
@@ -118,8 +118,8 @@ const BUILTINS: &[(&str, BuiltIn)] = {
118118
("layer_per_view_nv", LayerPerViewNV),
119119
("mesh_view_count_nv", MeshViewCountNV),
120120
("mesh_view_indices_nv", MeshViewIndicesNV),
121-
("bary_coord_nv", BaryCoordNV),
122-
("bary_coord_no_persp_nv", BaryCoordNoPerspNV),
121+
("bary_coord", BaryCoordKHR),
122+
("bary_coord_no_persp", BaryCoordNoPerspKHR),
123123
("frag_size_ext", FragSizeEXT),
124124
("frag_invocation_count_ext", FragInvocationCountEXT),
125125
("launch_id", BuiltIn::LaunchIdKHR),

0 commit comments

Comments
 (0)