114 lines
3.6 KiB
SQL
114 lines
3.6 KiB
SQL
#if 0
|
|
//
|
|
// Generated by Microsoft (R) D3D Shader Disassembler
|
|
//
|
|
//
|
|
// Input signature:
|
|
//
|
|
// Name Index Mask Register SysValue Format Used
|
|
// -------------------- ----- ------ -------- -------- ------- ------
|
|
// SV_Position 0 xyzw 0 POS float
|
|
// TEXCOORD 0 xy 1 NONE float xy
|
|
//
|
|
//
|
|
// Output signature:
|
|
//
|
|
// Name Index Mask Register SysValue Format Used
|
|
// -------------------- ----- ------ -------- -------- ------- ------
|
|
// SV_Target 0 xyzw 0 TARGET float xyzw
|
|
//
|
|
ps_4_0
|
|
dcl_constantbuffer CB0[1], immediateIndexed
|
|
dcl_sampler s0, mode_default
|
|
dcl_resource_texture2d (float,float,float,float) t0
|
|
dcl_input_ps linear v1.xy
|
|
dcl_output o0.xyzw
|
|
dcl_temps 2
|
|
sample r0.xyzw, v1.xyxx, t0.xyzw, s0
|
|
mul r1.xyz, r0.xyzx, cb0[0].xxxx
|
|
mad r0.xyz, r0.xyzx, cb0[0].xxxx, l(1.000000, 1.000000, 1.000000, 0.000000)
|
|
mov o0.w, r0.w
|
|
div o0.xyz, r1.xyzx, r0.xyzx
|
|
ret
|
|
// Approximately 0 instruction slots used
|
|
#endif
|
|
|
|
const BYTE ToneMap_PSReinhard[] =
|
|
{
|
|
68, 88, 66, 67, 115, 103,
|
|
22, 225, 226, 48, 165, 189,
|
|
78, 48, 254, 136, 10, 133,
|
|
40, 112, 1, 0, 0, 0,
|
|
192, 1, 0, 0, 3, 0,
|
|
0, 0, 44, 0, 0, 0,
|
|
132, 0, 0, 0, 184, 0,
|
|
0, 0, 73, 83, 71, 78,
|
|
80, 0, 0, 0, 2, 0,
|
|
0, 0, 8, 0, 0, 0,
|
|
56, 0, 0, 0, 0, 0,
|
|
0, 0, 1, 0, 0, 0,
|
|
3, 0, 0, 0, 0, 0,
|
|
0, 0, 15, 0, 0, 0,
|
|
68, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0,
|
|
3, 0, 0, 0, 1, 0,
|
|
0, 0, 3, 3, 0, 0,
|
|
83, 86, 95, 80, 111, 115,
|
|
105, 116, 105, 111, 110, 0,
|
|
84, 69, 88, 67, 79, 79,
|
|
82, 68, 0, 171, 171, 171,
|
|
79, 83, 71, 78, 44, 0,
|
|
0, 0, 1, 0, 0, 0,
|
|
8, 0, 0, 0, 32, 0,
|
|
0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 3, 0,
|
|
0, 0, 0, 0, 0, 0,
|
|
15, 0, 0, 0, 83, 86,
|
|
95, 84, 97, 114, 103, 101,
|
|
116, 0, 171, 171, 83, 72,
|
|
68, 82, 0, 1, 0, 0,
|
|
64, 0, 0, 0, 64, 0,
|
|
0, 0, 89, 0, 0, 4,
|
|
70, 142, 32, 0, 0, 0,
|
|
0, 0, 1, 0, 0, 0,
|
|
90, 0, 0, 3, 0, 96,
|
|
16, 0, 0, 0, 0, 0,
|
|
88, 24, 0, 4, 0, 112,
|
|
16, 0, 0, 0, 0, 0,
|
|
85, 85, 0, 0, 98, 16,
|
|
0, 3, 50, 16, 16, 0,
|
|
1, 0, 0, 0, 101, 0,
|
|
0, 3, 242, 32, 16, 0,
|
|
0, 0, 0, 0, 104, 0,
|
|
0, 2, 2, 0, 0, 0,
|
|
69, 0, 0, 9, 242, 0,
|
|
16, 0, 0, 0, 0, 0,
|
|
70, 16, 16, 0, 1, 0,
|
|
0, 0, 70, 126, 16, 0,
|
|
0, 0, 0, 0, 0, 96,
|
|
16, 0, 0, 0, 0, 0,
|
|
56, 0, 0, 8, 114, 0,
|
|
16, 0, 1, 0, 0, 0,
|
|
70, 2, 16, 0, 0, 0,
|
|
0, 0, 6, 128, 32, 0,
|
|
0, 0, 0, 0, 0, 0,
|
|
0, 0, 50, 0, 0, 13,
|
|
114, 0, 16, 0, 0, 0,
|
|
0, 0, 70, 2, 16, 0,
|
|
0, 0, 0, 0, 6, 128,
|
|
32, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 2, 64,
|
|
0, 0, 0, 0, 128, 63,
|
|
0, 0, 128, 63, 0, 0,
|
|
128, 63, 0, 0, 0, 0,
|
|
54, 0, 0, 5, 130, 32,
|
|
16, 0, 0, 0, 0, 0,
|
|
58, 0, 16, 0, 0, 0,
|
|
0, 0, 14, 0, 0, 7,
|
|
114, 32, 16, 0, 0, 0,
|
|
0, 0, 70, 2, 16, 0,
|
|
1, 0, 0, 0, 70, 2,
|
|
16, 0, 0, 0, 0, 0,
|
|
62, 0, 0, 1
|
|
};
|