---
title: "SD0030: TypeShade 컴파일러가 진단에 붙이는 오류 코드와 그 뜻, 고치는 법"
description: "SD0030, TypeShade 컴파일러의 오류 코드입니다. unsupported feature for this backend"
url: https://typeshade.dev/ko/reference/errors/sd0030/
language: ko
---

# `SD0030`

코어 코드

unsupported feature for this backend

레지스트리 설명과 컴파일러 메시지는 컴파일러 원문이라 한국어 페이지에서도 영어로 둡니다.

## 발생 조건

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.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.)
}
```

빌드할 때 고정된 컴파일러로 이 프로그램을 컴파일하면 [`TS8015`](https://typeshade.dev/ko/reference/errors/ts8015/) 진단이 나옵니다. 백엔드가 모듈을 거부했다고 프런트엔드가 알리는 진단입니다. 백엔드가 던진 오류에 이 코드가 들어 있습니다.

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

## 고치는 법

레지스트리의 힌트: see [Capabilities and extensions](https://typeshade.dev/ko/guide/authoring/capabilities-extensions/) for the per-backend support table; a capability the target has no capProfile row for fails closed by design

같은 프로그램을 고친 모습입니다. 진단 없이 컴파일됩니다.

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.
}
```

## 함께 보기

- [WGSL과 GLSL](https://typeshade.dev/ko/guide/concepts/wgsl-and-glsl/)
- [`TypeShadeError`](https://typeshade.dev/ko/api/typeshadeerror/)
- [오류 코드](https://typeshade.dev/ko/reference/errors/)

## 소스

커밋 af54ddad5에서 컴파일러가 이 코드를 내는 곳입니다. 파일마다 한 줄씩 적었습니다.

- [`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)
