doitsujin / dxvk

Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine
zlib License
12.26k stars 785 forks source link

[D3D11] POSTAL Brain Damaged: Corrupted Reflections in Suburbia #3488

Open Sterophonick opened 1 year ago

Sterophonick commented 1 year ago

Software information

POSTAL Brain Damaged (1359980) High Settings, antialiasing off, 1080p

System information

Apitrace file(s)

APITrace

Screenshots

20230610170630_1 20230610170636_1

Correct Behavior

image

Log files

steam-1359980.zip

CME42 commented 1 year ago

fwiw metald3d logs a couple of error messages like this, taking a quick look at the renderdoc it seems like this is the issue:

Failed to create pipeline state: Error Domain=AGXMetal13_3 Code=3 "Fragment input(s) `user(texcoord6)` mismatching vertex shader output type(s) or not written by vertex shader" UserInfo={NSLocalizedDescription=Fragment input(s) `user(texcoord6)` mismatching vertex shader output type(s) or not written by vertex shader}, vs=81395087550621614903112759022732522635024016920034294967295429496729500,fs=8125458665587274230746641964946232789990602801,gs=,ds=,hs=, marking PSO(133) as no-op
ilqvya commented 10 months ago

Intel GPU on Windows OS also has this problem Nvidia works well

doitsujin commented 4 months ago

Finally got around to looking at this, game is extremely broken and uses incompatible shaders and somehow expects this to work when it really shouldn't.

Fixing this is technically possible by rewriting the fragment shader at runtime, but it's difficult and not a high priority at the moment.

Sterophonick commented 2 months ago

Finally got around to looking at this, game is extremely broken and uses incompatible shaders and somehow expects this to work when it really shouldn't.

Fixing this is technically possible by rewriting the fragment shader at runtime, but it's difficult and not a high priority at the moment.

This sounds like it would be a game-specific hack type of thing, yes?