---
title: "Rule 11.5: Targets and the oracle, a TypeShade design rule"
description: "Rule 11.5 of the TypeShade language design, in Targets and the oracle."
url: https://typeshade.dev/reference/rules/11-5/
language: en
---

# Rule 11.5

Chapter 11, Targets and the oracle Code only

Where WGSL fixes a result and GLSL ES 3.00 does not, the oracle must follow WGSL; where a GLSL spelling answers differently on an input WGSL settles, the determinism report must list the operation as `target`.

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

## Rationale

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

## Derives from

surface §38 (“the two targets”).

## How it is verified

Only the implementation carries it; no test checks it yet. The file below names the rule in an `Implements:` tag.

Where the rule says the compiler enforces it:

`src/core/passes/determinism.ts` and its test.

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

- [`src/core/passes/determinism.ts:1`](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/passes/determinism.ts#L1)

## Explained in

The sections of the surface document that explain this rule, at commit af54ddad5:

- [§38 What may differ by driver: the determinism report](https://github.com/typeshade/typeshade/blob/af54ddad5/docs/use-typeshade-surface.md#38-what-may-differ-by-driver-the-determinism-report)

## See also

- [Rule 11.4](https://typeshade.dev/reference/rules/11-4/) Test
- [Rule 11.6](https://typeshade.dev/reference/rules/11-6/) Test
- [Rule 1.3](https://typeshade.dev/reference/rules/1-3/)
- [Design rules](https://typeshade.dev/reference/rules/)
- [Error codes](https://typeshade.dev/reference/errors/)

## Source

The rule at commit af54ddad5:

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