From 2d88acfcc5f5ffb705bb0bda732375ef43d37459 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 3 Apr 2021 02:58:35 +0200 Subject: [PATCH] Apply suggestions from code review --- development/cpp/validation_layers_android.rst | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/development/cpp/validation_layers_android.rst b/development/cpp/validation_layers_android.rst index 853ea4cae..9ff2a921a 100644 --- a/development/cpp/validation_layers_android.rst +++ b/development/cpp/validation_layers_android.rst @@ -4,8 +4,8 @@ Vulkan validation layers on Android =================================== Validation layers enable developers to verify their application's correct use -of the Vulkan API. After enabling validation layers a developer can see errors -and warning messages in the `logcat's` output. +of the Vulkan API. After enabling validation layers, a developer can see errors +and warning messages in the ``adb logcat`` output. Enabling validation layers -------------------------- @@ -13,8 +13,8 @@ Enabling validation layers Build validation layers from official sources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -To build Android libraries, follow the instructions on `Khronos' repository -`__. +To build Android libraries, follow the instructions on +`Khronos' repository `__. After a successful build, the libraries will be located in ``Vulkan-ValidationLayers/build-android/libs``. Copy libraries @@ -23,9 +23,7 @@ Copy libraries Copy libraries from ``Vulkan-ValidationLayers/build-android/libs`` to ``godot/platform/android/java/app/libs/debug/vulkan_validation_layers``. -Your Godot's directory tree should look like on the example below: - -:: +Your Godot source directory tree should look like on the example below:: godot |-- platform @@ -43,7 +41,8 @@ Your Godot's directory tree should look like on the example below: If the subdirectory ``libs/debug/vulkan_validation_layers`` doesn't exist, create it. -Compile and run android app -~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Compile and run the Android app +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Linked validation layers are automatically loaded and enabled in Android debug builds. +You can use Godot's :ref:`doc_one-click_deploy` feature to quickly test your project with the validation layers enabled.