Skip to content

Commit

Permalink
Merged pull request "fix a small index error in bindComputeResourceSe…
Browse files Browse the repository at this point in the history
…ts": #49
  • Loading branch information
apanteleev committed Mar 7, 2024
2 parents cc5531a + 9b7c66e commit 970bf53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d3d11/d3d11-resource-bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ void CommandList::bindComputeResourceSets(
if (setsToBind[i])
for (uint32_t j = 0; j < uint32_t(setsToUnbind.size()); j++)
{
BindingSet* setToBind = checked_cast<BindingSet*>(setsToBind[j]);
BindingSet* setToBind = checked_cast<BindingSet*>(setsToBind[i]);
BindingSet* setToUnbind = checked_cast<BindingSet*>(setsToUnbind[j]);

if (setToUnbind && setToBind->isSupersetOf(*setToUnbind) && setToUnbind->maxUAVSlot < setToUnbind->minUAVSlot)
Expand Down

0 comments on commit 970bf53

Please sign in to comment.