diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 09:48:51 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 09:48:51 -0500 |
| commit | d2a072bc91f0ec24b4ba3aa0d7edc7e4b09e9333 (patch) | |
| tree | ebc6b437375ec06d0cbef48e18d599e0d82ee54f /runtime/test | |
| parent | c53024be39e5811a61308882741dab1c670be648 (diff) | |
| parent | 1b012a6287e2b813097f721a9a01218378c04332 (diff) | |
Merge pull request #1859 from sovljanskii
Diffstat (limited to 'runtime/test')
| -rw-r--r-- | runtime/test/shaders/check.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/test/shaders/check.py b/runtime/test/shaders/check.py index 59dc91618..3985f85e4 100644 --- a/runtime/test/shaders/check.py +++ b/runtime/test/shaders/check.py | |||
| @@ -681,6 +681,8 @@ def cvt_f32_sat_test(tools, spirv): | |||
| 681 | for bits, unsigned, signed in CVT_F32_SAT_CASES: | 681 | for bits, unsigned, signed in CVT_F32_SAT_CASES: |
| 682 | problem = compute_test(tools, spirv, "cs_cvt_f32_sat", "1", "dump", expected_words=[unsigned, signed], | 682 | problem = compute_test(tools, spirv, "cs_cvt_f32_sat", "1", "dump", expected_words=[unsigned, signed], |
| 683 | env={"VKC_SGPRS": f"{bits:#010x}"}) | 683 | env={"VKC_SGPRS": f"{bits:#010x}"}) |
| 684 | if problem is None or isinstance(problem, Skip): | ||
| 685 | return problem # the device can't run it as recorded (wave size not pinnable): the same for every input | ||
| 684 | if problem: | 686 | if problem: |
| 685 | wrong.append(f"{bits:#010x}: {problem}") | 687 | wrong.append(f"{bits:#010x}: {problem}") |
| 686 | return f"{len(wrong)} of {len(CVT_F32_SAT_CASES)} inputs wrong, first {wrong[0]}" if wrong else "" | 688 | return f"{len(wrong)} of {len(CVT_F32_SAT_CASES)} inputs wrong, first {wrong[0]}" if wrong else "" |