Skip to content

Commit 5ee9571

Browse files
tests: Add helpful text for updating format features
1 parent 171616e commit 5ee9571

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/icd/test_icd.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,9 @@ static VKAPI_ATTR void VKAPI_CALL GetPhysicalDeviceFeatures(VkPhysicalDevice phy
368368
SetBoolArrayTrue(bool_array, num_bools);
369369
}
370370

371+
// When using profiles, the format features are found in tests/device_profiles/max_profile.json
372+
//
373+
// Updating this function is not how to add specific format support for the "normal" case
371374
static VKAPI_ATTR void VKAPI_CALL GetPhysicalDeviceFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format,
372375
VkFormatProperties* pFormatProperties) {
373376
if (VK_FORMAT_UNDEFINED == format) {
@@ -1339,6 +1342,9 @@ static VKAPI_ATTR void VKAPI_CALL GetPhysicalDeviceProperties2(VkPhysicalDevice
13391342
}
13401343
}
13411344

1345+
// When using profiles, the format features are found in tests/device_profiles/max_profile.json
1346+
//
1347+
// Updating this function is not how to add specific format support for the "normal" case
13421348
static VKAPI_ATTR void VKAPI_CALL GetPhysicalDeviceFormatProperties2(VkPhysicalDevice physicalDevice, VkFormat format,
13431349
VkFormatProperties2* pFormatProperties) {
13441350
GetPhysicalDeviceFormatProperties(physicalDevice, format, &pFormatProperties->formatProperties);

0 commit comments

Comments
 (0)