Group modifiers by platform first, then the score. I find it easier to
read this way.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24120>
return 0;
return 3;
- case I915_FORMAT_MOD_4_TILED:
- /* Gfx12.5 introduces Tile4. */
- if (devinfo->verx10 < 125)
- return 0;
-
- return 3;
case I915_FORMAT_MOD_Y_TILED_CCS:
/* Not supported before Gfx9 and also Gfx12's CCS layout differs from
* Gfx9-11.
return 0;
return 4;
+ case I915_FORMAT_MOD_4_TILED:
+ /* Gfx12.5 introduces Tile4. */
+ if (devinfo->verx10 < 125)
+ return 0;
+
+ return 3;
}
}