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