Skip to content

Commit

Permalink
Fix typo in descriptor api.
Browse files Browse the repository at this point in the history
This was small typo, it turns out to not have had much
semantic meaning, since the next like will also catch the
same condition.
  • Loading branch information
AWoloszyn committed Sep 14, 2018
1 parent 700a770 commit bc21c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gapis/api/vulkan/api/descriptor.api
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ sub void dovkCmdBindDescriptorSets(ref!vkCmdBindDescriptorSetsArgs args) {
// If the offset has changed, then we may have to reprocess this
// descriptor set.
if hasBeenRead.b {
if !(as!u32(j) in existingOffsets[as!u32(i)]) {
if !(as!u32(j) in existingOffsets) {
hasBeenRead.b = false
} else if !(as!u32(k) in existingOffsets[as!u32(j)]) {
hasBeenRead.b = false
Expand Down

0 comments on commit bc21c65

Please sign in to comment.