-
Danylo Piliaiev authored
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: <!10489>
addab037