mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
Make the dynamicOffsets optional in SetBindGroup.
BUG=dawn:22 Change-Id: I9d032d9be16a483046edc6055b86e61ae08118e4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12023 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
16d20837cc
commit
70c8c10571
@@ -269,7 +269,7 @@ dawn::CommandBuffer createCommandBuffer(const dawn::Texture backbuffer, size_t i
|
||||
{
|
||||
dawn::ComputePassEncoder pass = encoder.BeginComputePass();
|
||||
pass.SetPipeline(updatePipeline);
|
||||
pass.SetBindGroup(0, updateBGs[i], 0, nullptr);
|
||||
pass.SetBindGroup(0, updateBGs[i]);
|
||||
pass.Dispatch(kNumParticles, 1, 1);
|
||||
pass.EndPass();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user