# SDL: docs: fix where GPU API docs said "first\_vertex" but meant "first\_offset".

**URL:** <https://discourse.libsdl.org/t/sdl-docs-fix-where-gpu-api-docs-said-first-vertex-but-meant-first-offset/69995>\
**Category:** SDL Commits\
**Created:** [November 19, 2026, 2:59am UTC](https://discourse.libsdl.org/t/sdl-docs-fix-where-gpu-api-docs-said-first-vertex-but-meant-first-offset/69995 "2026-11-19T02:59:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [November 19, 2026, 2:59am UTC](https://discourse.libsdl.org/t/sdl-docs-fix-where-gpu-api-docs-said-first-vertex-but-meant-first-offset/69995/1 "2026-11-19T02:59:53Z")

</div>

> <https://github.com/libsdl-org/SDL/commit/543e3e13a3a76036bbdbbb4ccbf7a763cd960a0e>
>
> Fixes #15475.

```diff
From 543e3e13a3a76036bbdbbb4ccbf7a763cd960a0e Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Wed, 18 Nov 2026 15:05:46 -0500
Subject: [PATCH] docs: fix where GPU API docs said "first_vertex" but meant
 "first_offset".

Fixes #15475.
---
 include/SDL3/SDL_gpu.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/SDL3/SDL_gpu.h b/include/SDL3/SDL_gpu.h
index 87a0665eb9cb2..4d877c9e4ac07 100644
--- a/include/SDL3/SDL_gpu.h
+++ b/include/SDL3/SDL_gpu.h
@@ -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

```
