Skip to content

Commit 496cf9d

Browse files
committed
update rspirv: replace bary_coord_nv with bary_coord using khr extension
1 parent ff93116 commit 496cf9d

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#1112](https://github.com/EmbarkStudios/rust-gpu/pull/1112) updated wgpu and winit in example runners
3436
- [PR#1100](https://github.com/EmbarkStudios/rust-gpu/pull/1100) updated toolchain to `nightly-2023-09-30`
3537
- [PR#1091](https://github.com/EmbarkStudios/rust-gpu/pull/1091) updated toolchain to `nightly-2023-08-29`

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)