i965: Prepare to delete intel_miptree_alloc_ccs()
[mesa.git] / src / mesa / drivers / dri / i965 / brw_blorp.c
index f538cd03bc90ad25b8dff920346a8f3accca4f88..2ea13bb743c53440879c8a171dd5c671d320a94e 100644 (file)
@@ -1208,7 +1208,7 @@ do_single_blorp_clear(struct brw_context *brw, struct gl_framebuffer *fb,
     */
    if (can_fast_clear && !irb->mt->aux_buf) {
       assert(irb->mt->aux_usage == ISL_AUX_USAGE_CCS_D);
-      if (!intel_miptree_alloc_ccs(brw, irb->mt)) {
+      if (!intel_miptree_alloc_aux(brw, irb->mt)) {
          /* There are a few reasons in addition to out-of-memory, that can
           * cause intel_miptree_alloc_non_msrt_mcs to fail.  Try to recover by
           * falling back to non-fast clear.