vertex format changes
parent
6da471f9ef
commit
f9f5e91001
|
@ -184,7 +184,8 @@ typedef uint32_t Refresh_BufferUsageFlags;
|
||||||
|
|
||||||
typedef enum Refresh_VertexElementFormat
|
typedef enum Refresh_VertexElementFormat
|
||||||
{
|
{
|
||||||
REFRESH_VERTEXELEMENTFORMAT_SINGLE,
|
REFRESH_VERTEXELEMENTFORMAT_UINT,
|
||||||
|
REFRESH_VERTEXELEMENTFORMAT_FLOAT,
|
||||||
REFRESH_VERTEXELEMENTFORMAT_VECTOR2,
|
REFRESH_VERTEXELEMENTFORMAT_VECTOR2,
|
||||||
REFRESH_VERTEXELEMENTFORMAT_VECTOR3,
|
REFRESH_VERTEXELEMENTFORMAT_VECTOR3,
|
||||||
REFRESH_VERTEXELEMENTFORMAT_VECTOR4,
|
REFRESH_VERTEXELEMENTFORMAT_VECTOR4,
|
||||||
|
|
|
@ -210,7 +210,8 @@ static VkFormat RefreshToVK_SurfaceFormat[] =
|
||||||
|
|
||||||
static VkFormat RefreshToVK_VertexFormat[] =
|
static VkFormat RefreshToVK_VertexFormat[] =
|
||||||
{
|
{
|
||||||
VK_FORMAT_R32_SFLOAT, /* SINGLE */
|
VK_FORMAT_R32_UINT, /* UINT */
|
||||||
|
VK_FORMAT_R32_SFLOAT, /* FLOAT */
|
||||||
VK_FORMAT_R32G32_SFLOAT, /* VECTOR2 */
|
VK_FORMAT_R32G32_SFLOAT, /* VECTOR2 */
|
||||||
VK_FORMAT_R32G32B32_SFLOAT, /* VECTOR3 */
|
VK_FORMAT_R32G32B32_SFLOAT, /* VECTOR3 */
|
||||||
VK_FORMAT_R32G32B32A32_SFLOAT, /* VECTOR4 */
|
VK_FORMAT_R32G32B32A32_SFLOAT, /* VECTOR4 */
|
||||||
|
|
Loading…
Reference in New Issue