aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordan sinclair <dj2@everburning.com>2019-04-10 13:22:05 -0400
committerGitHub <noreply@github.com>2019-04-10 13:22:05 -0400
commite968f5c9f485ffc8b709f79177bd7e64516f2b8f (patch)
tree0322090c5c81bf99d73851ad01f9d259a5568f70 /README.md
parentd4e543bfcc6e92cfa975254af693bbdb73b13d58 (diff)
downloadamber-e968f5c9f485ffc8b709f79177bd7e64516f2b8f.tar.gz
AmberScript and README updates (#459)
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/README.md b/README.md
index 8507392..ec8665e 100644
--- a/README.md
+++ b/README.md
@@ -144,14 +144,18 @@ A Vulkan implementation is found by CMake in the following priority order:
Environment variables:
* `VULKAN_SDK` should point to the platform-specific SDK directory
that contains the `include` and `lib` directories.
- Example: `VULKAN_SDK=$HOME/vulkan-macos-1.1.85.0/macOS`
* `VK_ICD_FILENAMES` should point to the ICD JSON file.
- Example: `VK_ICD_FILENAMES=$VULKAN_SDK/etc/vulkan/icd.d/MoltenVK_icd.json`
- * `VK_LAYER_PATH` should point to the
- $VULKAN_SDK/etc/vulkan/explicit\_layer.d folder.
+ * `VK_LAYER_PATH` should point to the explicit\_layer.d folder.
* `LD_LIBRARY_PATH` must contain the $VULKAN_SDK/lib/ folder for the
validation libraries.
+ ```
+ export VULKAN_SDK=$HOME/vulkan-macos-1.1.85.0/macOS
+ export VK_ICD_FILENAMES=$VULKAN_SDK/etc/vulkan/icd.d/MoltenVK_icd.json
+ export VK_LAYER_PATH=$VULKAN_SDK/etc/vulkan/explicit_layer.d
+ export LD_LIBRARY_PATH=$VULKAN_SDK/lib:$LD_LIBRARY_PATH
+ ```
+
### Using Dawn as a backend
We assume you have built [Dawn][Dawn] from source, and have access to both the