aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2020-06-02 00:34:28 +0200
committerMarge Bot <[email protected]>2020-06-03 00:17:00 +0000
commitd936f69677240069bae0f23795b56b4e5335154a (patch)
tree07b2c78bf67928848bfc40d952aa2b39e32764a0 /src/gallium/drivers/radeonsi
parent415c88eebcda87196b1ee09d28ea40e07b9d229f (diff)
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 <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5291>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/gfx10_format_table.py1
1 files changed, 1 insertions, 0 deletions
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