Searched refs:attribute_desc (Results 1 – 5 of 5) sorted by relevance
572 VkVertexInputAttributeDescription attribute_desc[3] = {}; in ImGui_ImplVulkan_CreateDeviceObjects() local573 attribute_desc[0].location = 0; in ImGui_ImplVulkan_CreateDeviceObjects()574 attribute_desc[0].binding = binding_desc[0].binding; in ImGui_ImplVulkan_CreateDeviceObjects()575 attribute_desc[0].format = VK_FORMAT_R32G32_SFLOAT; in ImGui_ImplVulkan_CreateDeviceObjects()576 attribute_desc[0].offset = IM_OFFSETOF(ImDrawVert, pos); in ImGui_ImplVulkan_CreateDeviceObjects()577 attribute_desc[1].location = 1; in ImGui_ImplVulkan_CreateDeviceObjects()578 attribute_desc[1].binding = binding_desc[0].binding; in ImGui_ImplVulkan_CreateDeviceObjects()579 attribute_desc[1].format = VK_FORMAT_R32G32_SFLOAT; in ImGui_ImplVulkan_CreateDeviceObjects()580 attribute_desc[1].offset = IM_OFFSETOF(ImDrawVert, uv); in ImGui_ImplVulkan_CreateDeviceObjects()581 attribute_desc[2].location = 2; in ImGui_ImplVulkan_CreateDeviceObjects()[all …]
803 VkVertexInputAttributeDescription attribute_desc[3] = {}; in ImGui_ImplVulkan_CreatePipeline() local804 attribute_desc[0].location = 0; in ImGui_ImplVulkan_CreatePipeline()805 attribute_desc[0].binding = binding_desc[0].binding; in ImGui_ImplVulkan_CreatePipeline()806 attribute_desc[0].format = VK_FORMAT_R32G32_SFLOAT; in ImGui_ImplVulkan_CreatePipeline()807 attribute_desc[0].offset = IM_OFFSETOF(ImDrawVert, pos); in ImGui_ImplVulkan_CreatePipeline()808 attribute_desc[1].location = 1; in ImGui_ImplVulkan_CreatePipeline()809 attribute_desc[1].binding = binding_desc[0].binding; in ImGui_ImplVulkan_CreatePipeline()810 attribute_desc[1].format = VK_FORMAT_R32G32_SFLOAT; in ImGui_ImplVulkan_CreatePipeline()811 attribute_desc[1].offset = IM_OFFSETOF(ImDrawVert, uv); in ImGui_ImplVulkan_CreatePipeline()812 attribute_desc[2].location = 2; in ImGui_ImplVulkan_CreatePipeline()[all …]
565 WGPUVertexAttribute attribute_desc[] = in ImGui_ImplWGPU_CreateDeviceObjects() local576 buffer_layouts[0].attributes = attribute_desc; in ImGui_ImplWGPU_CreateDeviceObjects()
320 for (const VertexAttributeDescriptor& attribute_desc : in CreateVertexPullingPreamble() local322 auto it = location_info.find(attribute_desc.shader_location); in CreateVertexPullingPreamble()331 auto fmt_dt = DataTypeOf(attribute_desc.format); in CreateVertexPullingPreamble()337 << std::to_string(attribute_desc.shader_location) in CreateVertexPullingPreamble()338 << " has format " << attribute_desc.format in CreateVertexPullingPreamble()346 auto* fetch = Fetch(buffer_array_base, attribute_desc.offset, in CreateVertexPullingPreamble()347 buffer_idx, attribute_desc.format); in CreateVertexPullingPreamble()
1528 VkVertexInputAttributeDescription attribute_desc[3] = {}; in setup_swapchain_data_pipeline() local1529 attribute_desc[0].location = 0; in setup_swapchain_data_pipeline()1530 attribute_desc[0].binding = binding_desc[0].binding; in setup_swapchain_data_pipeline()1531 attribute_desc[0].format = VK_FORMAT_R32G32_SFLOAT; in setup_swapchain_data_pipeline()1532 attribute_desc[0].offset = IM_OFFSETOF(ImDrawVert, pos); in setup_swapchain_data_pipeline()1533 attribute_desc[1].location = 1; in setup_swapchain_data_pipeline()1534 attribute_desc[1].binding = binding_desc[0].binding; in setup_swapchain_data_pipeline()1535 attribute_desc[1].format = VK_FORMAT_R32G32_SFLOAT; in setup_swapchain_data_pipeline()1536 attribute_desc[1].offset = IM_OFFSETOF(ImDrawVert, uv); in setup_swapchain_data_pipeline()1537 attribute_desc[2].location = 2; in setup_swapchain_data_pipeline()[all …]