# The RT64 shaders the web page builds: one shader description a line, other mode L and H, color combiner L and H,
# flags, in hex. RT64 specializes each one's WGSL when the page is built. The list is in sections (N64Recomp-browser's
# README): the lines above the first "section" line are the boot, built before the game starts, and each section after
# it is built when the game first draws with 4 of its shaders, the game waiting for it in Firefox (Chrome builds the
# whole list behind the game, a section at a time). A description missing here is built behind the game when it is
# first drawn, and the page remembers it for the next visit (N64Recomp-browser's docs/porting.md, Prebuilt shader lists).
#
# Recorded from the page opened with ?record-shaders, which prints every description RT64 meets, in the order it
# meets them, at the page's default settings. The boot and race are recorded by tools/shader_plan.json with
# N64Recomp-browser's tools/record_shaders.mjs (its "attract" and "race" sections merged here into one): the boot is
# the Midway logo, the title and every menu up to the car select (Records, Options, Audio, Video, each mode's track
# select); race is the attract races, a 1P race on track 1, and one on track 2 driven ~6 minutes (a weave, an abort
# now and then), then the descriptions an earlier recording met in a third attract race. modes is the rest of that
# earlier recording, played by hand: 1P races with Backward, Mirror, Fog and Wind on, a crash and the pause menu, 2P
# Practice, 2P and 4P Battle, 1P and 4P Stunt. Not yet: Ghost Race, the results screens, tracks 3-6, the other stunt
# arenas, 3 players. Flags follow settings (filtering, HDR, MSAA, upscaling), so a change to one of those defaults
# means recording again.
#
# To record again, drive the page opened with ?record-shaders by tools/shader_plan.json (its header says how) with
# N64Recomp-browser's tools/record_shaders.mjs (--players <n> through Module.arguments for split screen), and add the
# new "rt64 shader:" lines here. The 105 descriptions first recorded and the launcher's pipelines came to 5.6-6.0 MB
# of Chrome's 6 MB shader cache, so check the figure now that it holds 107.
#
# Why it is built first, and in sections, measured on an RTX 2070. With the whole list as one section, Firefox 157 (a
# busy host) waited 27.9-30.2 s at the bar, then drew the attract races and a 1P race at 39-56 frames a second in a
# 1280x876 canvas, the race's longest gap 89 ms; with the ubershader alone the same race fell to 13-29 frames a second
# with stalls up to 3.7 s and its sound ~25 times as short, and a second run froze for good leaving the title for the
# menus. Cold in headless Chrome 155 (a busy host) the game never waited: its 75 pipelines were built 7 s after Start
# Game, behind the logos and the title, at 49-57 frames a second, where building them all before the first frame
# waited 6.0 s at 0-19. With rt64 c6cf6c4 (smaller WGSL), Firefox 158 waited 11.9-12.6 s for the whole list against
# 13.6-14.6 without it, three runs each on a host 57-66% busy. In sections (a local build on b1c35d1 against the page
# published from it, two cold runs each, interleaved, a quiet host, 1256x645), Firefox 158 waited 1.9-2.0 s for the
# boot's 21 pipelines where it had waited 9.7-9.9 s for all 75, then 7.0-7.4 s for race's 41 when the attract race
# began, ~8 s later; Chrome 155 headless built all 75 by ~9 s after Start Game against ~2 s, and once of two runs held
# the attract race's first frame 0.5 s for 5 of them; both at 59 presents a second (median), no WebGPU errors either way.
0f0a4000 00a08cef fcffffff fffcf279 04cb540b
00504240 00800cef fc11fe23 fffff3f9 0003540b
0f0a4000 00a08cef fcffffff fffcf279 0003540b
00504240 00800cef fc119623 ff2fffff 0003540b
c8112230 0098acef fc127fff fffff238 088a000e
c8113278 0098acef fc127fff fffff238 088a000e
c8104a50 0098acef fc1217ff fffffe38 088a000e
c8104a70 0098acef fc127e03 ff0ff3ff 088a000e
00504a74 00808cef fcffffff fffcf279 04cb540b
00504a74 00808cef fcffffff fffcf279 0003540b
00504a74 00800cef fc11fe23 fffff3f9 0003540b
00504a74 00800cef fc119623 ff2fffff 0003540b
00504240 00808cef fcffffff fffdf6fb 0800000b
c8112230 0098acef fcffffff fffe7c38 0800000e
00504a75 00808cef fcffffff fffcf279 04cb540b
00504a74 00800cef fc119623 ff2fffff 04cb540b
00504240 00808cef fc119623 ff2fffff 04cb540b
c8104a70 0098acef fc127e03 ff0ff3ff 0ccb540e
c8104a70 0098acef fc127e03 ff0ff3ff 0b33320e
00504e50 00882cef fc309661 552eff7f 0a22220e
c8104a70 0099acef fc26a003 1f0c93ff 188e000e
section race
0f0a4000 0088acaf fc121824 ff33ffff 0ccb540e
0f0a4000 0088acef fc121824 ff33ffff 088a000e
c8112230 0099acef fc26a004 1ffc93f8 1806008e
c8112230 0099acef fc26a004 1ffc93f8 1b37320e
c8112230 0099acaf fc26a004 1ffc93f8 1806008e
c8112230 0099acef fc26a004 1ffc93f8 188e000e
c8113278 0099acef fc26a004 1ffc93f8 1ccf540e
c8112230 0099acef fc26a004 1ffc93f8 1a26220e
c8112230 0099acaf fc26a004 1ffc93f8 1a26220e
c8113278 0098acef fc127fff fffff238 0ccb540e
c8112230 0099acef fc26a004 1ffc93f8 1aaeaa0e
c8112230 0098acef fc127fff fffff238 0a22220e
c8113278 0098acef fc127fff fffff238 099b100e
c8112230 0099acaf fc26a004 1ffc93f8 1916880e
c8104a50 00992cef fc26a004 1ffc93f8 1806008e
c8112230 0099acef fc26a004 1ffc93f8 1ccf540e
c8112230 00992cef fc26a004 1ffc93f8 1ccf540e
c8104a50 00982cef fc127fff fffff238 0803dc0e
c8104a50 00982cef fc127fff fffff238 0ccb540e
c8104a50 00982cef fc127fff fffff238 088a000e
c8113278 0099acef fc26a004 1ffc93f8 1806008e
c8104a70 0098acef fc127e03 ff0ff3ff 0a22220e
c8104a70 0098acef fc26a003 1f0c93ff 088e000e
c8104a70 0098acef fc127e03 ff0ff3ff 0803540e
c8104a70 0098acef fc127e03 ff0ff3ff 0803760e
c8104a70 0098acef fc127e03 ff0ff3ff 0c42cc0e
c8104a70 0098acef fc127e03 ff0ff3ff 0802ee0e
c8104a50 00982cef fc1217ff fffffe38 088a000e
c8104a50 00982caf fc127e03 ff0ff3ff 088a000e
c8104a70 0098acef fc127e03 ff0ff3ff 088b540e
c8104a70 0098acef fc127e03 ff0ff3ff 0b33760e
c8112230 0099acaf fc26a004 1ffc93f8 1aaeaa0e
c8112230 00982cef fcffffff fffe7c38 0800000e
c8104a51 00982cef fc127fff fffff238 088a000e
c8104a50 00992caf fc26a004 1ffc93f8 1806008e
c8112230 0099acaf fc26a004 1ffc93f8 188e000e
c8112230 0099acef fc26a004 1ffc93f8 1807320e
c8113278 0098acef fc127fff fffff238 0a22220e
c8104a50 00982cef fc127fff fffff238 0ccb760e
c8113278 0099acef fc26a004 1ffc93f8 188e000e
c8104a50 00982cef fc127fff fffff238 0bba440e
c8104a50 00982caf fc127e03 ff0ff3ff 099b100e
c8104a50 00982cef fc50fe04 3ffdf3f8 099b100e
00504a74 00808cef fc119623 ff2fffff 0003540b
0f0a4001 00a08cef fcffffff fffcf279 04cb540b
c8104a50 0098acef fc1217ff fffffe38 0ccb540e
c8112230 0098acaf fc127fff fffff238 0ccb540e
c8113278 0098acef fc127fff fffff238 0912880e
00504241 00808cef fc119623 ff2fffff 04cb540b
c8104a70 00982cef fc127e03 ff0ff3ff 0ccb540e
c8112230 0099acef fc26a004 1ffc93f8 1807540e
c8112230 00992cef fc26a004 1ffc93f8 199f100e
c8112230 0099acef fc26a004 1ffc93f8 199f100e
00504241 00882cff fc121824 ff33ffff 0ccb540e
c8112230 00982cef fc127fff fffff238 0a22220e
c8113278 00992cef fc26a004 1ffc93f8 1806008e
c8112230 00982cef fc50fe04 3ffdf3f8 0a22220e
c8104a50 00982caf fc127fff fffff238 0bba440e
00504a74 00800cef fcffffff fffdf6fb 0800000b
c8104a70 00982cef fc127e03 ff0ff3ff 0913dc0e
section modes
00504240 00800cef fc11fe23 fffff3f9 04cb540b
00504240 00800cef fcffffff fffdf6fb 0800000b
00504240 00808cef fc119623 ff2fffff 0003540b
00504240 00882cef fc121824 ff33ffff 088a000e
c8104a50 00982caf fc127fff fffff238 0ccb540e
c8104a50 00982cef fc1217ff fffffe38 0ccb540e
c8104a50 00982cef fc127e03 ff0ff3ff 088a000e
c8104a50 00982cef fc127fff fffff238 0aaaaa0e
c8104a50 00982cef fc127fff fffff238 0b33320e
c8104a50 00982cef fc50fe04 3ffdf3f8 088a000e
c8104a50 00982cef fc50fe04 3ffdf3f8 0a22220e
c8104a50 00992cef fc26a004 1ffc93f8 1ccf540e
c8104a54 0098acef fc1217ff fffffe38 088a000e
c8104a60 0098acef fc127e03 ff0ff3ff 088a000e
c8104a70 00982cef fc127e03 ff0ff3ff 088a000e
c8104a70 0098acef fc127e03 ff0ff3ff 0913dc0e
c8104a70 0098acef fc127e03 ff0ff3ff 0a23760e
c8112230 00982caf fc127fff fffff238 0a22220e
c8112230 0098acaf fc127fff fffff238 088a000e
c8112230 0098acaf fc127fff fffff238 0a22220e
c8112230 0098acef fc127fff fffff238 088a010e
c8112230 00992caf fc26a004 1ffc93f8 1a26220e
c8112230 0099acef fc26a004 1ffc93f8 1916880e
c8113278 00982cef fc127fff fffff238 0912880e
c8113278 0098acef fc127fff fffff238 0803540e
c8113278 0099acef fc26a004 1ffc93f8 1a26220e
