intel/vulkan: Add COMPRESSED_CLEAR state in layout translation
The added state is for RC_CCS_CC modifiers that support fast clear. Fix: vkcube: ../src/intel/vulkan/anv_image.c:2686: anv_layout_to_aux_state: Assertion `!"" "unexpected isl_aux_state"' failed. Signed-off-by: Jianxun Zhang <jianxun.zhang@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Acked-by: Rohan Garg <rohan.garg@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25651>
This commit is contained in:
@@ -2713,6 +2713,8 @@ anv_layout_to_aux_state(const struct intel_device_info * const devinfo,
|
||||
* pass-through.
|
||||
*/
|
||||
return ISL_AUX_STATE_PASS_THROUGH;
|
||||
case ISL_AUX_STATE_COMPRESSED_CLEAR:
|
||||
return ISL_AUX_STATE_COMPRESSED_CLEAR;
|
||||
case ISL_AUX_STATE_COMPRESSED_NO_CLEAR:
|
||||
return ISL_AUX_STATE_COMPRESSED_NO_CLEAR;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user