upleb.uk

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

summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKacper Serewiś <kacper@serewis.nl>2026-11-23 16:48:21 +0100
committerGitHub <noreply@github.com>2026-11-23 09:48:21 -0600
commit43a9c0450146fe71e4a90a914867c8a7a002cadc (patch)
tree738b4b68ea226b5cecf31a27f317b85fa841684d /scripts
parent399f621b2ff8d95345707ee978cd8f10b45f953b (diff)
Exercise translated pixel image_load through a matched integer descriptor (#6833)
Squash-merged after diff review of PR #6833 - Exercise translated pixel image_load through a matched integer descriptor
Diffstat (limited to 'scripts')
-rw-r--r--scripts/run_gpu_tests.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index 7e35361a8..75bf851cc 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -32,7 +32,7 @@ from compute_fixture import compute_header
32from check import SAMPLER_CASES, sampler_test # ps_ssharp: the S#/T# mip fields (vk_sampler_test) 32from check import SAMPLER_CASES, sampler_test # ps_ssharp: the S#/T# mip fields (vk_sampler_test)
33from check import (CMPX_CLASS_WORDS, CVT_F32_SAT_CASES, CVT_PK_U8_WORDS, PK_MUL_LO_WORDS, GRADIENT_TESTS, TEST_PROGRAMS, TEXTURE_MIP_DEPENDENCIES, 33from check import (CMPX_CLASS_WORDS, CVT_F32_SAT_CASES, CVT_PK_U8_WORDS, PK_MUL_LO_WORDS, GRADIENT_TESTS, TEST_PROGRAMS, TEXTURE_MIP_DEPENDENCIES,
34 TEXTURE_MIP_TEST, GATHER_LOD_TEST, MIP_TEST_PASSES, TEXTURE_CONSTANTS, USER_SGPRS_ENV, USER_SGPRS_WORDS, Skip, mesh_v5_test, not_found_message, 34 TEXTURE_MIP_TEST, GATHER_LOD_TEST, MIP_TEST_PASSES, TEXTURE_CONSTANTS, USER_SGPRS_ENV, USER_SGPRS_WORDS, Skip, mesh_v5_test, not_found_message,
35 pick_build_dir, start_failure, texture_gradient_a16_test, texture_mip_test) 35 pick_build_dir, start_failure, table_fetch_test, texture_gradient_a16_test, texture_mip_test)
36from check import SIGNED_MIP_TEST, UINT_MIP_TEST 36from check import SIGNED_MIP_TEST, UINT_MIP_TEST
37from check import HEAP_INIT_EXPECTED, heap_init_env # cs_heap_init: vk_compute_test's VKC_HEAP_INIT 37from check import HEAP_INIT_EXPECTED, heap_init_env # cs_heap_init: vk_compute_test's VKC_HEAP_INIT
38from check import judged_words, words_match # dump words not judged on some devices (cs_signed_zero_nan) 38from check import judged_words, words_match # dump words not judged on some devices (cs_signed_zero_nan)
@@ -623,7 +623,7 @@ OTHER_HARNESS = {"ps_m15": "d3d12_translated_draw_test", "vs_m15": "d3d12_transl
623# Shaders a selected test draws with, built even when the filter leaves them out (#192). 623# Shaders a selected test draws with, built even when the filter leaves them out (#192).
624DRAWN_WITH = {GATHER_LOD_TEST: "vs_ids.asm", "ps_flat": "vs_ids.asm", "ps_persp_bary": "vs_persp.asm", "ps_texture_sample": "vs_ids.asm", "ps_cube_sample": "vs_ids.asm", 624DRAWN_WITH = {GATHER_LOD_TEST: "vs_ids.asm", "ps_flat": "vs_ids.asm", "ps_persp_bary": "vs_persp.asm", "ps_texture_sample": "vs_ids.asm", "ps_cube_sample": "vs_ids.asm",
625 "ps_texture_sample_d16": "vs_ids.asm", "ps_sample_c_lz": "vs_ids.asm", "ps_sample_c_lz_a16": "vs_ids.asm", 625 "ps_texture_sample_d16": "vs_ids.asm", "ps_sample_c_lz": "vs_ids.asm", "ps_sample_c_lz_a16": "vs_ids.asm",
626 "ps_sample_c": "vs_ids.asm", "ps_sample_c_b": "vs_ids.asm", 626 "ps_table_fetch": "vs_ids.asm", "ps_sample_c": "vs_ids.asm", "ps_sample_c_b": "vs_ids.asm",
627 **{name: "vs_ids.asm" for name in TEXTURE_CONSTANTS}, "ps_ssharp": "vs_ids.asm", "ps_imgatomic": "vs_ids.asm", 627 **{name: "vs_ids.asm" for name in TEXTURE_CONSTANTS}, "ps_ssharp": "vs_ids.asm", "ps_imgatomic": "vs_ids.asm",
628 **{name: "vs_ids.asm" for name in GRADIENT_TESTS}, "vs_clip": "ps_clip_color.asm", 628 **{name: "vs_ids.asm" for name in GRADIENT_TESTS}, "vs_clip": "ps_clip_color.asm",
629 "ps_interp_f16_high": "vs_f16_pack.asm", "ms_f16_pack": "ps_interp_f16_high.asm", 629 "ps_interp_f16_high": "vs_f16_pack.asm", "ms_f16_pack": "ps_interp_f16_high.asm",
@@ -1217,6 +1217,10 @@ def run_suite(a, work: str) -> int:
1217 problem = texture_mip_test(a.build, spirv_dir, name) 1217 problem = texture_mip_test(a.build, spirv_dir, name)
1218 ok = None if isinstance(problem, Skip) else not problem 1218 ok = None if isinstance(problem, Skip) else not problem
1219 results.append((name, ok, problem or "two passes, 4096 RGBA32F pixels each exact; wrong mip and UV rejected")) 1219 results.append((name, ok, problem or "two passes, 4096 RGBA32F pixels each exact; wrong mip and UV rejected"))
1220 elif name == "ps_table_fetch":
1221 problem = table_fetch_test(a.build, spirv_dir)
1222 results.append((name, None if isinstance(problem, Skip) else not problem,
1223 problem or "4096 exact pixels each for SINT, UINT and descriptor miss"))
1220 elif name in GRADIENT_TESTS: 1224 elif name in GRADIENT_TESTS:
1221 problem = texture_gradient_a16_test(a.build, spirv_dir, name) 1225 problem = texture_gradient_a16_test(a.build, spirv_dir, name)
1222 ok = None if isinstance(problem, Skip) else not problem 1226 ok = None if isinstance(problem, Skip) else not problem