From 7a22076a7c30a374bbc2917fb4c08832757ea137 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Mon, 23 Dec 2024 23:58:24 +0000 Subject: [PATCH] Sync SDL3 wiki -> header [ci skip] --- include/SDL3/SDL_gpu.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/SDL3/SDL_gpu.h b/include/SDL3/SDL_gpu.h index 931f0aa784..232b4cee32 100644 --- a/include/SDL3/SDL_gpu.h +++ b/include/SDL3/SDL_gpu.h @@ -2078,23 +2078,23 @@ extern SDL_DECLSPEC SDL_GPUShaderFormat SDLCALL SDL_GetGPUShaderFormats(SDL_GPUD * * - 0: Sampled textures, followed by read-only storage textures, followed by * read-only storage buffers - * - 1: Write-only storage textures, followed by write-only storage buffers + * - 1: Read-write storage textures, followed by read-write storage buffers * - 2: Uniform buffers * * For DXBC and DXIL shaders, use the following register order: * * - (t[n], space0): Sampled textures, followed by read-only storage textures, * followed by read-only storage buffers - * - (u[n], space1): Write-only storage textures, followed by write-only + * - (u[n], space1): Read-write storage textures, followed by read-write * storage buffers * - (b[n], space2): Uniform buffers * * For MSL/metallib, use the following order: * - * - [[buffer]]: Uniform buffers, followed by write-only storage buffers, - * followed by write-only storage buffers + * - [[buffer]]: Uniform buffers, followed by read-only storage buffers, + * followed by read-write storage buffers * - [[texture]]: Sampled textures, followed by read-only storage textures, - * followed by write-only storage textures + * followed by read-write storage textures * * \param device a GPU Context. * \param createinfo a struct describing the state of the compute pipeline to