---
title: "INTRINSIC_BINDING_REFS: constant in Backends, TypeShade API"
description: "INTRINSIC_BINDING_REFS, a constant in Backends. The binding names an intrinsic's emitted text reads directly, keyed by intrinsic id…"
url: https://typeshade.dev/api/intrinsicbindingrefs/
language: en
---

# `INTRINSIC_BINDING_REFS`

Constant in Backends

The binding names an intrinsic's emitted text reads directly, keyed by intrinsic id, for the intrinsics whose spelling names a binding with no argument carrying it.

`import { INTRINSIC_BINDING_REFS } from 'typeshade'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
const INTRINSIC_BINDING_REFS: Readonly<Record<string, readonly string[]>>
```

## Description

Today that is `f64Guard`, whose fetch reads the `_fp64` texture. Reference collection over the IR walks argument nodes, so it cannot see these names. A consumer that trims a shader stage down to the bindings it uses must also keep every binding listed here for each intrinsic call it keeps; otherwise the emitted GLSL reads a sampler the shader never declares, and the driver rejects it at compile time. Any intrinsic that hardcodes a binding name into its spelling needs a row here.

## Source

[`src/core/intrinsics.ts`, line 1076](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/intrinsics.ts#L1076), at commit af54ddad5
