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:
Yunchao He 2020-07-10 23:30:56 +00:00 committed by Commit Bot service account
parent 7695afc902
commit 0b43a803bf
1 changed files with 0 additions and 3 deletions

View File

@ -109,9 +109,6 @@ TEST_F(BindGroupValidationTest, WrongBindings) {
// Check that binding must be present in the layout // Check that binding must be present in the layout
ASSERT_DEVICE_ERROR(utils::MakeBindGroup(device, layout, {{1, mSampler}})); 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 // Check that the same binding cannot be set twice