Home
last modified time | relevance | path

Searched refs:vi_attrs (Results 1 – 2 of 2) sorted by relevance

/external/vulkan-validation-layers/demos/smoke/
DMeshes.cpp74 std::vector<VkVertexInputAttributeDescription> vi_attrs(2); in vertex_input_attributes() local
76 vi_attrs[0].location = 0; in vertex_input_attributes()
77 vi_attrs[0].binding = 0; in vertex_input_attributes()
78 vi_attrs[0].format = VK_FORMAT_R32G32B32_SFLOAT; in vertex_input_attributes()
79 vi_attrs[0].offset = 0; in vertex_input_attributes()
81 vi_attrs[1].location = 1; in vertex_input_attributes()
82 vi_attrs[1].binding = 0; in vertex_input_attributes()
83 vi_attrs[1].format = VK_FORMAT_R32G32B32_SFLOAT; in vertex_input_attributes()
84 vi_attrs[1].offset = sizeof(float) * 3; in vertex_input_attributes()
86 return vi_attrs; in vertex_input_attributes()
/external/vulkan-validation-layers/demos/
Dtri.c225 VkVertexInputAttributeDescription vi_attrs[2]; member
1083 demo->vertices.vi.pVertexAttributeDescriptions = demo->vertices.vi_attrs; in demo_prepare_vertices()
1089 demo->vertices.vi_attrs[0].binding = VERTEX_BUFFER_BIND_ID; in demo_prepare_vertices()
1090 demo->vertices.vi_attrs[0].location = 0; in demo_prepare_vertices()
1091 demo->vertices.vi_attrs[0].format = VK_FORMAT_R32G32B32_SFLOAT; in demo_prepare_vertices()
1092 demo->vertices.vi_attrs[0].offset = 0; in demo_prepare_vertices()
1094 demo->vertices.vi_attrs[1].binding = VERTEX_BUFFER_BIND_ID; in demo_prepare_vertices()
1095 demo->vertices.vi_attrs[1].location = 1; in demo_prepare_vertices()
1096 demo->vertices.vi_attrs[1].format = VK_FORMAT_R32G32_SFLOAT; in demo_prepare_vertices()
1097 demo->vertices.vi_attrs[1].offset = sizeof(float) * 3; in demo_prepare_vertices()