maxwell_to_vk: Add R16_SNORM
This commit is contained in:
parent
18fb9bdfa8
commit
be54aad1c4
2 changed files with 2 additions and 1 deletions
|
@ -157,7 +157,7 @@ struct FormatTuple {
|
||||||
{VK_FORMAT_R32_SFLOAT, Attachable | Storage}, // R32_FLOAT
|
{VK_FORMAT_R32_SFLOAT, Attachable | Storage}, // R32_FLOAT
|
||||||
{VK_FORMAT_R16_SFLOAT, Attachable | Storage}, // R16_FLOAT
|
{VK_FORMAT_R16_SFLOAT, Attachable | Storage}, // R16_FLOAT
|
||||||
{VK_FORMAT_R16_UNORM, Attachable | Storage}, // R16_UNORM
|
{VK_FORMAT_R16_UNORM, Attachable | Storage}, // R16_UNORM
|
||||||
{VK_FORMAT_UNDEFINED}, // R16_SNORM
|
{VK_FORMAT_R16_SNORM, Attachable | Storage}, // R16_SNORM
|
||||||
{VK_FORMAT_R16_UINT, Attachable | Storage}, // R16_UINT
|
{VK_FORMAT_R16_UINT, Attachable | Storage}, // R16_UINT
|
||||||
{VK_FORMAT_UNDEFINED}, // R16_SINT
|
{VK_FORMAT_UNDEFINED}, // R16_SINT
|
||||||
{VK_FORMAT_R16G16_UNORM, Attachable | Storage}, // R16G16_UNORM
|
{VK_FORMAT_R16G16_UNORM, Attachable | Storage}, // R16G16_UNORM
|
||||||
|
|
|
@ -116,6 +116,7 @@ std::unordered_map<VkFormat, VkFormatProperties> GetFormatProperties(vk::Physica
|
||||||
VK_FORMAT_R16G16_SFLOAT,
|
VK_FORMAT_R16G16_SFLOAT,
|
||||||
VK_FORMAT_R16G16_SINT,
|
VK_FORMAT_R16G16_SINT,
|
||||||
VK_FORMAT_R16_UNORM,
|
VK_FORMAT_R16_UNORM,
|
||||||
|
VK_FORMAT_R16_SNORM,
|
||||||
VK_FORMAT_R16_UINT,
|
VK_FORMAT_R16_UINT,
|
||||||
VK_FORMAT_R8G8B8A8_SRGB,
|
VK_FORMAT_R8G8B8A8_SRGB,
|
||||||
VK_FORMAT_R8G8_UNORM,
|
VK_FORMAT_R8G8_UNORM,
|
||||||
|
|
Loading…
Reference in a new issue