aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authordan sinclair <dj2@everburning.com>2019-04-11 13:49:37 -0400
committerDavid Neto <dneto@google.com>2019-04-11 13:49:37 -0400
commitd26ee22dd7faab1845a531d410f7ec1db407402a (patch)
tree0c4f724e8a66083b778899e85a96af551269be7c /docs
parentdd5b5e6ff2ce45e00b5ea35a6d04eb432737f712 (diff)
downloadamber-d26ee22dd7faab1845a531d410f7ec1db407402a.tar.gz
Unify buffer sizes. (#465)
* Unify buffer sizes. Currently the format buffer and data buffer count their size differently. For data buffers we counted elements (so 1 vec4 was size 1) and format buffers counted values (so 1 vec4 was size 4). This CL unifies the two sizes and adds ElementCount and ValueCount to make it explicit which version the user wants. As part of this, the data types used for ssbo and uniform commands must be consistent. The tests where we switched data formats part way through are updated. * build fix
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 509bb70..da0960e 100644
--- a/docs/vk_script.md
+++ b/docs/vk_script.md
@@ -225,7 +225,7 @@ multiple of the requested `type`.
### SSBO size
* `ssbo _binding_ _size_`
-Sets the size of the SSBO at `binding` to `size`.
+Sets the number of elements in the SSBO at `binding` to `size`.
### SSBO subdata