anv: Stop treating color input attachments specially

Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14961>
This commit is contained in:
Jason Ekstrand
2022-02-09 17:07:03 -06:00
parent 1ad0f1b004
commit 2da152b5e6
4 changed files with 19 additions and 102 deletions

View File

@@ -2154,9 +2154,6 @@ struct anv_pipeline_binding {
/** Plane in the binding index for images */
uint8_t plane;
/** Input attachment index (relative to the subpass) */
uint8_t input_attachment_index;
/** Dynamic offset index (for dynamic UBOs and SSBOs) */
uint8_t dynamic_offset_index;
};
@@ -2785,7 +2782,6 @@ struct anv_surface_state {
struct anv_attachment_state {
enum isl_aux_usage aux_usage;
struct anv_surface_state color;
struct anv_surface_state input;
VkImageLayout current_layout;
VkImageLayout current_stencil_layout;