aboutsummaryrefslogtreecommitdiff
path: root/vulkaninfo/vulkaninfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vulkaninfo/vulkaninfo.cpp')
-rw-r--r--vulkaninfo/vulkaninfo.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/vulkaninfo/vulkaninfo.cpp b/vulkaninfo/vulkaninfo.cpp
index 17f1acb0..25fdf39b 100644
--- a/vulkaninfo/vulkaninfo.cpp
+++ b/vulkaninfo/vulkaninfo.cpp
@@ -591,6 +591,33 @@ void GpuDumpToolingInfo(Printer &p, AppGpu &gpu) {
}
}
+void GpuDumpCooperativeMatrix(Printer &p, AppGpu &gpu) {
+ auto props = GetCooperativeMatrixInfo(gpu);
+ if (props.size() > 0) {
+ p.SetSubHeader();
+ ObjectWrapper obj(p, "vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR");
+ for (const auto prop : props) {
+ DumpVkCooperativeMatrixPropertiesKHR(p, "VkCooperativeMatrixPropertiesKHR", prop);
+ p.AddNewline();
+ }
+ }
+}
+
+void GpuDumpCalibrateableTimeDomain(Printer &p, AppGpu &gpu) {
+ auto props = GetTimeDomainInfo(gpu);
+ if (props.size() > 0) {
+ p.SetSubHeader();
+ ObjectWrapper obj_mem_props(p, "vkGetPhysicalDeviceCalibrateableTimeDomainsKHR");
+ {
+ for (uint32_t i = 0; i < props.size(); ++i) {
+ p.SetElementIndex(static_cast<int>(i));
+ DumpVkTimeDomainKHR(p, "pTimeDomains", props[i]);
+ p.AddNewline();
+ }
+ }
+ }
+}
+
void GpuDevDump(Printer &p, AppGpu &gpu) {
p.SetHeader();
ObjectWrapper obj_format_props(p, "Format Properties");
@@ -735,6 +762,11 @@ void DumpGpu(Printer &p, AppGpu &gpu, const ShowSettings &show) {
GpuDumpToolingInfo(p, gpu);
}
+ if (show.all) {
+ GpuDumpCooperativeMatrix(p, gpu);
+ GpuDumpCalibrateableTimeDomain(p, gpu);
+ }
+
if (p.Type() != OutputType::text || show.formats) {
GpuDevDump(p, gpu);
}