Searched refs:vi_attrs (Results 1 – 1 of 1) sorted by relevance
68 std::vector<VkVertexInputAttributeDescription> vi_attrs(2); in vertex_input_attributes() local70 vi_attrs[0].location = 0; in vertex_input_attributes()71 vi_attrs[0].binding = 0; in vertex_input_attributes()72 vi_attrs[0].format = VK_FORMAT_R32G32B32_SFLOAT; in vertex_input_attributes()73 vi_attrs[0].offset = 0; in vertex_input_attributes()75 vi_attrs[1].location = 1; in vertex_input_attributes()76 vi_attrs[1].binding = 0; in vertex_input_attributes()77 vi_attrs[1].format = VK_FORMAT_R32G32B32_SFLOAT; in vertex_input_attributes()78 vi_attrs[1].offset = sizeof(float) * 3; in vertex_input_attributes()80 return vi_attrs; in vertex_input_attributes()