142 lines
4.3 KiB
SQL
142 lines
4.3 KiB
SQL
#if 0
|
|
//
|
|
// Generated by Microsoft (R) D3D Shader Disassembler
|
|
//
|
|
//
|
|
// Input signature:
|
|
//
|
|
// Name Index Mask Register SysValue Format Used
|
|
// -------------------- ----- ------ -------- -------- ------- ------
|
|
// COLOR 0 xyzw 0 NONE float xyzw
|
|
// COLOR 1 xyzw 1 NONE float w
|
|
//
|
|
//
|
|
// Output signature:
|
|
//
|
|
// Name Index Mask Register SysValue Format Used
|
|
// -------------------- ----- ------ -------- -------- ------- ------
|
|
// SV_Target 0 xyzw 0 TARGET float xyzw
|
|
//
|
|
//
|
|
// Constant buffer to DX9 shader constant mappings:
|
|
//
|
|
// Target Reg Buffer Start Reg # of Regs Data Conversion
|
|
// ---------- ------- --------- --------- ----------------------
|
|
// c0 cb0 13 1 ( FLT, FLT, FLT, FLT)
|
|
//
|
|
//
|
|
// Level9 shader bytecode:
|
|
//
|
|
ps_2_0
|
|
dcl t0
|
|
dcl t1
|
|
mad r0.xyz, c0, t0.w, -t0
|
|
mov r1.xyz, t0
|
|
mad r0.xyz, t1.w, r0, r1
|
|
mov r0.w, t0.w
|
|
mov oC0, r0
|
|
|
|
// approximately 5 instruction slots used
|
|
ps_4_0
|
|
dcl_constantbuffer CB0[14], immediateIndexed
|
|
dcl_input_ps linear v0.xyzw
|
|
dcl_input_ps linear v1.w
|
|
dcl_output o0.xyzw
|
|
dcl_temps 1
|
|
mad r0.xyz, cb0[13].xyzx, v0.wwww, -v0.xyzx
|
|
mad o0.xyz, v1.wwww, r0.xyzx, v0.xyzx
|
|
mov o0.w, v0.w
|
|
ret
|
|
// Approximately 0 instruction slots used
|
|
#endif
|
|
|
|
const BYTE BasicEffect_PSBasic[] =
|
|
{
|
|
68, 88, 66, 67, 132, 106,
|
|
64, 52, 44, 8, 201, 31,
|
|
156, 78, 243, 147, 144, 166,
|
|
2, 49, 1, 0, 0, 0,
|
|
4, 2, 0, 0, 4, 0,
|
|
0, 0, 48, 0, 0, 0,
|
|
212, 0, 0, 0, 136, 1,
|
|
0, 0, 208, 1, 0, 0,
|
|
65, 111, 110, 57, 156, 0,
|
|
0, 0, 156, 0, 0, 0,
|
|
0, 2, 255, 255, 108, 0,
|
|
0, 0, 48, 0, 0, 0,
|
|
1, 0, 36, 0, 0, 0,
|
|
48, 0, 0, 0, 48, 0,
|
|
0, 0, 36, 0, 0, 0,
|
|
48, 0, 0, 0, 13, 0,
|
|
1, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 2, 255, 255,
|
|
31, 0, 0, 2, 0, 0,
|
|
0, 128, 0, 0, 15, 176,
|
|
31, 0, 0, 2, 0, 0,
|
|
0, 128, 1, 0, 15, 176,
|
|
4, 0, 0, 4, 0, 0,
|
|
7, 128, 0, 0, 228, 160,
|
|
0, 0, 255, 176, 0, 0,
|
|
228, 177, 1, 0, 0, 2,
|
|
1, 0, 7, 128, 0, 0,
|
|
228, 176, 4, 0, 0, 4,
|
|
0, 0, 7, 128, 1, 0,
|
|
255, 176, 0, 0, 228, 128,
|
|
1, 0, 228, 128, 1, 0,
|
|
0, 2, 0, 0, 8, 128,
|
|
0, 0, 255, 176, 1, 0,
|
|
0, 2, 0, 8, 15, 128,
|
|
0, 0, 228, 128, 255, 255,
|
|
0, 0, 83, 72, 68, 82,
|
|
172, 0, 0, 0, 64, 0,
|
|
0, 0, 43, 0, 0, 0,
|
|
89, 0, 0, 4, 70, 142,
|
|
32, 0, 0, 0, 0, 0,
|
|
14, 0, 0, 0, 98, 16,
|
|
0, 3, 242, 16, 16, 0,
|
|
0, 0, 0, 0, 98, 16,
|
|
0, 3, 130, 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,
|
|
50, 0, 0, 11, 114, 0,
|
|
16, 0, 0, 0, 0, 0,
|
|
70, 130, 32, 0, 0, 0,
|
|
0, 0, 13, 0, 0, 0,
|
|
246, 31, 16, 0, 0, 0,
|
|
0, 0, 70, 18, 16, 128,
|
|
65, 0, 0, 0, 0, 0,
|
|
0, 0, 50, 0, 0, 9,
|
|
114, 32, 16, 0, 0, 0,
|
|
0, 0, 246, 31, 16, 0,
|
|
1, 0, 0, 0, 70, 2,
|
|
16, 0, 0, 0, 0, 0,
|
|
70, 18, 16, 0, 0, 0,
|
|
0, 0, 54, 0, 0, 5,
|
|
130, 32, 16, 0, 0, 0,
|
|
0, 0, 58, 16, 16, 0,
|
|
0, 0, 0, 0, 62, 0,
|
|
0, 1, 73, 83, 71, 78,
|
|
64, 0, 0, 0, 2, 0,
|
|
0, 0, 8, 0, 0, 0,
|
|
56, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0, 0,
|
|
3, 0, 0, 0, 0, 0,
|
|
0, 0, 15, 15, 0, 0,
|
|
56, 0, 0, 0, 1, 0,
|
|
0, 0, 0, 0, 0, 0,
|
|
3, 0, 0, 0, 1, 0,
|
|
0, 0, 15, 8, 0, 0,
|
|
67, 79, 76, 79, 82, 0,
|
|
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
|
|
};
|