---
title: "SD0030: unsupported feature for this backend in TypeShade"
description: "SD0030, an error code of the TypeShade compiler. unsupported feature for this backend"
url: https://typeshade.dev/reference/errors/sd0030/
language: en
---

# `SD0030`

Core code

unsupported feature for this backend

The registry text and every compiler message on these pages are the compiler's own English.

## When it fires

The error already names the capability; what a reader needs next is where the per-backend support table lives, and that a capability with no row is a hard stop rather than something to work around.

## Example

example.shade.ts

```ts
"use typeshade"

declare const data: storage<array<f32>, "read_write">

@compute([64])
export function double(id: builtin<"global_invocation_id">): void {
  data[id.x] = data[id.x] * 2.
}

@fragment
export function main(uv: location<0, vec2>): vec4 {
  return vec4(uv, 0., 1.)
}
```

Compiled at build time against the pinned compiler, this program gets a [`TS8015`](https://typeshade.dev/reference/errors/ts8015/) diagnostic, the front end reporting a backend that refused the module. The error the backend threw carries the code:

**SD0030** backend 'glsl-es300' cannot emit this module — missing capabilities: storageBuffer, compute

## How to fix it

The registry's hint: see [Capabilities and extensions](https://typeshade.dev/guide/authoring/capabilities-extensions/) for the per-backend support table; a capability the target has no capProfile row for fails closed by design

The same program, corrected. It compiles with no diagnostic.

example.shade.ts

```ts
"use typeshade"

declare const data: storage<array<f32>, "read_write">

@compute([64])
export function double(id: builtin<"global_invocation_id">): void {
  data[id.x] = data[id.x] * 2.
}
```

## See also

- [WGSL and GLSL](https://typeshade.dev/guide/concepts/wgsl-and-glsl/)
- [`TypeShadeError`](https://typeshade.dev/api/typeshadeerror/)
- [Error codes](https://typeshade.dev/reference/errors/)

## Source

Where the compiler raises this code at commit af54ddad5, one line per file:

- [`src/core/backend.ts:348`](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/backend.ts#L348)
- [`src/core/diagnostics/report.ts:121`](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/diagnostics/report.ts#L121)
