zink: extend shadow swizzle pass to all zs textures
authorSoroushIMG <soroush.kashani@imgtec.com>
Sun, 26 Feb 2023 17:48:53 +0000 (17:48 +0000)
committerMarge Bot <emma+marge@anholt.net>
Tue, 14 Mar 2023 17:03:30 +0000 (17:03 +0000)
commitcc15dbc4f8976c8ba0db88b6ce89c452f03bf33e
treee8bef47d4592c40cd03224d63bb36e7af1e6bc01
parent79557c2747cd5e24c8f02ce21a74e97225eb0114
zink: extend shadow swizzle pass to all zs textures

if needs_zs_shader_swizzle is used, apply constant swizzles to all
depth/stencil textures and not just shadow samplers.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21571>
src/gallium/drivers/zink/zink_compiler.c