Remove a unnecessary validation test in bind group
binding index >= kMaxBindingsPerGroup is actually valid. Bug: none Change-Id: Idfba743d50013b7115f125b6441fd49732dffc96 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24700 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
parent
7695afc902
commit
0b43a803bf
|
@ -109,9 +109,6 @@ TEST_F(BindGroupValidationTest, WrongBindings) {
|
|||
|
||||
// Check that binding must be present in the layout
|
||||
ASSERT_DEVICE_ERROR(utils::MakeBindGroup(device, layout, {{1, mSampler}}));
|
||||
|
||||
// Check that binding >= kMaxBindingsPerGroup fails.
|
||||
ASSERT_DEVICE_ERROR(utils::MakeBindGroup(device, layout, {{kMaxBindingsPerGroup, mSampler}}));
|
||||
}
|
||||
|
||||
// Check that the same binding cannot be set twice
|
||||
|
|
Loading…
Reference in New Issue