# GpuComputeState

`import { GpuComputeState } from "destack:gpu/binding";`

Compute-state descriptor.

```ds title="GpuComputeState"
export struct GpuComputeState {
    module: GpuShaderHandle;
    entry: string;
    constants: [GpuPipelineConstant];
}
```

[language/library/src/gpu/binding/pipeline.ds:471:478](https://github.com/destack-sh/destack/blob/main/language/library/src/gpu/binding/pipeline.ds#L471-L478)

## Members

### `module: GpuShaderHandle`

Compute shader-module handle.

### `entry: string`

Compute entry point when provided.

### `constants: [GpuPipelineConstant]`

Compute-stage specialization constants.
