# GpuCompilationMessage

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

Shader-compilation message descriptor.

```ds title="GpuCompilationMessage"
export struct GpuCompilationMessage {
    kind: GpuCompilationMessageKind;
    message: string;
    line: uint32;
    column: uint32;
    offset: uint32;
    length: uint32;
}
```

[language/library/src/gpu/binding/pipeline.ds:49:62](https://github.com/destack-sh/destack/blob/main/language/library/src/gpu/binding/pipeline.ds#L49-L62)

## Members

### `kind: GpuCompilationMessageKind`

Message kind.

### `message: string`

Human-readable message text.

### `line: uint32`

One-indexed source line number when available.

### `column: uint32`

One-indexed source column number when available.

### `offset: uint32`

Zero-based source byte offset when available.

### `length: uint32`

Source span length in bytes when available.
