Skip to content

Commit bdf0de6

Browse files
GPU Testing Environment: log device features
1 parent af39c68 commit bdf0de6

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Tests/GPUTestFramework/src/GPUTestingEnvironment.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,8 @@ GPUTestingEnvironment::GPUTestingEnvironment(const CreateInfo& EnvCI, const Swap
594594
AdapterInfoStr += " MB.";
595595
LOG_INFO_MESSAGE(AdapterInfoStr);
596596

597+
LOG_INFO_MESSAGE("Device features:\n", GetDeviceFeaturesString(m_pDevice->GetDeviceInfo().Features, 3));
598+
597599
#if ARCHIVER_SUPPORTED
598600
// Create archiver factory
599601
{

Tests/GPUTestFramework/src/Vulkan/TestingEnvironmentVk.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ TestingEnvironmentVk::TestingEnvironmentVk(const CreateInfo& CI,
5858
volkInitialize();
5959

6060
RefCntAutoPtr<IRenderDeviceVk> pRenderDeviceVk{m_pDevice, IID_RenderDeviceVk};
61+
62+
DeviceFeaturesVk FeaturesVk;
63+
pRenderDeviceVk->GetDeviceFeaturesVk(FeaturesVk);
64+
LOG_INFO_MESSAGE("Vulkan-specific device features:\n", GetDeviceFeaturesString(FeaturesVk, 3));
65+
6166
m_vkDevice = pRenderDeviceVk->GetVkDevice();
6267
m_vkPhysicalDevice = pRenderDeviceVk->GetVkPhysicalDevice();
6368

0 commit comments

Comments
 (0)