upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs/embedded_shaders.md
diff options
context:
space:
mode:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 14:30:33 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 14:30:33 -0500
commit15f5b2fbc0db579ec02b3ee9149be29ee8034e8b (patch)
tree3dfd96619ae45589f89cf2adc83b7ceac4571a88 /docs/embedded_shaders.md
parent1b2e8ff3d6a018a97dd3dd8f20e4cd06f3f2ed90 (diff)
Fix what the round-41 merges broke
- tests/semantic: BaseVertex/BaseInstance read 0 in the wave interpreter; the LDS MockGens follow SHADER-309 (lds_bound, lds_access, lds_atomic); abs emission tests load their operand, since SHADER-315 folds scalar ALU on constants. - test_translate: the dynamic gather sampler is a loaded word, not s16 + 0 (SHADER-315 folds it). - test_world_build: DDS downscale weights colours by alpha (62804d0d). - test_fspx_shaders_stage: the fake disassembler writes the listing make_game now checks. - xgameruntime_test: re-read the package id after clearing the LEONIDA_PACKAGE_ID override. - docs: one row per topic again in design.md (72 topics) and README.md; one Other languages line; embedded_shaders.md keeps one copy of each bullet; animation.md links the heading anchor. - tools/scripts: character_textures uses report_paths.same_report_path; stdout guard on six programs; LF write in vs_input_survey; the cl.exe fallback compiles winhttp_offline.cpp. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/embedded_shaders.md')
-rw-r--r--docs/embedded_shaders.md8
1 files changed, 1 insertions, 7 deletions
diff --git a/docs/embedded_shaders.md b/docs/embedded_shaders.md
index dc79d2b7e..a2aa99262 100644
--- a/docs/embedded_shaders.md
+++ b/docs/embedded_shaders.md
@@ -138,13 +138,7 @@ python -I tools/rdna2spirv.py <work>/embedded/dxbc/disasm --out <work>/embedded/
138 the console runtime executes. 138 the console runtime executes.
139* **The missing rules were small, and only one is left.** `global_atomic_fmax`/`fmin` (6 programs), 139* **The missing rules were small, and only one is left.** `global_atomic_fmax`/`fmin` (6 programs),
140 `buffer_load_ushort` (3) and `tbuffer_load_format_x` with format 8 (1) were ordinary translator rules, not a new 140 `buffer_load_ushort` (3) and `tbuffer_load_format_x` with format 8 (1) were ordinary translator rules, not a new
141 compiler backend, and they are on `main`. The one left is `buffer_store_short`, for `Box16Rehydration`. 141 compiler backend, and they are on `main`. The one left is `buffer_store_short` (#1864), for `Box16Rehydration`.
142* **The rehydration programs are the ones closest to the shipped data.** `Box16Rehydration`,
143 `Box32Rehydration` and `LeafRehydration` are exactly the programs that would turn the dehydrated BVH packs
144 into runtime trees ([bvh.md](bvh.md) §3.1). `Box32Rehydration` and `LeafRehydration` translate;
145 `Box16Rehydration` needs `buffer_store_short`.
146* **The one missing rule is small and has real fixtures.** `buffer_store_short` (#1864) covers `Box16Rehydration`.
147 It is an ordinary translator rule, not a new compiler backend.
148* **The rehydration programs are the ones closest to the shipped data.** `Box16Rehydration`, 142* **The rehydration programs are the ones closest to the shipped data.** `Box16Rehydration`,
149 `Box32Rehydration` and `LeafRehydration` are exactly the programs that would turn the dehydrated BVH packs 143 `Box32Rehydration` and `LeafRehydration` are exactly the programs that would turn the dehydrated BVH packs
150 into runtime trees ([bvh.md](bvh.md) §3.1). `LeafRehydration` translates since #1871, `Box32Rehydration` 144 into runtime trees ([bvh.md](bvh.md) §3.1). `LeafRehydration` translates since #1871, `Box32Rehydration`