zink: don't update fbfetch in db mode if inputAttachmentDescriptorSize==0
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 16 Mar 2023 12:31:16 +0000 (08:31 -0400)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 21 Mar 2023 02:12:22 +0000 (22:12 -0400)
commit6a45e0d9912c50e502abbbcf17e498edccae29ad
tree364cca01f5d98fb51b8003b9ac3e3950e14e5b7e
parent46212427f95a73f4174f22a21ddd227f0778447f
zink: don't update fbfetch in db mode if inputAttachmentDescriptorSize==0

turnip gets away with this somehow, so silence harmless validation errors

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22040>
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_descriptors.c