diff options
| author | 73N1X <115502401+73N1X@users.noreply.github.com> | 2026-11-22 20:03:15 -0400 |
|---|---|---|
| committer | Jonathan <jonathan@thezenpanel.com> | 2026-11-22 20:07:05 -0400 |
| commit | 4f760c1aed169a75a6f7207871d575f72a29979c (patch) | |
| tree | a297f5ab92a32392236bc9d5514cd8293bf6c79f /scripts/run_gpu_tests.py | |
| parent | aa2988cc555bad7ecd508b48a702adbb32fe7c95 (diff) | |
Shader: isolate wave32 pixel operations in wider subgroups (SHADER-731)
Diffstat (limited to 'scripts/run_gpu_tests.py')
| -rw-r--r-- | scripts/run_gpu_tests.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index 94de20f26..5cc36da0d 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py | |||
| @@ -388,8 +388,6 @@ def check_bitmask_perm(raw_path: str, msg: str = "") -> tuple[bool | None, str]: | |||
| 388 | first = "" | 388 | first = "" |
| 389 | judged = 0 | 389 | judged = 0 |
| 390 | for i, (lane, v1, v2, v3) in enumerate(px): | 390 | for i, (lane, v1, v2, v3) in enumerate(px): |
| 391 | if lane >= 32: # wave32 test: in a 64-wide subgroup lanes 32-63 hold values it never wrote | ||
| 392 | continue | ||
| 393 | judged += 1 | 391 | judged += 1 |
| 394 | w1 = lane ^ 9 | 392 | w1 = lane ^ 9 |
| 395 | w2 = ((lane & 5) | 16) ^ 1 | 393 | w2 = ((lane & 5) | 16) ^ 1 |
| @@ -397,7 +395,7 @@ def check_bitmask_perm(raw_path: str, msg: str = "") -> tuple[bool | None, str]: | |||
| 397 | if not bad: | 395 | if not bad: |
| 398 | first = f"at ({i%64},{i//64}) lane={lane}: got ({v1},{v2},{v3}), want ({w1},{w2},0)" | 396 | first = f"at ({i%64},{i//64}) lane={lane}: got ({v1},{v2},{v3}), want ({w1},{w2},0)" |
| 399 | bad += 1 | 397 | bad += 1 |
| 400 | return (bad == 0 and judged > 0), (first if bad else f"{judged}/{judged} pixels in lanes 0-31 exact") | 398 | return (bad == 0 and judged > 0), (first if bad else f"{judged}/{judged} pixels exact") |
| 401 | 399 | ||
| 402 | 400 | ||
| 403 | # Pixel shaders that read memory: vk_harness puts this V# in s[0:3] and seeds the heap it points at, as | 401 | # Pixel shaders that read memory: vk_harness puts this V# in s[0:3] and seeds the heap it points at, as |