diff options
Diffstat (limited to 'docs/shader_validation.md')
| -rw-r--r-- | docs/shader_validation.md | 9 |
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 | ||
| 1232 | Known divergence probes are excluded and counted by default, then reinserted with `--known`: binary64 output modifiers | 1232 | Known 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), |
| 1234 | driver-dependent NaN or signed-zero clamp results, and `v_div_fixup_f64` with a NaN `S0` and an ordinary finite | 1234 | and driver-dependent NaN or signed-zero clamp results. The CPU translator reproduces none of these today, so |
| 1235 | division. 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 |
| 1236 | preserves the NaN payload. Therefore `--known` can intentionally return 1 when this known mismatch is reproduced; | 1236 | clamp form), and the minimized case is printed. `v_div_fixup_f64` with a NaN `S0` is not a known divergence: it gives |
| 1237 | the minimized case is printed. `--oracle gpu` translates the same | 1237 | signed 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 | ||
| 1238 | fragment shader and runs it through `runtime/build/vk_harness`, comparing the raw RGBA32F output words. It assembles | 1239 | fragment shader and runs it through `runtime/build/vk_harness`, comparing the raw RGBA32F output words. It assembles |
| 1239 | the fragment module with `spirv-as` and the full-screen vertex shader with the Vulkan SDK's `glslc`; use `--exe PATH` | 1240 | the fragment module with `spirv-as` and the full-screen vertex shader with the Vulkan SDK's `glslc`; use `--exe PATH` |
| 1240 | to select another `vk_harness`. It exits 77 if the executable, SDK tools, Vulkan device or required `shaderFloat64` | 1241 | to select another `vk_harness`. It exits 77 if the executable, SDK tools, Vulkan device or required `shaderFloat64` |