---
name: "SDL_EndGPUComputePass"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_EndGPUComputePass"
---

# SDL\_EndGPUComputePass(3)

Ends the current compute pass.

## NAME

SDL\_EndGPUComputePass - Ends the current compute pass.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**void SDL\_EndGPUComputePass(**     **SDL\_GPUComputePass \*compute\_pass);**

## DESCRIPTION

All bound compute state on the command buffer is unset. The compute pass handle is now invalid.

## FUNCTION PARAMETERS

- *compute\_pass*

  a compute pass handle.

## AVAILABILITY

This function is available since SDL 3.2.0.
