mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-15 23:39:57 -04:00
The post pass stores the square root of each channel, so the stand-in for Ocarina's untranslatable upscaler now filters those values and squares them in its compute pass (shaders/fallback_tonemap.spvasm, vk_tonemap.c) instead of decoding them with the sRGB curve, which darkened mid-tones and lifted the darkest values; the pass is compiled in again, its round-24 device loss having been the push descriptor call outside the recorder. NX2NAVI_FALLBACK_EXPOSURE is gone. AmpereLowering emitted SURED as 0xeb48, which matches no Maxwell instruction, so the translator skipped every image reduction; with 0xeb58 the edge AA's blend-weight pass writes its image. The translator's own warnings go to res.json notes, and shader dumps are named by program serial so they match the frame dumps' program numbers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
48 lines
4.2 KiB
C
48 lines
4.2 KiB
C
// Generated from runtime/shaders/fallback_tonemap.spvasm (spirv-as --target-env vulkan1.3); do not edit.
|
|
// source sha256 5785ee27470b43df9ce7dea3285bdcee404ba2ff220979b7d2c88280c6b1906b
|
|
#pragma once
|
|
#include <stdint.h>
|
|
static const uint32_t fallback_tonemap_spv[] = {
|
|
0x07230203, 0x00010600, 0x00070000, 0x00000038, 0x00000000, 0x00020011, 0x00000001, 0x0003000e,
|
|
0x00000000, 0x00000001, 0x0009000f, 0x00000005, 0x00000001, 0x6e69616d, 0x00000000, 0x00000002,
|
|
0x00000003, 0x00000004, 0x00000005, 0x00060010, 0x00000001, 0x00000011, 0x00000008, 0x00000008,
|
|
0x00000001, 0x00040047, 0x00000002, 0x0000000b, 0x0000001c, 0x00040047, 0x00000003, 0x00000022,
|
|
0x00000000, 0x00040047, 0x00000003, 0x00000021, 0x00000000, 0x00040047, 0x00000004, 0x00000022,
|
|
0x00000000, 0x00040047, 0x00000004, 0x00000021, 0x00000001, 0x00030047, 0x00000004, 0x00000019,
|
|
0x00030047, 0x00000006, 0x00000002, 0x00050048, 0x00000006, 0x00000000, 0x00000023, 0x00000000,
|
|
0x00050048, 0x00000006, 0x00000001, 0x00000023, 0x00000008, 0x00050048, 0x00000006, 0x00000002,
|
|
0x00000023, 0x0000000c, 0x00050048, 0x00000006, 0x00000003, 0x00000023, 0x00000010, 0x00020013,
|
|
0x00000007, 0x00030021, 0x00000008, 0x00000007, 0x00030016, 0x00000009, 0x00000020, 0x00040015,
|
|
0x0000000a, 0x00000020, 0x00000001, 0x00040015, 0x0000000b, 0x00000020, 0x00000000, 0x00020014,
|
|
0x0000000c, 0x00040017, 0x0000000d, 0x00000009, 0x00000002, 0x00040017, 0x0000000e, 0x00000009,
|
|
0x00000003, 0x00040017, 0x0000000f, 0x00000009, 0x00000004, 0x00040017, 0x00000010, 0x0000000a,
|
|
0x00000002, 0x00040017, 0x00000011, 0x0000000b, 0x00000003, 0x00040017, 0x00000012, 0x0000000b,
|
|
0x00000002, 0x00040020, 0x00000013, 0x00000001, 0x00000011, 0x0004003b, 0x00000013, 0x00000002,
|
|
0x00000001, 0x00090019, 0x00000014, 0x00000009, 0x00000001, 0x00000000, 0x00000000, 0x00000000,
|
|
0x00000001, 0x00000000, 0x0003001b, 0x00000015, 0x00000014, 0x00040020, 0x00000016, 0x00000000,
|
|
0x00000015, 0x0004003b, 0x00000016, 0x00000003, 0x00000000, 0x00090019, 0x00000017, 0x00000009,
|
|
0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000002, 0x00040020, 0x00000018,
|
|
0x00000000, 0x00000017, 0x0004003b, 0x00000018, 0x00000004, 0x00000000, 0x0006001e, 0x00000006,
|
|
0x0000000d, 0x00000009, 0x00000009, 0x00000010, 0x00040020, 0x00000019, 0x00000009, 0x00000006,
|
|
0x0004003b, 0x00000019, 0x00000005, 0x00000009, 0x00040020, 0x0000001a, 0x00000009, 0x0000000d,
|
|
0x00040020, 0x0000001b, 0x00000009, 0x00000010, 0x0004002b, 0x0000000a, 0x0000001c, 0x00000000,
|
|
0x0004002b, 0x0000000a, 0x0000001d, 0x00000003, 0x0004002b, 0x00000009, 0x0000001e, 0x00000000,
|
|
0x0004002b, 0x00000009, 0x0000001f, 0x3f800000, 0x0004002b, 0x00000009, 0x00000020, 0x3f000000,
|
|
0x0005002c, 0x0000000d, 0x00000021, 0x00000020, 0x00000020, 0x00040017, 0x00000022, 0x0000000c,
|
|
0x00000002, 0x00050036, 0x00000007, 0x00000001, 0x00000000, 0x00000008, 0x000200f8, 0x00000023,
|
|
0x0004003d, 0x00000011, 0x00000024, 0x00000002, 0x0007004f, 0x00000012, 0x00000025, 0x00000024,
|
|
0x00000024, 0x00000000, 0x00000001, 0x0004007c, 0x00000010, 0x00000026, 0x00000025, 0x00050041,
|
|
0x0000001b, 0x00000027, 0x00000005, 0x0000001d, 0x0004003d, 0x00000010, 0x00000028, 0x00000027,
|
|
0x000500af, 0x00000022, 0x00000029, 0x00000026, 0x00000028, 0x0004009a, 0x0000000c, 0x0000002a,
|
|
0x00000029, 0x000300f7, 0x0000002b, 0x00000000, 0x000400fa, 0x0000002a, 0x0000002c, 0x0000002b,
|
|
0x000200f8, 0x0000002c, 0x000100fd, 0x000200f8, 0x0000002b, 0x0004006f, 0x0000000d, 0x0000002d,
|
|
0x00000026, 0x00050081, 0x0000000d, 0x0000002e, 0x0000002d, 0x00000021, 0x00050041, 0x0000001a,
|
|
0x0000002f, 0x00000005, 0x0000001c, 0x0004003d, 0x0000000d, 0x00000030, 0x0000002f, 0x00050085,
|
|
0x0000000d, 0x00000031, 0x0000002e, 0x00000030, 0x0004003d, 0x00000015, 0x00000032, 0x00000003,
|
|
0x00070058, 0x0000000f, 0x00000033, 0x00000032, 0x00000031, 0x00000002, 0x0000001e, 0x0008004f,
|
|
0x0000000e, 0x00000034, 0x00000033, 0x00000033, 0x00000000, 0x00000001, 0x00000002, 0x00050085,
|
|
0x0000000e, 0x00000035, 0x00000034, 0x00000034, 0x00050050, 0x0000000f, 0x00000036, 0x00000035,
|
|
0x0000001f, 0x0004003d, 0x00000017, 0x00000037, 0x00000004, 0x00040063, 0x00000037, 0x00000026,
|
|
0x00000036, 0x000100fd, 0x00010038,
|
|
};
|