mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 22:33:49 +00:00
Give wgpu_test::compute_pass_ownership
buffers unique labels.
Give each buffer in the `wgpu_test::compute_pass_ownership::compute_pass_resource_ownership` test a unique label, for easier debugging.
This commit is contained in:
parent
93c6fbe8ba
commit
b9b7050bb9
@ -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(),
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user