mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[d3d9] Only dirty ff pixel shader if set texture is in PS binding range
This commit is contained in:
parent
27b9736626
commit
774f74cd36
@ -3525,7 +3525,7 @@ namespace dxvk {
|
||||
// We need to check our ops and disable respective stages.
|
||||
// Given we have transition from a null resource to
|
||||
// a valid resource or vice versa.
|
||||
if (pTexture == nullptr || m_state.textures[StateSampler] == nullptr)
|
||||
if (StateSampler < 16 && (pTexture == nullptr || m_state.textures[StateSampler] == nullptr))
|
||||
m_flags.set(D3D9DeviceFlag::DirtyFFPixelShader);
|
||||
|
||||
auto oldTexture = GetCommonTexture(m_state.textures[StateSampler]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user