[PATCH vkd3d] libs/vkd3d: Use VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT only if array size is >= 6.

Henri Verbeet hverbeet at gmail.com
Thu Jun 7 09:03:17 CDT 2018


On 7 June 2018 at 15:52, Józef Kucia <joseph.kucia at gmail.com> wrote:
> +    if (desc->Dimension == D3D12_RESOURCE_DIMENSION_TEXTURE2D
> +            && desc->Width == desc->Height && desc->DepthOrArraySize >= 6)
>          image_info.flags |= VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT;
Should that be a multiple of 6? I.e., are partial cubemap arrays a
thing in Direct3D 12?



More information about the wine-devel mailing list