diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-01-06 17:32:22 -0700 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-02-04 17:58:04 -0700 |
| commit | ab4aed7deb7a46c9b8c94397d71f7c1e01aec444 (patch) | |
| tree | 868c2b46c964d4bd06d9e8243a9a77afff88f404 | |
| parent | 7b6fda4e644d98257e4baa3c5f26b075135ec053 (diff) | |
| download | usermoji-ab4aed7deb7a46c9b8c94397d71f7c1e01aec444.tar.xz | |
info: Update BUILD document with layer info
| -rw-r--r-- | BUILD.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |
