Skip to content

Commit

Permalink
Fix error message in create_render_pass (#6041)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-wong1 authored Jul 26, 2024
1 parent 3166d37 commit 339ecf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Bottom level categories:
- Fix function for checking bind compatibility to error instead of panic. By @sagudev [#6012](https://github.com/gfx-rs/wgpu/pull/6012)
- Deduplicate bind group layouts that are created from pipelines with "auto" layouts. By @teoxoy [#6049](https://github.com/gfx-rs/wgpu/pull/6049)
- Fix crash when dropping the surface after the device. By @wumpf in [#6052](https://github.com/gfx-rs/wgpu/pull/6052)
- Fix error message that is thrown in create_render_pass to no longer say `compute_pass`. By @matthew-wong1 [#6041](https://github.com/gfx-rs/wgpu/pull/6041)

### Dependency Updates

Expand Down
2 changes: 1 addition & 1 deletion wgpu/src/backend/wgpu_core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1975,7 +1975,7 @@ impl crate::Context for ContextWgpuCore {
&encoder_data.error_sink,
cause,
desc.label,
"CommandEncoder::begin_compute_pass",
"CommandEncoder::begin_render_pass",
);
}

Expand Down

0 comments on commit 339ecf3

Please sign in to comment.