vk: add bumpmap flag to pipeline hash
Fixes disappearing pause menu text and green wooden boxes in Mat Hoffmann's Pro BMX Issue #878
This commit is contained in:
parent
dddd712f08
commit
39a212140a
|
@ -403,6 +403,7 @@ private:
|
|||
hash |= (pp->isp.ZWriteDis << 20) | (pp->isp.CullMode << 21) | ((autosort ? 6 : pp->isp.DepthMode) << 23);
|
||||
hash |= ((u32)gpuPalette << 26) | ((u32)pass << 27) | ((u32)pp->isNaomi2() << 29);
|
||||
hash |= (u32)(!settings.platform.isNaomi2() && config::NativeDepthInterpolation) << 30;
|
||||
hash |= (u32)(pp->tcw.PixelFmt == PixelBumpMap) << 31;
|
||||
|
||||
return hash;
|
||||
}
|
||||
|
|
|
@ -272,6 +272,7 @@ private:
|
|||
hash |= (pp->isp.ZWriteDis << 20) | (pp->isp.CullMode << 21) | (pp->isp.DepthMode << 23);
|
||||
hash |= ((u32)sortTriangles << 26) | ((u32)gpuPalette << 27) | ((u32)pp->isNaomi2() << 28);
|
||||
hash |= (u32)(!settings.platform.isNaomi2() && config::NativeDepthInterpolation) << 29;
|
||||
hash |= (u32)(pp->tcw.PixelFmt == PixelBumpMap) << 30;
|
||||
|
||||
return hash;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue