upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/shader_validation.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/shader_validation.md')
-rw-r--r--docs/shader_validation.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/shader_validation.md b/docs/shader_validation.md
index 5eb987cb5..f941064be 100644
--- a/docs/shader_validation.md
+++ b/docs/shader_validation.md
@@ -1231,10 +1231,11 @@ implementation-defined for binary64; the GPU oracle therefore counts `v_rsq_f64`
1231 1231
1232Known divergence probes are excluded and counted by default, then reinserted with `--known`: binary64 output modifiers 1232Known divergence probes are excluded and counted by default, then reinserted with `--known`: binary64 output modifiers
1233(SHADER-721), binary64 `OpFNegate`/`FAbs` that the CPU interpreter rounds through binary32 (TEST-912, #4172), 1233(SHADER-721), binary64 `OpFNegate`/`FAbs` that the CPU interpreter rounds through binary32 (TEST-912, #4172),
1234driver-dependent NaN or signed-zero clamp results, and `v_div_fixup_f64` with a NaN `S0` and an ordinary finite 1234and driver-dependent NaN or signed-zero clamp results. The CPU translator reproduces none of these today, so
1235division. The latter follows the RDNA2 ISA reference (`NaN(S0) -> signed infinity`), while the current translator 1235`--known` is clean there; it can still return 1 where one reproduces (the RTX 4070 `--oracle gpu` run does for the
1236preserves the NaN payload. Therefore `--known` can intentionally return 1 when this known mismatch is reproduced; 1236clamp form), and the minimized case is printed. `v_div_fixup_f64` with a NaN `S0` is not a known divergence: it gives
1237the minimized case is printed. `--oracle gpu` translates the same 1237signed infinity, measured on RDNA2 `gfx1036` (TEST-983; the translator has it since #2477), and is compared like any other case.
1238`--oracle gpu` translates the same
1238fragment shader and runs it through `runtime/build/vk_harness`, comparing the raw RGBA32F output words. It assembles 1239fragment shader and runs it through `runtime/build/vk_harness`, comparing the raw RGBA32F output words. It assembles
1239the fragment module with `spirv-as` and the full-screen vertex shader with the Vulkan SDK's `glslc`; use `--exe PATH` 1240the fragment module with `spirv-as` and the full-screen vertex shader with the Vulkan SDK's `glslc`; use `--exe PATH`
1240to select another `vk_harness`. It exits 77 if the executable, SDK tools, Vulkan device or required `shaderFloat64` 1241to select another `vk_harness`. It exits 77 if the executable, SDK tools, Vulkan device or required `shaderFloat64`