File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
layer_gpu_timeline/source Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,17 @@ Device::Device(Instance* _instance,
100100
101101 initDriverDeviceDispatchTable (device, nlayerGetProcAddress, driver);
102102
103+ // Emit a log if debug utils entry points did not load. In this scenario
104+ // the layer will still be loaded and send metadata packets to the server
105+ // socket, but the Perfetto data will not contain any tag labels. We will
106+ // therefore be unable to cross-reference the two data streams to produce a
107+ // usable visualization.
108+ if (!driver.vkCmdBeginDebugUtilsLabelEXT )
109+ {
110+ LAYER_LOG (" - ERROR: Device does not expose VK_EXT_debug_utils" );
111+ LAYER_LOG (" Perfetto data will not contain cross-ref tags" );
112+ }
113+
103114 // Init the shared comms module for the first device built
104115 if (!commsModule)
105116 {
You can’t perform that action at this time.
0 commit comments