Skip to content

Commit

Permalink
Fix WebGPU build from gfx-rs#3546
Browse files Browse the repository at this point in the history
  • Loading branch information
tangmi committed Dec 28, 2020
1 parent 68f945d commit 7b5b29a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/backend/webgpu/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ impl hal::command::CommandBuffer<Backend> for CommandBuffer {
_queries: Range<query::Id>,
_buffer: &<Backend as hal::Backend>::Buffer,
_offset: buffer::Offset,
_stride: buffer::Offset,
_stride: buffer::Stride,
_flags: query::ResultFlags,
) {
todo!()
Expand Down
2 changes: 1 addition & 1 deletion src/backend/webgpu/src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ impl hal::device::Device<Backend> for Device {
_pool: &<Backend as hal::Backend>::QueryPool,
_queries: Range<query::Id>,
_data: &mut [u8],
_stride: buffer::Offset,
_stride: buffer::Stride,
_flags: query::ResultFlags,
) -> Result<bool, WaitError> {
todo!()
Expand Down

0 comments on commit 7b5b29a

Please sign in to comment.