When validating writes/copies of descriptor sets, we do a binary search via CBindingRedirect. This same search is then repeated later in the processing of the write/copy, which is unnecessary. These changes avoid the duped searches
Testing
Examples that wrote to descriptor sets work fine. I couldn't find any examples that had a copy (there is one in the examples repo but not under build/examples_tests so I assume it's disabled).
Description
When validating writes/copies of descriptor sets, we do a binary search via
CBindingRedirect
. This same search is then repeated later in the processing of the write/copy, which is unnecessary. These changes avoid the duped searchesTesting
Examples that wrote to descriptor sets work fine. I couldn't find any examples that had a copy (there is one in the examples repo but not under
build/examples_tests
so I assume it's disabled).