115 lines
3.6 KiB
SQL
115 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 1
|
|
sample r0.xyzw, v1.xyxx, t0.xyzw, s0
|
|
mul_sat r0.xyz, r0.xyzx, cb0[0].xxxx
|
|
mov o0.w, r0.w
|
|
log r0.xyz, r0.xyzx
|
|
mul r0.xyz, r0.xyzx, l(0.454545, 0.454545, 0.454545, 0.000000)
|
|
exp o0.xyz, r0.xyzx
|
|
ret
|
|
// Approximately 0 instruction slots used
|
|
#endif
|
|
|
|
const BYTE ToneMap_PSSaturate_SRGB[] =
|
|
{
|
|
68, 88, 66, 67, 178, 67,
|
|
199, 228, 117, 215, 182, 102,
|
|
49, 24, 196, 144, 159, 179,
|
|
114, 157, 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, 1, 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, 32, 0, 8, 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, 54, 0, 0, 5,
|
|
130, 32, 16, 0, 0, 0,
|
|
0, 0, 58, 0, 16, 0,
|
|
0, 0, 0, 0, 47, 0,
|
|
0, 5, 114, 0, 16, 0,
|
|
0, 0, 0, 0, 70, 2,
|
|
16, 0, 0, 0, 0, 0,
|
|
56, 0, 0, 10, 114, 0,
|
|
16, 0, 0, 0, 0, 0,
|
|
70, 2, 16, 0, 0, 0,
|
|
0, 0, 2, 64, 0, 0,
|
|
47, 186, 232, 62, 47, 186,
|
|
232, 62, 47, 186, 232, 62,
|
|
0, 0, 0, 0, 25, 0,
|
|
0, 5, 114, 32, 16, 0,
|
|
0, 0, 0, 0, 70, 2,
|
|
16, 0, 0, 0, 0, 0,
|
|
62, 0, 0, 1
|
|
};
|