diff --git a/release-content/migration-guides/wgpu_25.md b/release-content/migration-guides/wgpu_25.md index dfbead7e28..3f30a4d593 100644 --- a/release-content/migration-guides/wgpu_25.md +++ b/release-content/migration-guides/wgpu_25.md @@ -14,7 +14,8 @@ following changes to the default bind group numbering have been made in 3d: - `@group(3)` material binding resources Most users who are not using mid-level render APIs will simply need to switch their material bind groups -from `@group(2)` to `@group(3)`. +from `@group(2)` to `@group(#{MATERIAL_BIND_GROUP})`. The `MATERIAL_BIND_GROUP` shader def has been added +to ensure backwards compatibility in the event the bind group numbering changes again in the future. Exported float constants from shaders without an explicit type declaration like `const FOO = 1.0;` are no longer supported and must be explicitly typed like `const FOO: f32 = 1.0;`.