aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authordan sinclair <dj2@everburning.com>2019-03-30 13:29:57 -0400
committerGitHub <noreply@github.com>2019-03-30 13:29:57 -0400
commit86af71dc2875a1c64bcb9e418aa5ad43c7a6747d (patch)
tree701930b34a5402122e5eba8143d877b72b3535a0 /docs
parentf23a84c68a7fa5a86429d1261f02f427402ce4db (diff)
downloadamber-86af71dc2875a1c64bcb9e418aa5ad43c7a6747d.tar.gz
[vkscript] report error on invalid ssbo subdata offset. (#421)
This CL adds an error message if the requested offset is not a multiple of the data type. This also updates the DatumType code to handle std140 layouts where we have to add an extra element for 3 item arrays. Currently all things are considered to be in std140. Fixes #296.
Diffstat (limited to 'docs')
-rw-r--r--docs/vk_script.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/vk_script.md b/docs/vk_script.md
index 8497b20..509bb70 100644
--- a/docs/vk_script.md
+++ b/docs/vk_script.md
@@ -233,7 +233,7 @@ Sets the size of the SSBO at `binding` to `size`.
Sets the value of the buffer at `binding` and `offset`. The `type` is from the
*Data Types* section below. The `values` must be a non-zero multiple of the
-requested `type`.
+requested `type`. The offset must be a multiple of the _type_ size in bytes.
### Patch Parameters