diff options
author | Lionel Landwerlin <[email protected]> | 2019-02-25 12:37:27 +0000 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2019-02-28 12:40:57 +0000 |
commit | b6b275212dc4eef9014f9e8bd247b72debde4b8b (patch) | |
tree | 738e012b6cc6e76251323407827a7e0d313d7e2c /src/vulkan/overlay-layer/README | |
parent | 4e29a1d36ae72e0192c52efe6865d5b0e58a1358 (diff) |
vulkan/overlay: rework option parsing
Makes adding new options easier.
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/vulkan/overlay-layer/README')
-rw-r--r-- | src/vulkan/overlay-layer/README | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/vulkan/overlay-layer/README b/src/vulkan/overlay-layer/README index d3fb03a7e94..ae0d6dc37e9 100644 --- a/src/vulkan/overlay-layer/README +++ b/src/vulkan/overlay-layer/README @@ -2,21 +2,16 @@ A Vulkan layer to display information about the running application using an overlay. To turn on the layer run : -``` + VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay /path/to/my_vulkan_app -``` List the available statistics : -``` -VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay VK_LAYER_MESA_OVERLAY_STATS=help /path/to/my_vulkan_app -``` + +VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay VK_LAYER_MESA_OVERLAY_CONFIG=help /path/to/my_vulkan_app Turn on some statistics : -``` -VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay VK_LAYER_MESA_OVERLAY_STATS=submit,draw,pipeline-graphics /path/to/my_vulkan_app -``` +VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay VK_LAYER_MESA_OVERLAY_CONFIG=submit=1,draw=1,pipeline_graphics=1 /path/to/my_vulkan_app Position the layer : -``` -VK_INSTANCE_LAYERS=VK_LAYER_MESA_overlay VK_LAYER_MESA_OVERLAY_STATS=submit,draw,pipeline-graphics VK_LAYER_MESA_OVERLAY_POSITION=top-right /path/to/my_vulkan_app -``` + +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 |