From 38ee172a228dd28550aa7b7c4c6ff1532ad4d35b Mon Sep 17 00:00:00 2001 From: Austin Eng Date: Mon, 5 Aug 2019 18:30:11 +0000 Subject: [PATCH] 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 Reviewed-by: Kai Ninomiya --- examples/Animometer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Animometer.cpp b/examples/Animometer.cpp index da5f091882..a9d22ad6c8 100644 --- a/examples/Animometer.cpp +++ b/examples/Animometer.cpp @@ -138,7 +138,7 @@ void init() { ubo = device.CreateBuffer(&bufferDesc); bindGroup = - utils::MakeBindGroup(device, bgl, {{0, ubo, 0, kNumTriangles * sizeof(ShaderData)}}); + utils::MakeBindGroup(device, bgl, {{0, ubo, 0, sizeof(ShaderData)}}); } void frame() {