anv: fix fast clear type handling for VK_IMAGE_LAYOUT_READ_ONLY_OPTIMAL

Open Rohan Garg requested to merge shadeslayer/mesa:review/refactor_fast_clear_type into main

We should be checking image layouts, not the aux usage when trying to determine the fast clear type.

Signed-off-by: Rohan Garg rohan.garg@intel.com

Merge request reports