aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authordan sinclair <dsinclair@google.com>2019-04-24 22:46:52 -0400
committerGitHub <noreply@github.com>2019-04-24 22:46:52 -0400
commit8232a8c1486d48aa298603423e5243f605d4789a (patch)
tree0df9a0d7656f88596e19c02e55b1238121ae5178 /docs
parent580aa57722851a03421298ab19708bc971a9b9e6 (diff)
downloadamber-8232a8c1486d48aa298603423e5243f605d4789a.tar.gz
[amberscript] Add instance and device extensions (#493)
This CL adds support for parsing instance and device extensions in amberscript test files. Fixes #346
Diffstat (limited to 'docs')
-rw-r--r--docs/amber_script.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/amber_script.md b/docs/amber_script.md
index 618fece..afd2390 100644
--- a/docs/amber_script.md
+++ b/docs/amber_script.md
@@ -25,8 +25,8 @@ which is the characters `0x` followed by hexadecimal digits.
### Requesting features
-If specific device features are required you can use the DEVICE\_FEATURE command
-to enable them.
+If specific device features are required you can use the `DEVICE_FEATURE`
+command to enable them.
```groovy
DEVICE_FEATURE vertexPipelineStoresAndAtomics
@@ -37,6 +37,14 @@ Currently each of the items in `VkPhysicalDeviceFeatures` are recognized along
with `VariablePointerFeatures.variablePointers` and
`VariablePointerFeatures.variablePointersStorageBuffer`.
+Extensions can be enabled with the `DEVICE_EXTENSION` and `INSTANCE_EXTENSION`
+commands.
+
+```groovy
+DEVICE_EXTENSION VK_KHR_get_physical_device_properties2
+INSTANCE_EXTENSION VK_KHR_storage_buffer_storage_class
+```
+
### Setting Engine Configuration
In some instances there is extra data we want to provide to an engine for