diff options
Diffstat (limited to 'docs/testing.md')
| -rw-r--r-- | docs/testing.md | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/testing.md b/docs/testing.md index 62f5ced44..1647a85a9 100644 --- a/docs/testing.md +++ b/docs/testing.md | |||
| @@ -655,8 +655,9 @@ fallback"), so the device needs geometry shaders instead. | |||
| 655 | 655 | ||
| 656 | `ps_interp_f16_high` and `ms_f16_pack` read 16-bit interpolants as `PerVertexKHR` inputs, which need the extension | 656 | `ps_interp_f16_high` and `ms_f16_pack` read 16-bit interpolants as `PerVertexKHR` inputs, which need the extension |
| 657 | too and which `--bary-fallback` can't express. With `LEONIDA_F16_INTERP_FALLBACK=1` they read halves the producer | 657 | too and which `--bary-fallback` can't express. With `LEONIDA_F16_INTERP_FALLBACK=1` they read halves the producer |
| 658 | exports decoded instead (see Macs, below) and run with or without the bary fallback; `run_gpu_tests.py` turns that | 658 | exports decoded instead (see Macs, below) and run with or without the bary fallback; `run_gpu_tests.py`, `build.py` |
| 659 | on by itself where the device lacks the extension. Under the bary fallback without it they skip. | 659 | and `check.py` turn that on by themselves where the device lacks the extension. Under the bary fallback without it |
| 660 | they skip. | ||
| 660 | 661 | ||
| 661 | Intel Arc with Mesa ANV currently advertises the native barycentric feature but has a driver bug where translated | 662 | Intel Arc with Mesa ANV currently advertises the native barycentric feature but has a driver bug where translated |
| 662 | pixel shaders can read `BaryCoordKHR.i` as zero (SHADER-925). `make_game.py` detects ANV and automatically translates | 663 | pixel shaders can read `BaryCoordKHR.i` as zero (SHADER-925). `make_game.py` detects ANV and automatically translates |
| @@ -682,8 +683,10 @@ are not covered: none has been measured. | |||
| 682 | MoltenVK can't convert to Metal ("PerVertexKHR decoration is not supported in MSL"). `run_gpu_tests.py` asks | 683 | MoltenVK can't convert to Metal ("PerVertexKHR decoration is not supported in MSL"). `run_gpu_tests.py` asks |
| 683 | `tools/vk_subgroup_info.py` whether the device can take them and, on MoltenVK, translates with | 684 | `tools/vk_subgroup_info.py` whether the device can take them and, on MoltenVK, translates with |
| 684 | `--f16-interp-fallback` by itself: the vertex or mesh shader then also exports the decoded f16 halves | 685 | `--f16-interp-fallback` by itself: the vertex or mesh shader then also exports the decoded f16 halves |
| 685 | (`docs/design.md`, "16-bit interpolation without `PerVertexKHR`"). `LEONIDA_F16_INTERP_FALLBACK=1` or `0` forces it | 686 | (`docs/design.md`, "16-bit interpolation without `PerVertexKHR`"). `build.py` and `check.py` ask the same question, |
| 686 | on or off; `build.py` (for `check.py`) translates with the flag only when that variable is `1`. `ms_f16_pack` also runs | 687 | so the two-step form translates and judges the shaders the same way: `ps_interp_f16_high` passes and `ps_ij_computed`, |
| 688 | whose computed I/J pair needs those inputs, is left out and reported as `SKIP`. `LEONIDA_F16_INTERP_FALLBACK=1` or `0` | ||
| 689 | forces the fallback on or off in all three; set it for `build.py` and `check.py` alike. `ms_f16_pack` also runs | ||
| 687 | on a Mac with `LEONIDA_MESH_COMPUTE=1 LEONIDA_W64_EMULATE=1`. | 690 | on a Mac with `LEONIDA_MESH_COMPUTE=1 LEONIDA_W64_EMULATE=1`. |
| 688 | 691 | ||
| 689 | ## GPUs without VK_KHR_maintenance8 (NVIDIA Pascal and older) | 692 | ## GPUs without VK_KHR_maintenance8 (NVIDIA Pascal and older) |