more sensible format ordering
parent
9fc1608115
commit
5016183ab9
|
@ -134,12 +134,12 @@ typedef enum Refresh_TextureFormat
|
||||||
REFRESH_TEXTUREFORMAT_R8G8_SNORM,
|
REFRESH_TEXTUREFORMAT_R8G8_SNORM,
|
||||||
REFRESH_TEXTUREFORMAT_R8G8B8A8_SNORM,
|
REFRESH_TEXTUREFORMAT_R8G8B8A8_SNORM,
|
||||||
/* Signed Float Color Formats */
|
/* Signed Float Color Formats */
|
||||||
REFRESH_TEXTUREFORMAT_R32_SFLOAT,
|
|
||||||
REFRESH_TEXTUREFORMAT_R32G32_SFLOAT,
|
|
||||||
REFRESH_TEXTUREFORMAT_R32G32B32A32_SFLOAT,
|
|
||||||
REFRESH_TEXTUREFORMAT_R16_SFLOAT,
|
REFRESH_TEXTUREFORMAT_R16_SFLOAT,
|
||||||
REFRESH_TEXTUREFORMAT_R16G16_SFLOAT,
|
REFRESH_TEXTUREFORMAT_R16G16_SFLOAT,
|
||||||
REFRESH_TEXTUREFORMAT_R16G16B16A16_SFLOAT,
|
REFRESH_TEXTUREFORMAT_R16G16B16A16_SFLOAT,
|
||||||
|
REFRESH_TEXTUREFORMAT_R32_SFLOAT,
|
||||||
|
REFRESH_TEXTUREFORMAT_R32G32_SFLOAT,
|
||||||
|
REFRESH_TEXTUREFORMAT_R32G32B32A32_SFLOAT,
|
||||||
/* Unsigned Integer Color Formats */
|
/* Unsigned Integer Color Formats */
|
||||||
REFRESH_TEXTUREFORMAT_R8_UINT,
|
REFRESH_TEXTUREFORMAT_R8_UINT,
|
||||||
REFRESH_TEXTUREFORMAT_R8G8_UINT,
|
REFRESH_TEXTUREFORMAT_R8G8_UINT,
|
||||||
|
|
|
@ -200,12 +200,12 @@ static VkFormat RefreshToVK_SurfaceFormat[] =
|
||||||
VK_FORMAT_BC7_UNORM_BLOCK, /* BC7_UNORM */
|
VK_FORMAT_BC7_UNORM_BLOCK, /* BC7_UNORM */
|
||||||
VK_FORMAT_R8G8_SNORM, /* R8G8_SNORM */
|
VK_FORMAT_R8G8_SNORM, /* R8G8_SNORM */
|
||||||
VK_FORMAT_R8G8B8A8_SNORM, /* R8G8B8A8_SNORM */
|
VK_FORMAT_R8G8B8A8_SNORM, /* R8G8B8A8_SNORM */
|
||||||
VK_FORMAT_R32_SFLOAT, /* R32_SFLOAT */
|
|
||||||
VK_FORMAT_R32G32_SFLOAT, /* R32G32_SFLOAT */
|
|
||||||
VK_FORMAT_R32G32B32A32_SFLOAT, /* R32G32B32A32_SFLOAT */
|
|
||||||
VK_FORMAT_R16_SFLOAT, /* R16_SFLOAT */
|
VK_FORMAT_R16_SFLOAT, /* R16_SFLOAT */
|
||||||
VK_FORMAT_R16G16_SFLOAT, /* R16G16_SFLOAT */
|
VK_FORMAT_R16G16_SFLOAT, /* R16G16_SFLOAT */
|
||||||
VK_FORMAT_R16G16B16A16_SFLOAT, /* R16G16B16A16_SFLOAT */
|
VK_FORMAT_R16G16B16A16_SFLOAT, /* R16G16B16A16_SFLOAT */
|
||||||
|
VK_FORMAT_R32_SFLOAT, /* R32_SFLOAT */
|
||||||
|
VK_FORMAT_R32G32_SFLOAT, /* R32G32_SFLOAT */
|
||||||
|
VK_FORMAT_R32G32B32A32_SFLOAT, /* R32G32B32A32_SFLOAT */
|
||||||
VK_FORMAT_R8_UINT, /* R8_UINT */
|
VK_FORMAT_R8_UINT, /* R8_UINT */
|
||||||
VK_FORMAT_R8G8_UINT, /* R8G8_UINT */
|
VK_FORMAT_R8G8_UINT, /* R8G8_UINT */
|
||||||
VK_FORMAT_R8G8B8A8_UINT, /* R8G8B8A8_UINT */
|
VK_FORMAT_R8G8B8A8_UINT, /* R8G8B8A8_UINT */
|
||||||
|
|
Loading…
Reference in New Issue