summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-04-14 05:34:26 +1000
committerDave Airlie <[email protected]>2017-04-14 05:49:25 +1000
commit58dd57cb948a4e5f7d11843a27351c7927877f1f (patch)
tree4e65e3bae9adf05ed8cfa45e57d40abe6d134dab /src/amd/vulkan
parent16b2dc0ca172424678b46c8d35c4a78839f3c791 (diff)
radv: support S8_UINT as a depth/stencil format.
This enables a bunch of NotSupported CTS tests. Reviewed-by: Bas Nieuwenhuizen <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/radv_formats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_formats.c b/src/amd/vulkan/radv_formats.c
index 9b21e04c63b..07942e4217f 100644
--- a/src/amd/vulkan/radv_formats.c
+++ b/src/amd/vulkan/radv_formats.c
@@ -537,7 +537,7 @@ bool radv_is_colorbuffer_format_supported(VkFormat format, bool *blendable)
static bool radv_is_zs_format_supported(VkFormat format)
{
- return radv_translate_dbformat(format) != V_028040_Z_INVALID;
+ return radv_translate_dbformat(format) != V_028040_Z_INVALID || format == VK_FORMAT_S8_UINT;
}
static void