MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / GpuDumpCalibrateableTimeDomain

Function GpuDumpCalibrateableTimeDomain

vulkaninfo/vulkaninfo.cpp:607–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

605}
606
607void GpuDumpCalibrateableTimeDomain(Printer &p, AppGpu &gpu) {
608 auto props = GetTimeDomainInfo(gpu);
609 if (props.size() > 0) {
610 p.SetSubHeader();
611 ObjectWrapper obj_mem_props(p, "vkGetPhysicalDeviceCalibrateableTimeDomainsKHR");
612 {
613 for (uint32_t i = 0; i < props.size(); ++i) {
614 p.SetElementIndex(static_cast<int>(i));
615 DumpVkTimeDomainKHR(p, "pTimeDomains", props[i]);
616 p.AddNewline();
617 }
618 }
619 }
620}
621
622void GpuDumpFragmentShadingRate(Printer &p, AppGpu &gpu) {
623 auto props = GetFragmentShadingRateInfo(gpu);

Callers 1

DumpGpuFunction · 0.85

Calls 3

GetTimeDomainInfoFunction · 0.85
DumpVkTimeDomainKHRFunction · 0.85
AddNewlineMethod · 0.80

Tested by

no test coverage detected