---
title: "Rule 9.3: Built-in functions and the TypeShade extensions"
description: "Rule 9.3 of the TypeShade language design, in Built-in functions and the TypeShade extensions."
url: https://typeshade.dev/reference/rules/9-3/
language: en
---

# Rule 9.3

Chapter 9, Built-in functions and the TypeShade extensions Test

A WGSL builtin GLSL ES 3.00 has no spelling for must be behind a capability, and the GLSL emit must fail closed on it.

The rule text and the parts under it are the compiler's own English, as the design document writes them.

## Rationale

see [Rule 1.2](https://typeshade.dev/reference/rules/1-2/).

## Derives from

`docs/roadmap.md`, “make what does not compile, compile”; [#152](https://github.com/typeshade/typeshade/issues/152) for the builtins still to place.

## How it is verified

Checked by a test. A test, a gate script or a CI workflow names this rule, and the traceability check fails when a file listed below stops naming it.

Where the rule says the compiler enforces it:

`src/core/passes/required-caps.ts` and `capability-reachability.test.ts`.

The files that verify it at commit af54ddad5, each at the first line that names the rule:

- [`src/core/backends/capability-reachability.test.ts:1`](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/backends/capability-reachability.test.ts#L1)
- [`src/core/passes/required-caps.ts:10`](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/passes/required-caps.ts#L10)

## See also

- [Rule 9.2](https://typeshade.dev/reference/rules/9-2/) Test
- [Rule 9.4](https://typeshade.dev/reference/rules/9-4/) Test
- [Rule 1.2](https://typeshade.dev/reference/rules/1-2/)
- [Design rules](https://typeshade.dev/reference/rules/)
- [Error codes](https://typeshade.dev/reference/errors/)

## Source

The rule at commit af54ddad5:

- [`docs/language-design.md:1236`](https://github.com/typeshade/typeshade/blob/af54ddad5/docs/language-design.md#L1236) (the design document)
- [`reqs/rules/RULE-0903.md`](https://github.com/typeshade/typeshade/blob/af54ddad5/reqs/rules/RULE-0903.md) (its traceability item)
