mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d: Add DXGI_FORMAT_R16G16B16A16_FLOAT.
This commit is contained in:
parent
ec4ab656df
commit
07f12c2947
@ -38,6 +38,8 @@ typedef enum DXGI_FORMAT
|
|||||||
DXGI_FORMAT_R32G32B32_TYPELESS = 0x05,
|
DXGI_FORMAT_R32G32B32_TYPELESS = 0x05,
|
||||||
DXGI_FORMAT_R32G32B32_FLOAT = 0x06,
|
DXGI_FORMAT_R32G32B32_FLOAT = 0x06,
|
||||||
|
|
||||||
|
DXGI_FORMAT_R16G16B16A16_FLOAT = 0x0a,
|
||||||
|
|
||||||
DXGI_FORMAT_R32G32_FLOAT = 0x10,
|
DXGI_FORMAT_R32G32_FLOAT = 0x10,
|
||||||
|
|
||||||
DXGI_FORMAT_R10G10B10A2_UNORM = 0x18,
|
DXGI_FORMAT_R10G10B10A2_UNORM = 0x18,
|
||||||
|
@ -25,6 +25,7 @@ static const struct vkd3d_format vkd3d_formats[] =
|
|||||||
{DXGI_FORMAT_R32G32B32A32_SINT, VK_FORMAT_R32G32B32A32_SINT, 16, VK_IMAGE_ASPECT_COLOR_BIT},
|
{DXGI_FORMAT_R32G32B32A32_SINT, VK_FORMAT_R32G32B32A32_SINT, 16, VK_IMAGE_ASPECT_COLOR_BIT},
|
||||||
{DXGI_FORMAT_R32G32B32_FLOAT, VK_FORMAT_R32G32B32_SFLOAT, 12, VK_IMAGE_ASPECT_COLOR_BIT},
|
{DXGI_FORMAT_R32G32B32_FLOAT, VK_FORMAT_R32G32B32_SFLOAT, 12, VK_IMAGE_ASPECT_COLOR_BIT},
|
||||||
{DXGI_FORMAT_R32G32_FLOAT, VK_FORMAT_R32G32_SFLOAT, 8, VK_IMAGE_ASPECT_COLOR_BIT},
|
{DXGI_FORMAT_R32G32_FLOAT, VK_FORMAT_R32G32_SFLOAT, 8, VK_IMAGE_ASPECT_COLOR_BIT},
|
||||||
|
{DXGI_FORMAT_R16G16B16A16_FLOAT, VK_FORMAT_R16G16B16A16_SFLOAT, 8, VK_IMAGE_ASPECT_COLOR_BIT},
|
||||||
{DXGI_FORMAT_R10G10B10A2_UNORM, VK_FORMAT_A2B10G10R10_UNORM_PACK32, 4, VK_IMAGE_ASPECT_COLOR_BIT},
|
{DXGI_FORMAT_R10G10B10A2_UNORM, VK_FORMAT_A2B10G10R10_UNORM_PACK32, 4, VK_IMAGE_ASPECT_COLOR_BIT},
|
||||||
{DXGI_FORMAT_R11G11B10_FLOAT, VK_FORMAT_B10G11R11_UFLOAT_PACK32, 4, VK_IMAGE_ASPECT_COLOR_BIT},
|
{DXGI_FORMAT_R11G11B10_FLOAT, VK_FORMAT_B10G11R11_UFLOAT_PACK32, 4, VK_IMAGE_ASPECT_COLOR_BIT},
|
||||||
{DXGI_FORMAT_R8G8B8A8_UNORM, VK_FORMAT_R8G8B8A8_UNORM, 4, VK_IMAGE_ASPECT_COLOR_BIT},
|
{DXGI_FORMAT_R8G8B8A8_UNORM, VK_FORMAT_R8G8B8A8_UNORM, 4, VK_IMAGE_ASPECT_COLOR_BIT},
|
||||||
|
Loading…
Reference in New Issue
Block a user