mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 08:57:26 +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
@@ -37,7 +37,6 @@ TEST_F(BindGroupValidationTest, BufferViewOffset) {
|
||||
|
||||
auto bindGroup = AssertWillBeSuccess(device.CreateBindGroupBuilder())
|
||||
.SetLayout(layout)
|
||||
.SetUsage(dawn::BindGroupUsage::Frozen)
|
||||
.SetBufferViews(0, 1, &bufferView)
|
||||
.GetResult();
|
||||
}
|
||||
@@ -50,7 +49,6 @@ TEST_F(BindGroupValidationTest, BufferViewOffset) {
|
||||
|
||||
auto bindGroup = AssertWillBeSuccess(device.CreateBindGroupBuilder())
|
||||
.SetLayout(layout)
|
||||
.SetUsage(dawn::BindGroupUsage::Frozen)
|
||||
.SetBufferViews(0, 1, &bufferView)
|
||||
.GetResult();
|
||||
}
|
||||
@@ -63,7 +61,6 @@ TEST_F(BindGroupValidationTest, BufferViewOffset) {
|
||||
|
||||
auto bindGroup = AssertWillBeError(device.CreateBindGroupBuilder())
|
||||
.SetLayout(layout)
|
||||
.SetUsage(dawn::BindGroupUsage::Frozen)
|
||||
.SetBufferViews(0, 1, &bufferView)
|
||||
.GetResult();
|
||||
}
|
||||
@@ -75,7 +72,6 @@ TEST_F(BindGroupValidationTest, BufferViewOffset) {
|
||||
|
||||
auto bindGroup = AssertWillBeError(device.CreateBindGroupBuilder())
|
||||
.SetLayout(layout)
|
||||
.SetUsage(dawn::BindGroupUsage::Frozen)
|
||||
.SetBufferViews(0, 1, &bufferView)
|
||||
.GetResult();
|
||||
}
|
||||
@@ -87,7 +83,6 @@ TEST_F(BindGroupValidationTest, BufferViewOffset) {
|
||||
|
||||
auto bindGroup = AssertWillBeError(device.CreateBindGroupBuilder())
|
||||
.SetLayout(layout)
|
||||
.SetUsage(dawn::BindGroupUsage::Frozen)
|
||||
.SetBufferViews(0, 1, &bufferView)
|
||||
.GetResult();
|
||||
}
|
||||
@@ -99,7 +94,6 @@ TEST_F(BindGroupValidationTest, BufferViewOffset) {
|
||||
|
||||
auto bindGroup = AssertWillBeError(device.CreateBindGroupBuilder())
|
||||
.SetLayout(layout)
|
||||
.SetUsage(dawn::BindGroupUsage::Frozen)
|
||||
.SetBufferViews(0, 1, &bufferView)
|
||||
.GetResult();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user