upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/shims/process.cpp
diff options
context:
space:
mode:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 00:31:05 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 00:31:05 -0500
commitdcd8ecf10b138566d567020562b7afd853a89024 (patch)
tree12c7843351a7e1b27e71d158b4ea5f2665290116 /runtime/shims/process.cpp
parent067d3e8b97189fcf272dc699fdbb871eae496660 (diff)
rdna2spirv: decode run-time buffer formats in one function per module
buffer_load_format with the format taken from the V# decoded all 27 FORMATS inline and selected one, about 900 instructions per load once UNORM/SNORM became exact integer quotients. indirect_diffuse_lighting's two ScreenProbes_ActivateProbes compute shaders have 3,281 such loads: under --wave64-emulate their modules passed SPIR-V's id bound (4,194,303) and no longer validated, and before that they were 60 MB modules a driver could not compile in 100 GB. The decode is now %fmt_decode_fn, emitted once and called per load (like %desc_lookup_fn). tbuffer loads, whose format is in the instruction, decode only that format. ScreenProbes_ActivateProbes: 6.16 M instructions -> 2.20 M, 41.7 MB, passes spirv-val. spirv_mini_interp runs OpFunctionCall / OpFunctionParameter / OpReturnValue so the semantic tests go through the function. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/process.cpp')
0 files changed, 0 insertions, 0 deletions