<p dir="ltr"></p>
<p dir="ltr">On Aug 5, 2016 9:49 AM, "Lionel Landwerlin" <<a href="mailto:lionel.g.landwerlin@intel.com">lionel.g.landwerlin@intel.com</a>> wrote:<br>
><br>
> It doesn't seem like we have any support for 32bits of something + 8bits of<br>
> something else.</p>
<p dir="ltr">Not quite. Depth-stencil formats are weird because they describe two different things at the same time. In our hardware (post Sandy Bridge) the depth and stencil components are actually stored in different surfaces but in the same VkImage. We certainly can handle 32-bit depth with stencil, we just need to get the blits working.</p>
<p dir="ltr">> This fixes<br>
> dEQP-VK.api.copy_and_blit.blit_image.all_formats.scaling_partial_d32_sfloat_s8_uint_d32_sfloat_s8_uint_nearest<br>
><br>
> Signed-off-by: Lionel Landwerlin <<a href="mailto:lionel.g.landwerlin@intel.com">lionel.g.landwerlin@intel.com</a>><br>
> ---<br>
> src/intel/vulkan/anv_formats.c | 2 +-<br>
> 1 file changed, 1 insertion(+), 1 deletion(-)<br>
><br>
> diff --git a/src/intel/vulkan/anv_formats.c b/src/intel/vulkan/anv_formats.c<br>
> index 13bde90..7d92f80 100644<br>
> --- a/src/intel/vulkan/anv_formats.c<br>
> +++ b/src/intel/vulkan/anv_formats.c<br>
> @@ -167,7 +167,7 @@ static const struct anv_format anv_formats[] = {<br>
> fmt(VK_FORMAT_S8_UINT, ISL_FORMAT_R8_UINT),<br>
> fmt(VK_FORMAT_D16_UNORM_S8_UINT, ISL_FORMAT_UNSUPPORTED),<br>
> fmt(VK_FORMAT_D24_UNORM_S8_UINT, ISL_FORMAT_R24_UNORM_X8_TYPELESS),<br>
> - fmt(VK_FORMAT_D32_SFLOAT_S8_UINT, ISL_FORMAT_R32_FLOAT),<br>
> + fmt(VK_FORMAT_D32_SFLOAT_S8_UINT, ISL_FORMAT_UNSUPPORTED),<br>
><br>
> fmt(VK_FORMAT_BC1_RGB_UNORM_BLOCK, ISL_FORMAT_DXT1_RGB),<br>
> fmt(VK_FORMAT_BC1_RGB_SRGB_BLOCK, ISL_FORMAT_DXT1_RGB_SRGB),<br>
> --<br>
> 2.8.1<br>
><br>
> _______________________________________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br></p>