mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-11-30 16:48:41 +01:00
docs: fix where GPU API docs said "first_vertex" but meant "first_offset".
Fixes #15475.
This commit is contained in:
@@ -1572,7 +1572,7 @@ typedef struct SDL_GPUIndirectDrawCommand
|
||||
/**
|
||||
* A structure specifying the parameters of an indexed indirect draw command.
|
||||
*
|
||||
* Note that the `first_vertex` and `first_instance` parameters are NOT
|
||||
* Note that the `first_offset` and `first_instance` parameters are NOT
|
||||
* compatible with built-in vertex/instance ID variables in shaders (for
|
||||
* example, SV_VertexID); GPU APIs and shader languages do not define these
|
||||
* built-in variables consistently, so if your shader depends on them, the
|
||||
@@ -3900,7 +3900,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_BindGPUFragmentStorageBuffers(
|
||||
*
|
||||
* You must not call this function before binding a graphics pipeline.
|
||||
*
|
||||
* Note that the `first_vertex` and `first_instance` parameters are NOT
|
||||
* Note that the `first_offset` and `first_instance` parameters are NOT
|
||||
* compatible with built-in vertex/instance ID variables in shaders (for
|
||||
* example, SV_VertexID); GPU APIs and shader languages do not define these
|
||||
* built-in variables consistently, so if your shader depends on them, the
|
||||
|
||||
Reference in New Issue
Block a user