415 lines
14 KiB
PHP
415 lines
14 KiB
PHP
|
#if 0
|
||
|
//
|
||
|
// Generated by Microsoft (R) D3D Shader Disassembler
|
||
|
//
|
||
|
//
|
||
|
// Input signature:
|
||
|
//
|
||
|
// Name Index Mask Register SysValue Format Used
|
||
|
// -------------------- ----- ------ -------- -------- ------- ------
|
||
|
// SV_Position 0 xyzw 0 NONE float xyzw
|
||
|
// NORMAL 0 xyz 1 NONE float xyz
|
||
|
// TANGENT 0 xyzw 2 NONE float xyzw
|
||
|
// COLOR 0 xyzw 3 NONE float xyzw
|
||
|
// TEXCOORD 0 xy 4 NONE float xy
|
||
|
//
|
||
|
//
|
||
|
// Output signature:
|
||
|
//
|
||
|
// Name Index Mask Register SysValue Format Used
|
||
|
// -------------------- ----- ------ -------- -------- ------- ------
|
||
|
// SV_POSITION 0 xyzw 0 POS float xyzw
|
||
|
// COLOR 0 xyzw 1 NONE float xyzw
|
||
|
// TEXCOORD 0 xy 2 NONE float xy
|
||
|
// TEXCOORD 1 xyz 3 NONE float xyz
|
||
|
// TEXCOORD 2 xyz 4 NONE float xyz
|
||
|
// TEXCOORD 3 xyz 5 NONE float xyz
|
||
|
// TEXCOORD 4 xyzw 6 NONE float xyzw
|
||
|
// TEXCOORD 5 xyz 7 NONE float xyz
|
||
|
//
|
||
|
//
|
||
|
// Constant buffer to DX9 shader constant mappings:
|
||
|
//
|
||
|
// Target Reg Buffer Start Reg # of Regs Data Conversion
|
||
|
// ---------- ------- --------- --------- ----------------------
|
||
|
// c1 cb0 1 1 ( FLT, FLT, FLT, FLT)
|
||
|
// c2 cb2 0 3 ( FLT, FLT, FLT, FLT)
|
||
|
// c5 cb2 4 4 ( FLT, FLT, FLT, FLT)
|
||
|
// c9 cb2 16 2 ( FLT, FLT, FLT, FLT)
|
||
|
// c11 cb2 20 1 ( FLT, FLT, FLT, FLT)
|
||
|
//
|
||
|
//
|
||
|
// Runtime generated constant mappings:
|
||
|
//
|
||
|
// Target Reg Constant Description
|
||
|
// ---------- --------------------------------------------------
|
||
|
// c0 Vertex Shader position offset
|
||
|
//
|
||
|
//
|
||
|
// Level9 shader bytecode:
|
||
|
//
|
||
|
vs_2_0
|
||
|
def c12, 1, 0, 0, 0
|
||
|
dcl_texcoord v0
|
||
|
dcl_texcoord1 v1
|
||
|
dcl_texcoord2 v2
|
||
|
dcl_texcoord3 v3
|
||
|
dcl_texcoord4 v4
|
||
|
dp4 oPos.z, v0, c7
|
||
|
mul oT0, v3, c1
|
||
|
mad r0.xyz, v4.xyxw, c12.xxyw, c12.yyxw
|
||
|
dp3 oT1.x, r0, c9.xyww
|
||
|
dp3 oT1.y, r0, c10.xyww
|
||
|
dp3 oT2.x, v1, c2
|
||
|
dp3 oT2.y, v1, c3
|
||
|
dp3 oT2.z, v1, c4
|
||
|
dp4 r0.x, v0, c2
|
||
|
dp4 r0.y, v0, c3
|
||
|
dp4 r0.z, v0, c4
|
||
|
add oT4.xyz, -r0, c11
|
||
|
mov oT3.xyz, r0
|
||
|
dp4 r0.x, v0, c5
|
||
|
dp4 r0.y, v0, c6
|
||
|
dp4 r0.z, v0, c8
|
||
|
mad oPos.xy, r0.z, c0, r0
|
||
|
mov oPos.w, r0.z
|
||
|
mov oT5, v2
|
||
|
mov oT6.xyz, v1
|
||
|
|
||
|
// approximately 20 instruction slots used
|
||
|
vs_4_0
|
||
|
dcl_constantbuffer CB0[2], immediateIndexed
|
||
|
dcl_constantbuffer CB2[21], immediateIndexed
|
||
|
dcl_input v0.xyzw
|
||
|
dcl_input v1.xyz
|
||
|
dcl_input v2.xyzw
|
||
|
dcl_input v3.xyzw
|
||
|
dcl_input v4.xy
|
||
|
dcl_output_siv o0.xyzw, position
|
||
|
dcl_output o1.xyzw
|
||
|
dcl_output o2.xy
|
||
|
dcl_output o3.xyz
|
||
|
dcl_output o4.xyz
|
||
|
dcl_output o5.xyz
|
||
|
dcl_output o6.xyzw
|
||
|
dcl_output o7.xyz
|
||
|
dcl_temps 1
|
||
|
dp4 o0.x, v0.xyzw, cb2[4].xyzw
|
||
|
dp4 o0.y, v0.xyzw, cb2[5].xyzw
|
||
|
dp4 o0.z, v0.xyzw, cb2[6].xyzw
|
||
|
dp4 o0.w, v0.xyzw, cb2[7].xyzw
|
||
|
mul o1.xyzw, v3.xyzw, cb0[1].xyzw
|
||
|
mov r0.xy, v4.xyxx
|
||
|
mov r0.z, l(1.000000)
|
||
|
dp3 o2.x, r0.xyzx, cb2[16].xywx
|
||
|
dp3 o2.y, r0.xyzx, cb2[17].xywx
|
||
|
dp3 o3.x, v1.xyzx, cb2[0].xyzx
|
||
|
dp3 o3.y, v1.xyzx, cb2[1].xyzx
|
||
|
dp3 o3.z, v1.xyzx, cb2[2].xyzx
|
||
|
dp4 r0.x, v0.xyzw, cb2[0].xyzw
|
||
|
dp4 r0.y, v0.xyzw, cb2[1].xyzw
|
||
|
dp4 r0.z, v0.xyzw, cb2[2].xyzw
|
||
|
mov o4.xyz, r0.xyzx
|
||
|
add o5.xyz, -r0.xyzx, cb2[20].xyzx
|
||
|
mov o6.xyzw, v2.xyzw
|
||
|
mov o7.xyz, v1.xyzx
|
||
|
ret
|
||
|
// Approximately 0 instruction slots used
|
||
|
#endif
|
||
|
|
||
|
const BYTE DGSLEffect_mainVc[] =
|
||
|
{
|
||
|
68, 88, 66, 67, 46, 24,
|
||
|
56, 107, 253, 204, 106, 97,
|
||
|
79, 20, 243, 167, 246, 83,
|
||
|
101, 20, 1, 0, 0, 0,
|
||
|
212, 6, 0, 0, 4, 0,
|
||
|
0, 0, 48, 0, 0, 0,
|
||
|
48, 2, 0, 0, 52, 5,
|
||
|
0, 0, 232, 5, 0, 0,
|
||
|
65, 111, 110, 57, 248, 1,
|
||
|
0, 0, 248, 1, 0, 0,
|
||
|
0, 2, 254, 255, 148, 1,
|
||
|
0, 0, 100, 0, 0, 0,
|
||
|
5, 0, 36, 0, 0, 0,
|
||
|
96, 0, 0, 0, 96, 0,
|
||
|
0, 0, 36, 0, 1, 0,
|
||
|
96, 0, 0, 0, 1, 0,
|
||
|
1, 0, 1, 0, 0, 0,
|
||
|
0, 0, 2, 0, 0, 0,
|
||
|
3, 0, 2, 0, 0, 0,
|
||
|
0, 0, 2, 0, 4, 0,
|
||
|
4, 0, 5, 0, 0, 0,
|
||
|
0, 0, 2, 0, 16, 0,
|
||
|
2, 0, 9, 0, 0, 0,
|
||
|
0, 0, 2, 0, 20, 0,
|
||
|
1, 0, 11, 0, 0, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 2, 254, 255, 81, 0,
|
||
|
0, 5, 12, 0, 15, 160,
|
||
|
0, 0, 128, 63, 0, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0, 0, 31, 0,
|
||
|
0, 2, 5, 0, 0, 128,
|
||
|
0, 0, 15, 144, 31, 0,
|
||
|
0, 2, 5, 0, 1, 128,
|
||
|
1, 0, 15, 144, 31, 0,
|
||
|
0, 2, 5, 0, 2, 128,
|
||
|
2, 0, 15, 144, 31, 0,
|
||
|
0, 2, 5, 0, 3, 128,
|
||
|
3, 0, 15, 144, 31, 0,
|
||
|
0, 2, 5, 0, 4, 128,
|
||
|
4, 0, 15, 144, 9, 0,
|
||
|
0, 3, 0, 0, 4, 192,
|
||
|
0, 0, 228, 144, 7, 0,
|
||
|
228, 160, 5, 0, 0, 3,
|
||
|
0, 0, 15, 224, 3, 0,
|
||
|
228, 144, 1, 0, 228, 160,
|
||
|
4, 0, 0, 4, 0, 0,
|
||
|
7, 128, 4, 0, 196, 144,
|
||
|
12, 0, 208, 160, 12, 0,
|
||
|
197, 160, 8, 0, 0, 3,
|
||
|
1, 0, 1, 224, 0, 0,
|
||
|
228, 128, 9, 0, 244, 160,
|
||
|
8, 0, 0, 3, 1, 0,
|
||
|
2, 224, 0, 0, 228, 128,
|
||
|
10, 0, 244, 160, 8, 0,
|
||
|
0, 3, 2, 0, 1, 224,
|
||
|
1, 0, 228, 144, 2, 0,
|
||
|
228, 160, 8, 0, 0, 3,
|
||
|
2, 0, 2, 224, 1, 0,
|
||
|
228, 144, 3, 0, 228, 160,
|
||
|
8, 0, 0, 3, 2, 0,
|
||
|
4, 224, 1, 0, 228, 144,
|
||
|
4, 0, 228, 160, 9, 0,
|
||
|
0, 3, 0, 0, 1, 128,
|
||
|
0, 0, 228, 144, 2, 0,
|
||
|
228, 160, 9, 0, 0, 3,
|
||
|
0, 0, 2, 128, 0, 0,
|
||
|
228, 144, 3, 0, 228, 160,
|
||
|
9, 0, 0, 3, 0, 0,
|
||
|
4, 128, 0, 0, 228, 144,
|
||
|
4, 0, 228, 160, 2, 0,
|
||
|
0, 3, 4, 0, 7, 224,
|
||
|
0, 0, 228, 129, 11, 0,
|
||
|
228, 160, 1, 0, 0, 2,
|
||
|
3, 0, 7, 224, 0, 0,
|
||
|
228, 128, 9, 0, 0, 3,
|
||
|
0, 0, 1, 128, 0, 0,
|
||
|
228, 144, 5, 0, 228, 160,
|
||
|
9, 0, 0, 3, 0, 0,
|
||
|
2, 128, 0, 0, 228, 144,
|
||
|
6, 0, 228, 160, 9, 0,
|
||
|
0, 3, 0, 0, 4, 128,
|
||
|
0, 0, 228, 144, 8, 0,
|
||
|
228, 160, 4, 0, 0, 4,
|
||
|
0, 0, 3, 192, 0, 0,
|
||
|
170, 128, 0, 0, 228, 160,
|
||
|
0, 0, 228, 128, 1, 0,
|
||
|
0, 2, 0, 0, 8, 192,
|
||
|
0, 0, 170, 128, 1, 0,
|
||
|
0, 2, 5, 0, 15, 224,
|
||
|
2, 0, 228, 144, 1, 0,
|
||
|
0, 2, 6, 0, 7, 224,
|
||
|
1, 0, 228, 144, 255, 255,
|
||
|
0, 0, 83, 72, 68, 82,
|
||
|
252, 2, 0, 0, 64, 0,
|
||
|
1, 0, 191, 0, 0, 0,
|
||
|
89, 0, 0, 4, 70, 142,
|
||
|
32, 0, 0, 0, 0, 0,
|
||
|
2, 0, 0, 0, 89, 0,
|
||
|
0, 4, 70, 142, 32, 0,
|
||
|
2, 0, 0, 0, 21, 0,
|
||
|
0, 0, 95, 0, 0, 3,
|
||
|
242, 16, 16, 0, 0, 0,
|
||
|
0, 0, 95, 0, 0, 3,
|
||
|
114, 16, 16, 0, 1, 0,
|
||
|
0, 0, 95, 0, 0, 3,
|
||
|
242, 16, 16, 0, 2, 0,
|
||
|
0, 0, 95, 0, 0, 3,
|
||
|
242, 16, 16, 0, 3, 0,
|
||
|
0, 0, 95, 0, 0, 3,
|
||
|
50, 16, 16, 0, 4, 0,
|
||
|
0, 0, 103, 0, 0, 4,
|
||
|
242, 32, 16, 0, 0, 0,
|
||
|
0, 0, 1, 0, 0, 0,
|
||
|
101, 0, 0, 3, 242, 32,
|
||
|
16, 0, 1, 0, 0, 0,
|
||
|
101, 0, 0, 3, 50, 32,
|
||
|
16, 0, 2, 0, 0, 0,
|
||
|
101, 0, 0, 3, 114, 32,
|
||
|
16, 0, 3, 0, 0, 0,
|
||
|
101, 0, 0, 3, 114, 32,
|
||
|
16, 0, 4, 0, 0, 0,
|
||
|
101, 0, 0, 3, 114, 32,
|
||
|
16, 0, 5, 0, 0, 0,
|
||
|
101, 0, 0, 3, 242, 32,
|
||
|
16, 0, 6, 0, 0, 0,
|
||
|
101, 0, 0, 3, 114, 32,
|
||
|
16, 0, 7, 0, 0, 0,
|
||
|
104, 0, 0, 2, 1, 0,
|
||
|
0, 0, 17, 0, 0, 8,
|
||
|
18, 32, 16, 0, 0, 0,
|
||
|
0, 0, 70, 30, 16, 0,
|
||
|
0, 0, 0, 0, 70, 142,
|
||
|
32, 0, 2, 0, 0, 0,
|
||
|
4, 0, 0, 0, 17, 0,
|
||
|
0, 8, 34, 32, 16, 0,
|
||
|
0, 0, 0, 0, 70, 30,
|
||
|
16, 0, 0, 0, 0, 0,
|
||
|
70, 142, 32, 0, 2, 0,
|
||
|
0, 0, 5, 0, 0, 0,
|
||
|
17, 0, 0, 8, 66, 32,
|
||
|
16, 0, 0, 0, 0, 0,
|
||
|
70, 30, 16, 0, 0, 0,
|
||
|
0, 0, 70, 142, 32, 0,
|
||
|
2, 0, 0, 0, 6, 0,
|
||
|
0, 0, 17, 0, 0, 8,
|
||
|
130, 32, 16, 0, 0, 0,
|
||
|
0, 0, 70, 30, 16, 0,
|
||
|
0, 0, 0, 0, 70, 142,
|
||
|
32, 0, 2, 0, 0, 0,
|
||
|
7, 0, 0, 0, 56, 0,
|
||
|
0, 8, 242, 32, 16, 0,
|
||
|
1, 0, 0, 0, 70, 30,
|
||
|
16, 0, 3, 0, 0, 0,
|
||
|
70, 142, 32, 0, 0, 0,
|
||
|
0, 0, 1, 0, 0, 0,
|
||
|
54, 0, 0, 5, 50, 0,
|
||
|
16, 0, 0, 0, 0, 0,
|
||
|
70, 16, 16, 0, 4, 0,
|
||
|
0, 0, 54, 0, 0, 5,
|
||
|
66, 0, 16, 0, 0, 0,
|
||
|
0, 0, 1, 64, 0, 0,
|
||
|
0, 0, 128, 63, 16, 0,
|
||
|
0, 8, 18, 32, 16, 0,
|
||
|
2, 0, 0, 0, 70, 2,
|
||
|
16, 0, 0, 0, 0, 0,
|
||
|
70, 131, 32, 0, 2, 0,
|
||
|
0, 0, 16, 0, 0, 0,
|
||
|
16, 0, 0, 8, 34, 32,
|
||
|
16, 0, 2, 0, 0, 0,
|
||
|
70, 2, 16, 0, 0, 0,
|
||
|
0, 0, 70, 131, 32, 0,
|
||
|
2, 0, 0, 0, 17, 0,
|
||
|
0, 0, 16, 0, 0, 8,
|
||
|
18, 32, 16, 0, 3, 0,
|
||
|
0, 0, 70, 18, 16, 0,
|
||
|
1, 0, 0, 0, 70, 130,
|
||
|
32, 0, 2, 0, 0, 0,
|
||
|
0, 0, 0, 0, 16, 0,
|
||
|
0, 8, 34, 32, 16, 0,
|
||
|
3, 0, 0, 0, 70, 18,
|
||
|
16, 0, 1, 0, 0, 0,
|
||
|
70, 130, 32, 0, 2, 0,
|
||
|
0, 0, 1, 0, 0, 0,
|
||
|
16, 0, 0, 8, 66, 32,
|
||
|
16, 0, 3, 0, 0, 0,
|
||
|
70, 18, 16, 0, 1, 0,
|
||
|
0, 0, 70, 130, 32, 0,
|
||
|
2, 0, 0, 0, 2, 0,
|
||
|
0, 0, 17, 0, 0, 8,
|
||
|
18, 0, 16, 0, 0, 0,
|
||
|
0, 0, 70, 30, 16, 0,
|
||
|
0, 0, 0, 0, 70, 142,
|
||
|
32, 0, 2, 0, 0, 0,
|
||
|
0, 0, 0, 0, 17, 0,
|
||
|
0, 8, 34, 0, 16, 0,
|
||
|
0, 0, 0, 0, 70, 30,
|
||
|
16, 0, 0, 0, 0, 0,
|
||
|
70, 142, 32, 0, 2, 0,
|
||
|
0, 0, 1, 0, 0, 0,
|
||
|
17, 0, 0, 8, 66, 0,
|
||
|
16, 0, 0, 0, 0, 0,
|
||
|
70, 30, 16, 0, 0, 0,
|
||
|
0, 0, 70, 142, 32, 0,
|
||
|
2, 0, 0, 0, 2, 0,
|
||
|
0, 0, 54, 0, 0, 5,
|
||
|
114, 32, 16, 0, 4, 0,
|
||
|
0, 0, 70, 2, 16, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 9, 114, 32, 16, 0,
|
||
|
5, 0, 0, 0, 70, 2,
|
||
|
16, 128, 65, 0, 0, 0,
|
||
|
0, 0, 0, 0, 70, 130,
|
||
|
32, 0, 2, 0, 0, 0,
|
||
|
20, 0, 0, 0, 54, 0,
|
||
|
0, 5, 242, 32, 16, 0,
|
||
|
6, 0, 0, 0, 70, 30,
|
||
|
16, 0, 2, 0, 0, 0,
|
||
|
54, 0, 0, 5, 114, 32,
|
||
|
16, 0, 7, 0, 0, 0,
|
||
|
70, 18, 16, 0, 1, 0,
|
||
|
0, 0, 62, 0, 0, 1,
|
||
|
73, 83, 71, 78, 172, 0,
|
||
|
0, 0, 5, 0, 0, 0,
|
||
|
8, 0, 0, 0, 128, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0, 0, 3, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
15, 15, 0, 0, 140, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0, 0, 3, 0,
|
||
|
0, 0, 1, 0, 0, 0,
|
||
|
7, 7, 0, 0, 147, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0, 0, 3, 0,
|
||
|
0, 0, 2, 0, 0, 0,
|
||
|
15, 15, 0, 0, 155, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0, 0, 3, 0,
|
||
|
0, 0, 3, 0, 0, 0,
|
||
|
15, 15, 0, 0, 161, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0, 0, 3, 0,
|
||
|
0, 0, 4, 0, 0, 0,
|
||
|
3, 3, 0, 0, 83, 86,
|
||
|
95, 80, 111, 115, 105, 116,
|
||
|
105, 111, 110, 0, 78, 79,
|
||
|
82, 77, 65, 76, 0, 84,
|
||
|
65, 78, 71, 69, 78, 84,
|
||
|
0, 67, 79, 76, 79, 82,
|
||
|
0, 84, 69, 88, 67, 79,
|
||
|
79, 82, 68, 0, 171, 171,
|
||
|
79, 83, 71, 78, 228, 0,
|
||
|
0, 0, 8, 0, 0, 0,
|
||
|
8, 0, 0, 0, 200, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
1, 0, 0, 0, 3, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
15, 0, 0, 0, 212, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0, 0, 3, 0,
|
||
|
0, 0, 1, 0, 0, 0,
|
||
|
15, 0, 0, 0, 218, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0, 0, 3, 0,
|
||
|
0, 0, 2, 0, 0, 0,
|
||
|
3, 12, 0, 0, 218, 0,
|
||
|
0, 0, 1, 0, 0, 0,
|
||
|
0, 0, 0, 0, 3, 0,
|
||
|
0, 0, 3, 0, 0, 0,
|
||
|
7, 8, 0, 0, 218, 0,
|
||
|
0, 0, 2, 0, 0, 0,
|
||
|
0, 0, 0, 0, 3, 0,
|
||
|
0, 0, 4, 0, 0, 0,
|
||
|
7, 8, 0, 0, 218, 0,
|
||
|
0, 0, 3, 0, 0, 0,
|
||
|
0, 0, 0, 0, 3, 0,
|
||
|
0, 0, 5, 0, 0, 0,
|
||
|
7, 8, 0, 0, 218, 0,
|
||
|
0, 0, 4, 0, 0, 0,
|
||
|
0, 0, 0, 0, 3, 0,
|
||
|
0, 0, 6, 0, 0, 0,
|
||
|
15, 0, 0, 0, 218, 0,
|
||
|
0, 0, 5, 0, 0, 0,
|
||
|
0, 0, 0, 0, 3, 0,
|
||
|
0, 0, 7, 0, 0, 0,
|
||
|
7, 8, 0, 0, 83, 86,
|
||
|
95, 80, 79, 83, 73, 84,
|
||
|
73, 79, 78, 0, 67, 79,
|
||
|
76, 79, 82, 0, 84, 69,
|
||
|
88, 67, 79, 79, 82, 68,
|
||
|
0, 171
|
||
|
};
|