]> git.cworth.org Git - apitrace-tests/blob - apps/d3dcommon/tri_vs_4_0_level_9_1.h
Add a d3d10 level 9 test case.
[apitrace-tests] / apps / d3dcommon / tri_vs_4_0_level_9_1.h
1 #if 0
2 //
3 // Generated by Microsoft (R) D3D Shader Disassembler
4 //
5 //
6 //   fxc /nologo /Qstrip_reflect /T vs_4_0_level_9_1 /E VS /Fh
7 //    Z:/projects/apitrace/tests/apps/d3dcommon/tri_vs_4_0_level_9_1.h
8 //    Z:/projects/apitrace/tests/apps/d3dcommon/tri.fx
9 //
10 //
11 // Input signature:
12 //
13 // Name                 Index   Mask Register SysValue  Format   Used
14 // -------------------- ----- ------ -------- -------- ------- ------
15 // POSITION                 0   xyzw        0     NONE   float   xyzw
16 // COLOR                    0   xyzw        1     NONE   float   xyzw
17 //
18 //
19 // Output signature:
20 //
21 // Name                 Index   Mask Register SysValue  Format   Used
22 // -------------------- ----- ------ -------- -------- ------- ------
23 // SV_POSITION              0   xyzw        0      POS   float   xyzw
24 // COLOR                    0   xyzw        1     NONE   float   xyzw
25 //
26 //
27 // Runtime generated constant mappings:
28 //
29 // Target Reg                               Constant Description
30 // ---------- --------------------------------------------------
31 // c0                              Vertex Shader position offset
32 //
33 //
34 // Level9 shader bytecode:
35 //
36     vs_2_0
37     dcl_texcoord v0
38     dcl_texcoord1 v1
39     mad oPos.xy, v0.w, c0, v0
40     mov oPos.zw, v0
41     mov oT0, v1
42
43 // approximately 3 instruction slots used
44 vs_4_0
45 dcl_input v0.xyzw
46 dcl_input v1.xyzw
47 dcl_output_siv o0.xyzw, position
48 dcl_output o1.xyzw
49 mov o0.xyzw, v0.xyzw
50 mov o1.xyzw, v1.xyzw
51 ret 
52 // Approximately 0 instruction slots used
53 #endif
54
55 const BYTE g_VS[] =
56 {
57      68,  88,  66,  67, 200, 135, 
58     140, 149, 126, 224, 232,  55, 
59     199, 118,  64,  71, 204, 172, 
60      65, 111,   1,   0,   0,   0, 
61     192,   1,   0,   0,   4,   0, 
62       0,   0,  48,   0,   0,   0, 
63     172,   0,   0,   0,  28,   1, 
64       0,   0, 108,   1,   0,   0, 
65      65, 111, 110,  57, 116,   0, 
66       0,   0, 116,   0,   0,   0, 
67       0,   2, 254, 255,  76,   0, 
68       0,   0,  40,   0,   0,   0, 
69       0,   0,  36,   0,   0,   0, 
70      36,   0,   0,   0,  36,   0, 
71       0,   0,  36,   0,   1,   0, 
72      36,   0,   0,   0,   0,   0, 
73       0,   2, 254, 255,  31,   0, 
74       0,   2,   5,   0,   0, 128, 
75       0,   0,  15, 144,  31,   0, 
76       0,   2,   5,   0,   1, 128, 
77       1,   0,  15, 144,   4,   0, 
78       0,   4,   0,   0,   3, 192, 
79       0,   0, 255, 144,   0,   0, 
80     228, 160,   0,   0, 228, 144, 
81       1,   0,   0,   2,   0,   0, 
82      12, 192,   0,   0, 228, 144, 
83       1,   0,   0,   2,   0,   0, 
84      15, 224,   1,   0, 228, 144, 
85     255, 255,   0,   0,  83,  72, 
86      68,  82, 104,   0,   0,   0, 
87      64,   0,   1,   0,  26,   0, 
88       0,   0,  95,   0,   0,   3, 
89     242,  16,  16,   0,   0,   0, 
90       0,   0,  95,   0,   0,   3, 
91     242,  16,  16,   0,   1,   0, 
92       0,   0, 103,   0,   0,   4, 
93     242,  32,  16,   0,   0,   0, 
94       0,   0,   1,   0,   0,   0, 
95     101,   0,   0,   3, 242,  32, 
96      16,   0,   1,   0,   0,   0, 
97      54,   0,   0,   5, 242,  32, 
98      16,   0,   0,   0,   0,   0, 
99      70,  30,  16,   0,   0,   0, 
100       0,   0,  54,   0,   0,   5, 
101     242,  32,  16,   0,   1,   0, 
102       0,   0,  70,  30,  16,   0, 
103       1,   0,   0,   0,  62,   0, 
104       0,   1,  73,  83,  71,  78, 
105      72,   0,   0,   0,   2,   0, 
106       0,   0,   8,   0,   0,   0, 
107      56,   0,   0,   0,   0,   0, 
108       0,   0,   0,   0,   0,   0, 
109       3,   0,   0,   0,   0,   0, 
110       0,   0,  15,  15,   0,   0, 
111      65,   0,   0,   0,   0,   0, 
112       0,   0,   0,   0,   0,   0, 
113       3,   0,   0,   0,   1,   0, 
114       0,   0,  15,  15,   0,   0, 
115      80,  79,  83,  73,  84,  73, 
116      79,  78,   0,  67,  79,  76, 
117      79,  82,   0, 171,  79,  83, 
118      71,  78,  76,   0,   0,   0, 
119       2,   0,   0,   0,   8,   0, 
120       0,   0,  56,   0,   0,   0, 
121       0,   0,   0,   0,   1,   0, 
122       0,   0,   3,   0,   0,   0, 
123       0,   0,   0,   0,  15,   0, 
124       0,   0,  68,   0,   0,   0, 
125       0,   0,   0,   0,   0,   0, 
126       0,   0,   3,   0,   0,   0, 
127       1,   0,   0,   0,  15,   0, 
128       0,   0,  83,  86,  95,  80, 
129      79,  83,  73,  84,  73,  79, 
130      78,   0,  67,  79,  76,  79, 
131      82,   0, 171, 171
132 };