aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-01-06 17:32:22 -0700
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-02-04 17:58:04 -0700
commitab4aed7deb7a46c9b8c94397d71f7c1e01aec444 (patch)
tree868c2b46c964d4bd06d9e8243a9a77afff88f404
parent7b6fda4e644d98257e4baa3c5f26b075135ec053 (diff)
downloadusermoji-ab4aed7deb7a46c9b8c94397d71f7c1e01aec444.tar.xz
info: Update BUILD document with layer info
-rw-r--r--BUILD.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/BUILD.md b/BUILD.md
index 19b11c77..23536b57 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -32,6 +32,15 @@ environment variable LIBXGL_DRIVERS_PATH to the driver path. For example:
export LIBXGL_DRIVERS_PATH=$PWD/icd/intel
```
+To enable debug and validation layers with your XGL programs you must tell the icd loader
+where to find the layer libraries. Set the environment variable LIBXGL_LAYERS_PATH to
+the layer folder and indicate the layers you want loaded via LIBXGL_LAYER_NAMES.
+For example, to enable the APIDump and DrawState layers, do:
+```
+export LIBXGL_LAYERS_PATH=$PWD/layers
+export LIBXGL_LAYER_NAMES=APIDump:DrawState
+```
+
##Test
The test executibles can be found in the dbuild/tests directory. The tests use the Google