9

tu: do not corrupt unwritten render targets

 3 years ago
source link: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10489
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

tu: do not corrupt unwritten render targets

There is no point in having a write to an attachment enabled when there is no corresponding output in the shader. Per VK spec it is an UB, however a few apps depend on attachment not being changed if FS doesn't have corresponding output.

Fixes water in Genshin Impact.

Same was previously done in Freedreno to fix 3dmark - 46e98004


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK