---
title: "determinismReport(): function in Tooling, TypeShade API"
description: "determinismReport, a function in Tooling. The operations in m whose result may differ by driver, one entry per operation and float kind…"
url: https://typeshade.dev/api/determinismreport/
language: en
---

# `determinismReport()`

Function in Tooling

The operations in m whose result may differ by driver, one entry per operation and float kind, in order of first appearance over the module constants, the module variables and the functions: a builtin with a ULP or absolute bound, one inherited from a formula the driver may reassociate or fuse, a derivative or determinant, a filtered texture read or gather, an operation the GLSL ES 3.00 spelling may answer differently, every emulated `f64` arithmetic operator and bounded builtin, and each floating-point reduction of a kernel function's loop, which runs in the tree order.

`import { determinismReport } from 'typeshade'`

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

## Syntax

```ts
function determinismReport(m: ModuleDecl): readonly DeterminismEntry[]
```

## Parameters

**`m` `ModuleDecl`**

## Return value

`readonly DeterminismEntry[]`

## Description

Empty when every operation in the module has one answer under the assumption the module header states, which is when a GPU result and the CPU oracle can differ only by the oracle’s own rounding and never by the driver’s choice. A `raw` statement is opaque and contributes nothing; a call to the module’s own helper is not listed itself, its body is. [`accuracyOf`](https://typeshade.dev/api/accuracyof/) answers for a single operation.

Exported from `typeshade`; `compile()` returns it as `determinism`.

## See also

- [`accuracyOf`](https://typeshade.dev/api/accuracyof/)

## Source

[`src/core/passes/determinism.ts`, line 144](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/passes/determinism.ts#L144), at commit af54ddad5
