mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-24 05:29:12 +00:00
GPU: Metal vertex buffer indices should grow upward (#10837)
This commit is contained in:
parent
0548050fc5
commit
4f722d372a
2 changed files with 11 additions and 16 deletions
include/SDL3
|
@ -1983,7 +1983,7 @@ extern SDL_DECLSPEC SDL_GPUSampler *SDLCALL SDL_CreateGPUSampler(
|
|||
* - [[texture]]: Sampled textures, followed by storage textures
|
||||
* - [[sampler]]: Samplers with indices corresponding to the sampled textures
|
||||
* - [[buffer]]: Uniform buffers, followed by storage buffers. Vertex buffer 0
|
||||
* is bound at [[buffer(30)]], vertex buffer 1 at [[buffer(29)]], and so on.
|
||||
* is bound at [[buffer(14)]], vertex buffer 1 at [[buffer(15)]], and so on.
|
||||
* Rather than manually authoring vertex buffer indices, use the
|
||||
* [[stage_in]] attribute which will automatically use the vertex input
|
||||
* information from the SDL_GPUPipeline.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue