tu: handle unused color attachments without crashing
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 15 Sep 2023 13:29:49 +0000 (09:29 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 15 Sep 2023 14:10:30 +0000 (14:10 +0000)
commit047213fcbaffda7e769ed982bb1113c4383b5ee2
treed9d5c40bdd6d9101d74d7b2d0d190decf2941c01
parent42722347362d870aea4f7cd7e0076939375afca5
tu: handle unused color attachments without crashing

if the format is not set then this attachment must be ignored

Fixes: 97da0a77341 ("tu: Rewrite to use common Vulkan dynamic state")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25121>
src/freedreno/vulkan/tu_pipeline.cc