mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[d3d9] Dirty fixed function pixel shader on texture type change
Fixes #1603
This commit is contained in:
parent
b2f6885e55
commit
27b9736626
@ -5445,8 +5445,12 @@ namespace dxvk {
|
||||
const uint32_t textureBitMask = 0b11u << offset;
|
||||
const uint32_t textureBits = textureType << offset;
|
||||
|
||||
m_samplerTypeBitfield &= ~textureBitMask;
|
||||
m_samplerTypeBitfield |= textureBits;
|
||||
if ((m_samplerTypeBitfield & textureBitMask) != textureBits) {
|
||||
m_flags.set(D3D9DeviceFlag::DirtyFFPixelShader);
|
||||
|
||||
m_samplerTypeBitfield &= ~textureBitMask;
|
||||
m_samplerTypeBitfield |= textureBits;
|
||||
}
|
||||
}
|
||||
|
||||
if (commonTex == nullptr) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user