Skip to content

Commit

Permalink
Give wgpu_test::compute_pass_ownership buffers unique labels.
Browse files Browse the repository at this point in the history
Give each buffer in the
`wgpu_test::compute_pass_ownership::compute_pass_resource_ownership`
test a unique label, for easier debugging.
  • Loading branch information
jimblandy authored and teoxoy committed Jun 13, 2024
1 parent 93c6fbe commit b9b7050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests/compute_pass_ownership.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ fn resource_setup(ctx: &TestingContext) -> ResourceSetup {
let indirect_buffer = ctx
.device
.create_buffer_init(&wgpu::util::BufferInitDescriptor {
label: Some("gpu_buffer"),
label: Some("indirect_buffer"),
usage: wgpu::BufferUsages::INDIRECT,
contents: wgpu::util::DispatchIndirectArgs { x: 1, y: 1, z: 1 }.as_bytes(),
});
Expand Down

0 comments on commit b9b7050

Please sign in to comment.