diff options
| author | Andre Weissflog <floooh@gmail.com> | 2024-11-05 20:54:05 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2024-11-05 20:54:05 +0100 |
| commit | 7ab7efaa92c97a9abb16bd357958210864ccf959 (patch) | |
| tree | f8add4524980cad50b4991a061e317b2e7753e8e | |
| parent | 6b836bd6ff1511173f339dde65e380fd222ccb3b (diff) | |
sokoL_gfx.h: fix some comments
| -rw-r--r-- | sokol_gfx.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h index 22d7c549..6c3ce0ef 100644 --- a/sokol_gfx.h +++ b/sokol_gfx.h @@ -776,7 +776,7 @@ (in HLSL, storage buffers and texture share the same bind space) - Metal/MSL: the buffer bind slot N (`[[buffer(N)]]`) where N is 8..15 - WebGPU/WGSL: the binding N in `@group(0) @binding(N)` where N is 0..127 - - GL/GLSL: the buffer binding N in `layout(binding=N)` where N is 0..8 + - GL/GLSL: the buffer binding N in `layout(binding=N)` where N is 0..16 - note that storage buffers are not supported on all backends and platforms @@ -3061,6 +3061,7 @@ typedef struct sg_sampler_desc { - HLSL: the texture(sic) register `register(t0..23)` - MSL: the buffer attribute `[[buffer(8..15)]]` - WGSL: the binding in `@group(1) @binding(0..127)` + - GL: the binding in `layout(binding=0..16)` - reflection information for each combined image-sampler object used by the shader: |