mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-17 23:30:36 +02:00
isl: disable MCS compression on R9G9B9E5
Not supported according to the docs and will trigger an assert
isl_get_render_compression_format().
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26112>
(cherry picked from commit d4499c4cb2)
This commit is contained in:
parent
8d9fa8ef99
commit
193256f9e7
2 changed files with 8 additions and 1 deletions
|
|
@ -124,7 +124,7 @@
|
|||
"description": "isl: disable MCS compression on R9G9B9E5",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2774,6 +2774,13 @@ isl_surf_get_mcs_surf(const struct isl_device *dev,
|
|||
if (intel_device_info_is_dg2(dev->info))
|
||||
return false;
|
||||
|
||||
/* On Gfx12+ this format is not listed in TGL PRMs, Volume 2b: Command
|
||||
* Reference: Enumerations, RenderCompressionFormat
|
||||
*/
|
||||
if (ISL_GFX_VER(dev) >= 12 &&
|
||||
surf->format == ISL_FORMAT_R9G9B9E5_SHAREDEXP)
|
||||
return false;
|
||||
|
||||
/* The following are true of all multisampled surfaces */
|
||||
assert(surf->samples > 1);
|
||||
assert(surf->dim == ISL_SURF_DIM_2D);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue