Remove BindGroupBuilder::SetUsage

BindGroup usage isn't something that's part of WebGPU's sketch.idl and
it might never exist. Remove it to simplify the migration of bindgroup
to descriptor.

Change-Id: I21e0a98eb60434d4009e748cd9afcbf89edd7e6a
This commit is contained in:
Corentin Wallez
2018-08-20 17:37:57 +02:00
committed by Corentin Wallez
parent df6710358b
commit f35eff3fde
13 changed files with 4 additions and 52 deletions

View File

@@ -250,7 +250,6 @@ void initSim() {
for (uint32_t i = 0; i < 2; ++i) {
updateBGs[i] = device.CreateBindGroupBuilder()
.SetLayout(bgl)
.SetUsage(dawn::BindGroupUsage::Frozen)
.SetBufferViews(0, 1, &updateParamsView)
.SetBufferViews(1, 1, &views[i])
.SetBufferViews(2, 1, &views[(i + 1) % 2])