vulkan: Drop vk_render_pass_state::*self_dependenc*

ANV was the only driver using them and now it's on feedback loop flags.
Other drivers should convert instead of depending on the old version.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22191>
This commit is contained in:
Faith Ekstrand 2023-03-29 10:02:15 -05:00 committed by Marge Bot
parent 6d4e605378
commit b4c18b9b76
2 changed files with 0 additions and 19 deletions

View file

@ -1060,16 +1060,6 @@ vk_render_pass_state_init(struct vk_render_pass_state *rp,
if (r_info->stencilAttachmentFormat != VK_FORMAT_UNDEFINED)
rp->attachment_aspects |= VK_IMAGE_ASPECT_STENCIL_BIT;
const VkRenderingSelfDependencyInfoMESA *rsd_info =
vk_find_struct_const(r_info->pNext, RENDERING_SELF_DEPENDENCY_INFO_MESA);
if (rsd_info != NULL) {
STATIC_ASSERT(sizeof(rp->color_self_dependencies) * 8 >=
MESA_VK_MAX_COLOR_ATTACHMENTS);
rp->color_self_dependencies = rsd_info->colorSelfDependencies;
rp->depth_self_dependency = rsd_info->depthSelfDependency;
rp->stencil_self_dependency = rsd_info->stencilSelfDependency;
}
const VkAttachmentSampleCountInfoAMD *asc_info =
vk_get_pipeline_sample_count_info_amd(info);
if (asc_info != NULL) {

View file

@ -657,15 +657,6 @@ struct vk_render_pass_state {
*/
VkPipelineCreateFlags pipeline_flags;
/** VkRenderingSelfDependencyInfoMESA::colorSelfDependencies */
uint8_t color_self_dependencies;
/** VkRenderingSelfDependencyInfoMESA::depthSelfDependency */
bool depth_self_dependency;
/** VkRenderingSelfDependencyInfoMESA::stencilSelfDependency */
bool stencil_self_dependency;
/** VkPipelineRenderingCreateInfo::colorAttachmentCount */
uint8_t color_attachment_count;