Merge pull request #262 from arifd/master

small fixes
pull/263/head^2
sotrh 3 years ago committed by GitHub
commit fbce72a3ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -100,7 +100,7 @@ We'll be adding more fields to `VertexOutput` later, so we might as well start u
</div>
Next up the fragment shader. Still in `shader.wgsl` add the follow:
Next up the fragment shader. Still in `shader.wgsl` add the following:
```wgsl
// Fragment shader

@ -284,7 +284,7 @@ async fn new(...) {
// ...
let render_pipeline_layout = device.create_pipeline_layout(
&wgpu::PipelineLayoutDescriptor {
label: Some("Render Pipeline Layout"), // NEW!
label: Some("Render Pipeline Layout"),
bind_group_layouts: &[&texture_bind_group_layout], // NEW!
push_constant_ranges: &[],
}

Loading…
Cancel
Save