From: Bas Nieuwenhuizen Date: Mon, 1 Jun 2020 22:34:28 +0000 (+0200) Subject: radeonsi: Explicitly map Z16_UNORM_S8_UINT to None for GFX10. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d936f69677240069bae0f23795b56b4e5335154a;p=mesa.git radeonsi: Explicitly map Z16_UNORM_S8_UINT to None for GFX10. We should always use separate planes for textures with this format. Fixes: 273ead81f1a "util/format: Add VK_FORMAT_D16_UNORM_S8_UINT." Reviewed-by: Marek Olšák Reviewed-by: Samuel Pitoiset Part-of: --- diff --git a/src/gallium/drivers/radeonsi/gfx10_format_table.py b/src/gallium/drivers/radeonsi/gfx10_format_table.py index dd091e7d362..7a6762287df 100644 --- a/src/gallium/drivers/radeonsi/gfx10_format_table.py +++ b/src/gallium/drivers/radeonsi/gfx10_format_table.py @@ -51,6 +51,7 @@ HARDCODED = { 'PIPE_FORMAT_Z24_UNORM_S8_UINT': hardcoded_format('8_24_UNORM'), 'PIPE_FORMAT_S8_UINT_Z24_UNORM': hardcoded_format('24_8_UNORM'), 'PIPE_FORMAT_Z32_UNORM': None, + 'PIPE_FORMAT_Z16_UNORM_S8_UINT': None, 'PIPE_FORMAT_R9G9B9E5_FLOAT': hardcoded_format('5_9_9_9_FLOAT'), 'PIPE_FORMAT_R11G11B10_FLOAT': hardcoded_format('10_11_11_FLOAT'), # NOTE: full set of int/unorm/etc. exists