Module: Mesa Branch: debug/fcv_ccs Commit: a5ffb293beed8c85450a1e5ca2f6582a1783ce44 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5ffb293beed8c85450a1e5ca2f6582a1783ce44
Author: Rohan Garg <[email protected]> Date: Wed Oct 4 14:53:00 2023 +0200 fcv_ccs debug --- src/intel/vulkan/anv_image.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index d8e8220d826..9eb831eb0ac 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -357,8 +357,10 @@ can_fast_clear_with_non_zero_color(const struct intel_device_info *devinfo, * - Texture view rendering (including blorp_copy calls) * - Images with multiple levels or array layers */ - if (image->planes[plane].aux_usage == ISL_AUX_USAGE_FCV_CCS_E) + if (image->planes[plane].aux_usage == ISL_AUX_USAGE_FCV_CCS_E) { + printf("DEBUG: Cannot fast clear resource to non-zero value\n") return false; + } /* Non mutable image, we can fast clear with any color supported by HW. */
