278 lines
8.9 KiB
PHP
278 lines
8.9 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
|
||
|
// TEXCOORD 0 xy 1 NONE float xy
|
||
|
// TEXCOORD 1 xy 2 NONE float xy
|
||
|
// COLOR 0 xyzw 3 NONE float xyzw
|
||
|
//
|
||
|
//
|
||
|
// Output signature:
|
||
|
//
|
||
|
// Name Index Mask Register SysValue Format Used
|
||
|
// -------------------- ----- ------ -------- -------- ------- ------
|
||
|
// COLOR 0 xyzw 0 NONE float xyzw
|
||
|
// COLOR 1 xyzw 1 NONE float xyzw
|
||
|
// TEXCOORD 0 xy 2 NONE float xy
|
||
|
// TEXCOORD 1 zw 2 NONE float zw
|
||
|
// SV_Position 0 xyzw 3 POS float xyzw
|
||
|
//
|
||
|
//
|
||
|
// Constant buffer to DX9 shader constant mappings:
|
||
|
//
|
||
|
// Target Reg Buffer Start Reg # of Regs Data Conversion
|
||
|
// ---------- ------- --------- --------- ----------------------
|
||
|
// c1 cb0 0 1 ( FLT, FLT, FLT, FLT)
|
||
|
// c2 cb0 2 5 ( FLT, FLT, FLT, FLT)
|
||
|
//
|
||
|
//
|
||
|
// Runtime generated constant mappings:
|
||
|
//
|
||
|
// Target Reg Constant Description
|
||
|
// ---------- --------------------------------------------------
|
||
|
// c0 Vertex Shader position offset
|
||
|
//
|
||
|
//
|
||
|
// Level9 shader bytecode:
|
||
|
//
|
||
|
vs_2_0
|
||
|
def c7, 0, 1, 0, 0
|
||
|
dcl_texcoord v0
|
||
|
dcl_texcoord1 v1
|
||
|
dcl_texcoord2 v2
|
||
|
dcl_texcoord3 v3
|
||
|
dp4 oPos.z, v0, c5
|
||
|
dp4 r0.x, v0, c2
|
||
|
max r0.x, r0.x, c7.x
|
||
|
min oT1.w, r0.x, c7.y
|
||
|
mul oT0, v3, c1
|
||
|
dp4 r0.x, v0, c3
|
||
|
dp4 r0.y, v0, c4
|
||
|
dp4 r0.z, v0, c6
|
||
|
mad oPos.xy, r0.z, c0, r0
|
||
|
mov oPos.w, r0.z
|
||
|
mov oT1.xyz, c7.x
|
||
|
mov oT2.xy, v1
|
||
|
mov oT2.zw, v2.xyyx
|
||
|
|
||
|
// approximately 13 instruction slots used
|
||
|
vs_4_0
|
||
|
dcl_constantbuffer CB0[7], immediateIndexed
|
||
|
dcl_input v0.xyzw
|
||
|
dcl_input v1.xy
|
||
|
dcl_input v2.xy
|
||
|
dcl_input v3.xyzw
|
||
|
dcl_output o0.xyzw
|
||
|
dcl_output o1.xyzw
|
||
|
dcl_output o2.xy
|
||
|
dcl_output o2.zw
|
||
|
dcl_output_siv o3.xyzw, position
|
||
|
mul o0.xyzw, v3.xyzw, cb0[0].xyzw
|
||
|
dp4_sat o1.w, v0.xyzw, cb0[2].xyzw
|
||
|
mov o1.xyz, l(0,0,0,0)
|
||
|
mov o2.xy, v1.xyxx
|
||
|
mov o2.zw, v2.xxxy
|
||
|
dp4 o3.x, v0.xyzw, cb0[3].xyzw
|
||
|
dp4 o3.y, v0.xyzw, cb0[4].xyzw
|
||
|
dp4 o3.z, v0.xyzw, cb0[5].xyzw
|
||
|
dp4 o3.w, v0.xyzw, cb0[6].xyzw
|
||
|
ret
|
||
|
// Approximately 0 instruction slots used
|
||
|
#endif
|
||
|
|
||
|
const BYTE DualTextureEffect_VSDualTextureVc[] =
|
||
|
{
|
||
|
68, 88, 66, 67, 203, 16,
|
||
|
198, 231, 197, 220, 255, 190,
|
||
|
38, 217, 54, 1, 67, 218,
|
||
|
120, 110, 1, 0, 0, 0,
|
||
|
88, 4, 0, 0, 4, 0,
|
||
|
0, 0, 48, 0, 0, 0,
|
||
|
140, 1, 0, 0, 40, 3,
|
||
|
0, 0, 180, 3, 0, 0,
|
||
|
65, 111, 110, 57, 84, 1,
|
||
|
0, 0, 84, 1, 0, 0,
|
||
|
0, 2, 254, 255, 20, 1,
|
||
|
0, 0, 64, 0, 0, 0,
|
||
|
2, 0, 36, 0, 0, 0,
|
||
|
60, 0, 0, 0, 60, 0,
|
||
|
0, 0, 36, 0, 1, 0,
|
||
|
60, 0, 0, 0, 0, 0,
|
||
|
1, 0, 1, 0, 0, 0,
|
||
|
0, 0, 0, 0, 2, 0,
|
||
|
5, 0, 2, 0, 0, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 2, 254, 255, 81, 0,
|
||
|
0, 5, 7, 0, 15, 160,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
128, 63, 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, 9, 0,
|
||
|
0, 3, 0, 0, 4, 192,
|
||
|
0, 0, 228, 144, 5, 0,
|
||
|
228, 160, 9, 0, 0, 3,
|
||
|
0, 0, 1, 128, 0, 0,
|
||
|
228, 144, 2, 0, 228, 160,
|
||
|
11, 0, 0, 3, 0, 0,
|
||
|
1, 128, 0, 0, 0, 128,
|
||
|
7, 0, 0, 160, 10, 0,
|
||
|
0, 3, 1, 0, 8, 224,
|
||
|
0, 0, 0, 128, 7, 0,
|
||
|
85, 160, 5, 0, 0, 3,
|
||
|
0, 0, 15, 224, 3, 0,
|
||
|
228, 144, 1, 0, 228, 160,
|
||
|
9, 0, 0, 3, 0, 0,
|
||
|
1, 128, 0, 0, 228, 144,
|
||
|
3, 0, 228, 160, 9, 0,
|
||
|
0, 3, 0, 0, 2, 128,
|
||
|
0, 0, 228, 144, 4, 0,
|
||
|
228, 160, 9, 0, 0, 3,
|
||
|
0, 0, 4, 128, 0, 0,
|
||
|
228, 144, 6, 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,
|
||
|
1, 0, 7, 224, 7, 0,
|
||
|
0, 160, 1, 0, 0, 2,
|
||
|
2, 0, 3, 224, 1, 0,
|
||
|
228, 144, 1, 0, 0, 2,
|
||
|
2, 0, 12, 224, 2, 0,
|
||
|
20, 144, 255, 255, 0, 0,
|
||
|
83, 72, 68, 82, 148, 1,
|
||
|
0, 0, 64, 0, 1, 0,
|
||
|
101, 0, 0, 0, 89, 0,
|
||
|
0, 4, 70, 142, 32, 0,
|
||
|
0, 0, 0, 0, 7, 0,
|
||
|
0, 0, 95, 0, 0, 3,
|
||
|
242, 16, 16, 0, 0, 0,
|
||
|
0, 0, 95, 0, 0, 3,
|
||
|
50, 16, 16, 0, 1, 0,
|
||
|
0, 0, 95, 0, 0, 3,
|
||
|
50, 16, 16, 0, 2, 0,
|
||
|
0, 0, 95, 0, 0, 3,
|
||
|
242, 16, 16, 0, 3, 0,
|
||
|
0, 0, 101, 0, 0, 3,
|
||
|
242, 32, 16, 0, 0, 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,
|
||
|
194, 32, 16, 0, 2, 0,
|
||
|
0, 0, 103, 0, 0, 4,
|
||
|
242, 32, 16, 0, 3, 0,
|
||
|
0, 0, 1, 0, 0, 0,
|
||
|
56, 0, 0, 8, 242, 32,
|
||
|
16, 0, 0, 0, 0, 0,
|
||
|
70, 30, 16, 0, 3, 0,
|
||
|
0, 0, 70, 142, 32, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 17, 32, 0, 8,
|
||
|
130, 32, 16, 0, 1, 0,
|
||
|
0, 0, 70, 30, 16, 0,
|
||
|
0, 0, 0, 0, 70, 142,
|
||
|
32, 0, 0, 0, 0, 0,
|
||
|
2, 0, 0, 0, 54, 0,
|
||
|
0, 8, 114, 32, 16, 0,
|
||
|
1, 0, 0, 0, 2, 64,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
54, 0, 0, 5, 50, 32,
|
||
|
16, 0, 2, 0, 0, 0,
|
||
|
70, 16, 16, 0, 1, 0,
|
||
|
0, 0, 54, 0, 0, 5,
|
||
|
194, 32, 16, 0, 2, 0,
|
||
|
0, 0, 6, 20, 16, 0,
|
||
|
2, 0, 0, 0, 17, 0,
|
||
|
0, 8, 18, 32, 16, 0,
|
||
|
3, 0, 0, 0, 70, 30,
|
||
|
16, 0, 0, 0, 0, 0,
|
||
|
70, 142, 32, 0, 0, 0,
|
||
|
0, 0, 3, 0, 0, 0,
|
||
|
17, 0, 0, 8, 34, 32,
|
||
|
16, 0, 3, 0, 0, 0,
|
||
|
70, 30, 16, 0, 0, 0,
|
||
|
0, 0, 70, 142, 32, 0,
|
||
|
0, 0, 0, 0, 4, 0,
|
||
|
0, 0, 17, 0, 0, 8,
|
||
|
66, 32, 16, 0, 3, 0,
|
||
|
0, 0, 70, 30, 16, 0,
|
||
|
0, 0, 0, 0, 70, 142,
|
||
|
32, 0, 0, 0, 0, 0,
|
||
|
5, 0, 0, 0, 17, 0,
|
||
|
0, 8, 130, 32, 16, 0,
|
||
|
3, 0, 0, 0, 70, 30,
|
||
|
16, 0, 0, 0, 0, 0,
|
||
|
70, 142, 32, 0, 0, 0,
|
||
|
0, 0, 6, 0, 0, 0,
|
||
|
62, 0, 0, 1, 73, 83,
|
||
|
71, 78, 132, 0, 0, 0,
|
||
|
4, 0, 0, 0, 8, 0,
|
||
|
0, 0, 104, 0, 0, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 3, 0, 0, 0,
|
||
|
0, 0, 0, 0, 15, 15,
|
||
|
0, 0, 116, 0, 0, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 3, 0, 0, 0,
|
||
|
1, 0, 0, 0, 3, 3,
|
||
|
0, 0, 116, 0, 0, 0,
|
||
|
1, 0, 0, 0, 0, 0,
|
||
|
0, 0, 3, 0, 0, 0,
|
||
|
2, 0, 0, 0, 3, 3,
|
||
|
0, 0, 125, 0, 0, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 3, 0, 0, 0,
|
||
|
3, 0, 0, 0, 15, 15,
|
||
|
0, 0, 83, 86, 95, 80,
|
||
|
111, 115, 105, 116, 105, 111,
|
||
|
110, 0, 84, 69, 88, 67,
|
||
|
79, 79, 82, 68, 0, 67,
|
||
|
79, 76, 79, 82, 0, 171,
|
||
|
79, 83, 71, 78, 156, 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, 0, 0, 0, 128, 0,
|
||
|
0, 0, 1, 0, 0, 0,
|
||
|
0, 0, 0, 0, 3, 0,
|
||
|
0, 0, 1, 0, 0, 0,
|
||
|
15, 0, 0, 0, 134, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
0, 0, 0, 0, 3, 0,
|
||
|
0, 0, 2, 0, 0, 0,
|
||
|
3, 12, 0, 0, 134, 0,
|
||
|
0, 0, 1, 0, 0, 0,
|
||
|
0, 0, 0, 0, 3, 0,
|
||
|
0, 0, 2, 0, 0, 0,
|
||
|
12, 3, 0, 0, 143, 0,
|
||
|
0, 0, 0, 0, 0, 0,
|
||
|
1, 0, 0, 0, 3, 0,
|
||
|
0, 0, 3, 0, 0, 0,
|
||
|
15, 0, 0, 0, 67, 79,
|
||
|
76, 79, 82, 0, 84, 69,
|
||
|
88, 67, 79, 79, 82, 68,
|
||
|
0, 83, 86, 95, 80, 111,
|
||
|
115, 105, 116, 105, 111, 110,
|
||
|
0, 171
|
||
|
};
|