From d936f69677240069bae0f23795b56b4e5335154a Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Tue, 2 Jun 2020 00:34:28 +0200 Subject: [PATCH] radeonsi: Explicitly map Z16_UNORM_S8_UINT to None for GFX10. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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: --- src/gallium/drivers/radeonsi/gfx10_format_table.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2