mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 21:47:47 +00:00
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:
committed by
Corentin Wallez
parent
df6710358b
commit
f35eff3fde
@@ -299,8 +299,8 @@ namespace {
|
||||
.GetResult();
|
||||
|
||||
auto bindGroupBuilder = device.CreateBindGroupBuilder();
|
||||
bindGroupBuilder.SetLayout(bindGroupLayout)
|
||||
.SetUsage(dawn::BindGroupUsage::Frozen);
|
||||
bindGroupBuilder.SetLayout(bindGroupLayout);
|
||||
|
||||
if (hasTexture) {
|
||||
const auto& textureView = textures[iTextureID];
|
||||
const auto& iSamplerID = scene.textures[iTextureID].sampler;
|
||||
|
||||
Reference in New Issue
Block a user