Files
mesa/src/freedreno/vulkan
Danylo Piliaiev addab037f0 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.

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10489>
2021-04-28 08:51:49 +00:00
..
2020-09-21 22:51:05 +00:00
2019-03-11 10:01:41 -07:00
2020-09-13 04:04:58 +00:00
2021-04-20 20:32:20 +00:00
2021-04-20 10:01:58 +00:00