upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorsimonbronk <275178677+simonbronk@users.noreply.github.com>2026-11-21 22:43:57 +0100
committersimonbronk <275178677+simonbronk@users.noreply.github.com>2026-11-21 22:43:57 +0100
commit64ebdf692f8849056c591e5d8b65419ff3c09e29 (patch)
tree934c33da310464576e4c77eae4f1c55aa920e967 /runtime/src/main.cpp
parent323341759af5b5bfb2b2b440dcca658b5c80f0cf (diff)
Tests: integer ALU shaders ps_ops7/ps_ops8 and the SPIR-V ops they need (on top of #216)
ps_ops7 checks v_perm_b32 (selectors 0x0c0d0700 and 0x0b0a0908, the sign selectors fixed in #216), v_alignbit_b32 with a shift of 36, and v_med3_i32 against v_med3_u32. ps_ops8 checks v_mul_hi_u32/i32, v_bcnt_u32_b32, v_ffbl_b32, v_ffbh_u32 (also of 0), v_xad_u32 and v_add3_u32. Both run on the GPU (check.py, run_gpu_tests.py) and in test_value_semantics.py against plain-Python references. The mini interpreter gains OpUMulExtended, OpSMulExtended, FindILsb, FindUMsb, UMax, SMin, UClamp and SClamp. docs/design.md gets the byte permute contract row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions