radeonsi: Explicitly map Z16_UNORM_S8_UINT to None for GFX10.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 1 Jun 2020 22:34:28 +0000 (00:34 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 3 Jun 2020 00:17:00 +0000 (00:17 +0000)
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 <marek.olsak@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5291>

src/gallium/drivers/radeonsi/gfx10_format_table.py

index dd091e7d3626b5fdb868c5b3c00b9b19d5713449..7a6762287df3fbe068493f9e10b25b99d1485e3f 100644 (file)
@@ -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