8e153bbd8f
Tilers need to know, at the very least, which input attachments are "real" input attachments which map to a color or depth/stencil attachment in tile memory and which are "fake" input attachments that should be treated as regular textures. To do this we need to know VkRenderingInputAttachmentIndexInfoKHR::colorAttachmentCount, which wasn't provided by the state tracking infrastructure. When the VkRenderingInputAttachmentIndexInfoKHR isn't provided, we don't know it, though, so we have to record a special UKNOWN value. In that case, the driver will know thanks to VUID-VkGraphicsPipelineCreateInfo-renderPass-09652 that all input attachments are "real" input attachments that map directly to color attachments if they have an InputAttachmentIndex. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31261>