radv: support S8_UINT as a depth/stencil format.
authorDave Airlie <airlied@redhat.com>
Thu, 13 Apr 2017 19:34:26 +0000 (05:34 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 13 Apr 2017 19:49:25 +0000 (05:49 +1000)
This enables a bunch of NotSupported CTS tests.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_formats.c

index 9b21e04c63ba917bccd533a9b3a4e06566ce9f5e..07942e4217fffb86efdcf10ffe500201d66d5f28 100644 (file)
@@ -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