Fix dynamic bind group size in Animometer example

Change-Id: I2a916059d1f5fe83d2d4d8db60d4b74e553e2889
Bug: dawn:55
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/9720
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
Austin Eng 2019-08-05 18:30:11 +00:00 committed by Commit Bot service account
parent ccf805046a
commit 38ee172a22
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ void init() {
ubo = device.CreateBuffer(&bufferDesc); ubo = device.CreateBuffer(&bufferDesc);
bindGroup = bindGroup =
utils::MakeBindGroup(device, bgl, {{0, ubo, 0, kNumTriangles * sizeof(ShaderData)}}); utils::MakeBindGroup(device, bgl, {{0, ubo, 0, sizeof(ShaderData)}});
} }
void frame() { void frame() {