ae0d6dc37e9ce195ff782f7bac6431e53544a747
[mesa.git] / src / vulkan / overlay-layer / README
1 A Vulkan layer to display information about the running application
2 using an overlay.
3
4 To turn on the layer run :
5
6 VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay /path/to/my_vulkan_app
7
8 List the available statistics :
9
10 VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay VK_LAYER_MESA_OVERLAY_CONFIG=help /path/to/my_vulkan_app
11
12 Turn on some statistics :
13 VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay VK_LAYER_MESA_OVERLAY_CONFIG=submit=1,draw=1,pipeline_graphics=1 /path/to/my_vulkan_app
14
15 Position the layer :
16
17 VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay VK_LAYER_MESA_OVERLAY_CONFIG=submit=1,draw=1,pipeline_graphics=1,position=top-right /path/to/my_vulkan_app