Skip to content

Commit ae8df64

Browse files
committed
Refer to SDL_CreateGPUComputePipeline() appropriately
1 parent a3e5335 commit ae8df64

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

include/SDL3/SDL_gpu.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3672,7 +3672,8 @@ extern SDL_DECLSPEC void SDLCALL SDL_BindGPUComputePipeline(
36723672
* The textures must have been created with SDL_GPU_TEXTUREUSAGE_SAMPLER.
36733673
*
36743674
* Be sure your shader is set up according to the requirements documented in
3675-
* SDL_CreateGPUShader().
3675+
* SDL_CreateGPUComputePipeline().
3676+
*
36763677
*
36773678
* \param compute_pass a compute pass handle.
36783679
* \param first_slot the compute sampler slot to begin binding from.
@@ -3683,7 +3684,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_BindGPUComputePipeline(
36833684
*
36843685
* \since This function is available since SDL 3.2.0.
36853686
*
3686-
* \sa SDL_CreateGPUShader
3687+
* \sa SDL_CreateGPUComputePipeline
36873688
*/
36883689
extern SDL_DECLSPEC void SDLCALL SDL_BindGPUComputeSamplers(
36893690
SDL_GPUComputePass *compute_pass,
@@ -3698,7 +3699,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_BindGPUComputeSamplers(
36983699
* SDL_GPU_TEXTUREUSAGE_COMPUTE_STORAGE_READ.
36993700
*
37003701
* Be sure your shader is set up according to the requirements documented in
3701-
* SDL_CreateGPUShader().
3702+
* SDL_CreateGPUComputePipeline().
37023703
*
37033704
* \param compute_pass a compute pass handle.
37043705
* \param first_slot the compute storage texture slot to begin binding from.
@@ -3707,7 +3708,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_BindGPUComputeSamplers(
37073708
*
37083709
* \since This function is available since SDL 3.2.0.
37093710
*
3710-
* \sa SDL_CreateGPUShader
3711+
* \sa SDL_CreateGPUComputePipeline
37113712
*/
37123713
extern SDL_DECLSPEC void SDLCALL SDL_BindGPUComputeStorageTextures(
37133714
SDL_GPUComputePass *compute_pass,

0 commit comments

Comments
 (0)