aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authordan sinclair <dsinclair@google.com>2019-05-15 14:07:21 -0400
committerGitHub <noreply@github.com>2019-05-15 14:07:21 -0400
commitb1f670eac03d420dca9c10dc81cefc721c881dc2 (patch)
treee4f9b982fa82ca27b78a5fba20f281c2a4afb02a /docs
parentef1b11047bdd9a500cad452cb1eda8b30733369f (diff)
downloadamber-b1f670eac03d420dca9c10dc81cefc721c881dc2.tar.gz
[vkscript] Document buffer format restriction. (#504)
Fixes #501
Diffstat (limited to 'docs')
-rw-r--r--docs/vk_script.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/vk_script.md b/docs/vk_script.md
index 78e2523..7004134 100644
--- a/docs/vk_script.md
+++ b/docs/vk_script.md
@@ -231,7 +231,9 @@ use the same `type` or the script will be rejected as invalid.
### SSBO size
* `ssbo _binding_ _size_`
-Sets the number of elements in the SSBO at `binding` to `size`.
+Sets the number of elements in the SSBO at `binding` to `size`. Note, Amber
+requires a buffer to have a format. So, a `subdata` or `probe ssbo` call must
+be made with this buffer in order to set the buffer format.
### SSBO subdata