summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index a6358d8..ebf49a0 100644
--- a/README.md
+++ b/README.md
@@ -433,7 +433,9 @@ just a new pipeline after a reload. No sketch touches a graphics API. The
shaders are GLSL; the build turns them into SPIR-V for native and WGSL for
the web, and each build imports the form its host reads (see Build API). `abi.gpu.pipeline(Vertex, ...)` derives the
vertex layout from a struct, and `abi.gpu.uniform` checks std140 at
-compile time. A pipeline without attributes makes its own vertices from
+compile time, and the size: a uniform block is 4096 bytes at most, all
+SDL_GPU's Vulkan backend binds of one (a larger one was cut off without a
+word), so more goes in a storage buffer. A pipeline without attributes makes its own vertices from
`gl_VertexIndex` (a full-screen triangle, for shader-toy style views).
Compute is data too. `host.newBuffer(size)` makes a GPU storage buffer,