mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-13 23:26:24 +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
@@ -161,7 +161,7 @@ void frame() {
|
||||
{
|
||||
dawn::RenderPassEncoder pass = encoder.BeginRenderPass(&renderPass);
|
||||
pass.SetPipeline(pipeline);
|
||||
pass.SetBindGroup(0, bindGroup, 0, nullptr);
|
||||
pass.SetBindGroup(0, bindGroup);
|
||||
pass.SetVertexBuffers(0, 1, &vertexBuffer, vertexBufferOffsets);
|
||||
pass.SetIndexBuffer(indexBuffer, 0);
|
||||
pass.DrawIndexed(3, 1, 0, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user