MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / GetPhysicalDeviceFeatures

Function GetPhysicalDeviceFeatures

tests/icd/test_icd.cpp:367–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365}
366
367static VKAPI_ATTR void VKAPI_CALL GetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures* pFeatures) {
368 uint32_t num_bools = sizeof(VkPhysicalDeviceFeatures) / sizeof(VkBool32);
369 VkBool32* bool_array = &pFeatures->robustBufferAccess;
370 SetBoolArrayTrue(bool_array, num_bools);
371}
372
373// When using profiles, the format features are found in tests/device_profiles/max_profile.json
374//

Callers 11

FeaturesMethod · 0.50
InitStateMethod · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50

Calls 1

SetBoolArrayTrueFunction · 0.85

Tested by

no test coverage detected