You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,7 @@ It's recommended to name the shader module with the same name as the shader and
55
55
- Uniform and storage buffers can be initialized using the wrong generated Rust struct.
56
56
WGPU will still validate the size of the buffer binding at runtime.
57
57
- Most but not all WGSL types are currently supported.
58
+
- The buffer layout generated for each non builtin parameter for each vertex entry function assumes offset 0 and stride equal to the type's size.
58
59
- Vertex attributes using floating point types in WGSL like `vec2<f32>` are assumed to use float inputs instead of normalized attributes like unorm or snorm integers.
59
60
- All textures are assumed to be filterable and all samplers are assumed to be filtering. This may lead to compatibility issues. This can usually be resolved by requesting the native only feature TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES.
60
61
- All `wgpu::BindingType::Buffer` are assumed to use static offsets. Construct the `wgpu::BindGroup` and `wgpu::BindGroupLayoutDescriptor` manually to use dynamic offsets.
0 commit comments