Skip to content

Commit

Permalink
[d3d9] Remove incorrect early-exit
Browse files Browse the repository at this point in the history
The same texture could be bound to
multiple slots and if the shader doesn't
use the lower index texture, we'd never
end up uploading it.
  • Loading branch information
K0bin committed Sep 22, 2024
1 parent fc2596d commit 203725e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/d3d9/d3d9_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4812,8 +4812,6 @@ namespace dxvk {

if (texInfo == pResource) {
m_activeTexturesToUpload |= 1 << i;
// We can early out here, no need to add another index for this.
break;
}
}
}
Expand Down

0 comments on commit 203725e

Please sign in to comment.