MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / vk_GetPhysicalDeviceFeatures

Function vk_GetPhysicalDeviceFeatures

source/vulkan/vk_host.cpp:1120–1126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1118 MarshalVkPhysicalDeviceMemoryProperties::write(pBoxedInfo, cpu->memory, ARG2, &pMemoryProperties.s);
1119}
1120void vk_GetPhysicalDeviceFeatures(CPU* cpu) {
1121 VkPhysicalDevice physicalDevice = (VkPhysicalDevice)getVulkanPtr(cpu->memory, ARG1);
1122 BoxedVulkanInfo* pBoxedInfo = getInfoFromHandle(cpu->memory, ARG1);
1123 MarshalVkPhysicalDeviceFeatures pFeatures(pBoxedInfo, cpu->memory, ARG2);
1124 pBoxedInfo->pvkGetPhysicalDeviceFeatures(physicalDevice, &pFeatures.s);
1125 MarshalVkPhysicalDeviceFeatures::write(pBoxedInfo, cpu->memory, ARG2, &pFeatures.s);
1126}
1127void vk_GetPhysicalDeviceFormatProperties(CPU* cpu) {
1128 VkPhysicalDevice physicalDevice = (VkPhysicalDevice)getVulkanPtr(cpu->memory, ARG1);
1129 BoxedVulkanInfo* pBoxedInfo = getInfoFromHandle(cpu->memory, ARG1);

Callers

nothing calls this directly

Calls 3

getVulkanPtrFunction · 0.85
getInfoFromHandleFunction · 0.85
writeFunction · 0.85

Tested by

no test coverage detected