From bc5c95020b91a5e20905a89a325f1c18d2982111 Mon Sep 17 00:00:00 2001 From: Nuno Silva Date: Fri, 12 Dec 2025 16:49:57 +0000 Subject: [PATCH 1/2] SDL3/SDL_PushGPUComputeUniformData: Clarify that the reuse of uniform data applies only to the current command buffer Live page is here: https://wiki.libsdl.org/SDL3/SDL_PushGPUComputeUniformData --- SDL3/SDL_PushGPUComputeUniformData.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDL3/SDL_PushGPUComputeUniformData.md b/SDL3/SDL_PushGPUComputeUniformData.md index 9deb187c9..6f8a9fda6 100644 --- a/SDL3/SDL_PushGPUComputeUniformData.md +++ b/SDL3/SDL_PushGPUComputeUniformData.md @@ -27,7 +27,7 @@ void SDL_PushGPUComputeUniformData( ## Remarks -Subsequent draw calls will use this uniform data. +Subsequent draw calls in the same command buffer will reuse this uniform data. The data being pushed must respect std140 layout conventions. In practical terms this means you must ensure that vec3 and vec4 fields are 16-byte From 9c89399ac549a7de9c30eb0633f674f88fc9fb73 Mon Sep 17 00:00:00 2001 From: Nuno Silva Date: Fri, 12 Dec 2025 22:59:33 +0000 Subject: [PATCH 2/2] SDL3/SDL_PushGPUComputeUniformData: Updated with PR suggestions Live page is here: https://wiki.libsdl.org/SDL3/SDL_PushGPUComputeUniformData --- SDL3/SDL_PushGPUComputeUniformData.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SDL3/SDL_PushGPUComputeUniformData.md b/SDL3/SDL_PushGPUComputeUniformData.md index 6f8a9fda6..0ee8db6c0 100644 --- a/SDL3/SDL_PushGPUComputeUniformData.md +++ b/SDL3/SDL_PushGPUComputeUniformData.md @@ -27,7 +27,7 @@ void SDL_PushGPUComputeUniformData( ## Remarks -Subsequent draw calls in the same command buffer will reuse this uniform data. +Subsequent draw calls in this command buffer will use this uniform data. The data being pushed must respect std140 layout conventions. In practical terms this means you must ensure that vec3 and vec4 fields are 16-byte @@ -39,4 +39,3 @@ This function is available since SDL 3.2.0. ---- [CategoryAPI](CategoryAPI), [CategoryAPIFunction](CategoryAPIFunction), [CategoryGPU](CategoryGPU) -