• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #if 0
2 //
3 // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111
4 //
5 //
6 //   fxc /Fhd3d11tex.hlsl.ps.h /Eps /Tps_4_0 d3d11tex.hlsl
7 //
8 //
9 // Resource Bindings:
10 //
11 // Name                                 Type  Format         Dim Slot Elements
12 // ------------------------------ ---------- ------- ----------- ---- --------
13 // samp0                             sampler      NA          NA    0        1
14 // samp1                             sampler      NA          NA    1        1
15 // tex0                              texture  float4          2d    0        1
16 // tex1                              texture  float4          2d    1        1
17 //
18 //
19 //
20 // Input signature:
21 //
22 // Name                 Index   Mask Register SysValue Format   Used
23 // -------------------- ----- ------ -------- -------- ------ ------
24 // SV_POSITION              0   xyzw        0      POS  float
25 // TEXCOORD                 0   xy          1     NONE  float   xy
26 // FACTORS                  0   xyzw        2     NONE  float   xyzw
27 //
28 //
29 // Output signature:
30 //
31 // Name                 Index   Mask Register SysValue Format   Used
32 // -------------------- ----- ------ -------- -------- ------ ------
33 // SV_TARGET                0   xyzw        0   TARGET  float   xyzw
34 //
35 ps_4_0
36 dcl_sampler s0, mode_default
37 dcl_sampler s1, mode_default
38 dcl_resource_texture2d (float,float,float,float) t0
39 dcl_resource_texture2d (float,float,float,float) t1
40 dcl_input_ps linear v1.xy
41 dcl_input_ps linear v2.xyzw
42 dcl_output o0.xyzw
43 dcl_temps 3
44 sample r0.xyzw, v1.xyxx, t1.xyzw, s1
45 mul r0.xyzw, r0.xyzw, v2.xxxx
46 sample r1.xyzw, v1.xyxx, t1.xyzw, s0
47 mad r0.xyzw, r1.xyzw, v2.zzzz, r0.xyzw
48 mul r0.xyzw, r0.xyzw, v2.yyyy
49 sample r1.xyzw, v1.xyxx, t0.xyzw, s1
50 mul r1.xyzw, r1.xyzw, v2.xxxx
51 sample r2.xyzw, v1.xyxx, t0.xyzw, s0
52 mad r1.xyzw, r2.xyzw, v2.zzzz, r1.xyzw
53 mad o0.xyzw, r1.xyzw, v2.wwww, r0.xyzw
54 ret
55 // Approximately 11 instruction slots used
56 #endif
57 
58 const BYTE g_ps[] =
59 {
60      68,  88,  66,  67, 139, 203,
61     114,  37, 104, 101, 201,  12,
62     197, 147, 116,  98,  80, 214,
63     173, 207,   1,   0,   0,   0,
64      16,   4,   0,   0,   5,   0,
65       0,   0,  52,   0,   0,   0,
66      32,   1,   0,   0, 152,   1,
67       0,   0, 204,   1,   0,   0,
68     148,   3,   0,   0,  82,  68,
69      69,  70, 228,   0,   0,   0,
70       0,   0,   0,   0,   0,   0,
71       0,   0,   4,   0,   0,   0,
72      28,   0,   0,   0,   0,   4,
73     255, 255,   0,   1,   0,   0,
74     178,   0,   0,   0, 156,   0,
75       0,   0,   3,   0,   0,   0,
76       0,   0,   0,   0,   0,   0,
77       0,   0,   0,   0,   0,   0,
78       0,   0,   0,   0,   1,   0,
79       0,   0,   0,   0,   0,   0,
80     162,   0,   0,   0,   3,   0,
81       0,   0,   0,   0,   0,   0,
82       0,   0,   0,   0,   0,   0,
83       0,   0,   1,   0,   0,   0,
84       1,   0,   0,   0,   0,   0,
85       0,   0, 168,   0,   0,   0,
86       2,   0,   0,   0,   5,   0,
87       0,   0,   4,   0,   0,   0,
88     255, 255, 255, 255,   0,   0,
89       0,   0,   1,   0,   0,   0,
90      12,   0,   0,   0, 173,   0,
91       0,   0,   2,   0,   0,   0,
92       5,   0,   0,   0,   4,   0,
93       0,   0, 255, 255, 255, 255,
94       1,   0,   0,   0,   1,   0,
95       0,   0,  12,   0,   0,   0,
96     115,  97, 109, 112,  48,   0,
97     115,  97, 109, 112,  49,   0,
98     116, 101, 120,  48,   0, 116,
99     101, 120,  49,   0,  77, 105,
100      99, 114, 111, 115, 111, 102,
101     116,  32,  40,  82,  41,  32,
102      72,  76,  83,  76,  32,  83,
103     104,  97, 100, 101, 114,  32,
104      67, 111, 109, 112, 105, 108,
105     101, 114,  32,  57,  46,  50,
106      57,  46,  57,  53,  50,  46,
107      51,  49,  49,  49,   0, 171,
108      73,  83,  71,  78, 112,   0,
109       0,   0,   3,   0,   0,   0,
110       8,   0,   0,   0,  80,   0,
111       0,   0,   0,   0,   0,   0,
112       1,   0,   0,   0,   3,   0,
113       0,   0,   0,   0,   0,   0,
114      15,   0,   0,   0,  92,   0,
115       0,   0,   0,   0,   0,   0,
116       0,   0,   0,   0,   3,   0,
117       0,   0,   1,   0,   0,   0,
118       3,   3,   0,   0, 101,   0,
119       0,   0,   0,   0,   0,   0,
120       0,   0,   0,   0,   3,   0,
121       0,   0,   2,   0,   0,   0,
122      15,  15,   0,   0,  83,  86,
123      95,  80,  79,  83,  73,  84,
124      73,  79,  78,   0,  84,  69,
125      88,  67,  79,  79,  82,  68,
126       0,  70,  65,  67,  84,  79,
127      82,  83,   0, 171, 171, 171,
128      79,  83,  71,  78,  44,   0,
129       0,   0,   1,   0,   0,   0,
130       8,   0,   0,   0,  32,   0,
131       0,   0,   0,   0,   0,   0,
132       0,   0,   0,   0,   3,   0,
133       0,   0,   0,   0,   0,   0,
134      15,   0,   0,   0,  83,  86,
135      95,  84,  65,  82,  71,  69,
136      84,   0, 171, 171,  83,  72,
137      68,  82, 192,   1,   0,   0,
138      64,   0,   0,   0, 112,   0,
139       0,   0,  90,   0,   0,   3,
140       0,  96,  16,   0,   0,   0,
141       0,   0,  90,   0,   0,   3,
142       0,  96,  16,   0,   1,   0,
143       0,   0,  88,  24,   0,   4,
144       0, 112,  16,   0,   0,   0,
145       0,   0,  85,  85,   0,   0,
146      88,  24,   0,   4,   0, 112,
147      16,   0,   1,   0,   0,   0,
148      85,  85,   0,   0,  98,  16,
149       0,   3,  50,  16,  16,   0,
150       1,   0,   0,   0,  98,  16,
151       0,   3, 242,  16,  16,   0,
152       2,   0,   0,   0, 101,   0,
153       0,   3, 242,  32,  16,   0,
154       0,   0,   0,   0, 104,   0,
155       0,   2,   3,   0,   0,   0,
156      69,   0,   0,   9, 242,   0,
157      16,   0,   0,   0,   0,   0,
158      70,  16,  16,   0,   1,   0,
159       0,   0,  70, 126,  16,   0,
160       1,   0,   0,   0,   0,  96,
161      16,   0,   1,   0,   0,   0,
162      56,   0,   0,   7, 242,   0,
163      16,   0,   0,   0,   0,   0,
164      70,  14,  16,   0,   0,   0,
165       0,   0,   6,  16,  16,   0,
166       2,   0,   0,   0,  69,   0,
167       0,   9, 242,   0,  16,   0,
168       1,   0,   0,   0,  70,  16,
169      16,   0,   1,   0,   0,   0,
170      70, 126,  16,   0,   1,   0,
171       0,   0,   0,  96,  16,   0,
172       0,   0,   0,   0,  50,   0,
173       0,   9, 242,   0,  16,   0,
174       0,   0,   0,   0,  70,  14,
175      16,   0,   1,   0,   0,   0,
176     166,  26,  16,   0,   2,   0,
177       0,   0,  70,  14,  16,   0,
178       0,   0,   0,   0,  56,   0,
179       0,   7, 242,   0,  16,   0,
180       0,   0,   0,   0,  70,  14,
181      16,   0,   0,   0,   0,   0,
182      86,  21,  16,   0,   2,   0,
183       0,   0,  69,   0,   0,   9,
184     242,   0,  16,   0,   1,   0,
185       0,   0,  70,  16,  16,   0,
186       1,   0,   0,   0,  70, 126,
187      16,   0,   0,   0,   0,   0,
188       0,  96,  16,   0,   1,   0,
189       0,   0,  56,   0,   0,   7,
190     242,   0,  16,   0,   1,   0,
191       0,   0,  70,  14,  16,   0,
192       1,   0,   0,   0,   6,  16,
193      16,   0,   2,   0,   0,   0,
194      69,   0,   0,   9, 242,   0,
195      16,   0,   2,   0,   0,   0,
196      70,  16,  16,   0,   1,   0,
197       0,   0,  70, 126,  16,   0,
198       0,   0,   0,   0,   0,  96,
199      16,   0,   0,   0,   0,   0,
200      50,   0,   0,   9, 242,   0,
201      16,   0,   1,   0,   0,   0,
202      70,  14,  16,   0,   2,   0,
203       0,   0, 166,  26,  16,   0,
204       2,   0,   0,   0,  70,  14,
205      16,   0,   1,   0,   0,   0,
206      50,   0,   0,   9, 242,  32,
207      16,   0,   0,   0,   0,   0,
208      70,  14,  16,   0,   1,   0,
209       0,   0, 246,  31,  16,   0,
210       2,   0,   0,   0,  70,  14,
211      16,   0,   0,   0,   0,   0,
212      62,   0,   0,   1,  83,  84,
213      65,  84, 116,   0,   0,   0,
214      11,   0,   0,   0,   3,   0,
215       0,   0,   0,   0,   0,   0,
216       3,   0,   0,   0,   3,   0,
217       0,   0,   0,   0,   0,   0,
218       0,   0,   0,   0,   1,   0,
219       0,   0,   0,   0,   0,   0,
220       0,   0,   0,   0,   0,   0,
221       0,   0,   0,   0,   0,   0,
222       0,   0,   0,   0,   0,   0,
223       0,   0,   4,   0,   0,   0,
224       0,   0,   0,   0,   0,   0,
225       0,   0,   0,   0,   0,   0,
226       0,   0,   0,   0,   0,   0,
227       0,   0,   0,   0,   0,   0,
228       0,   0,   0,   0,   0,   0,
229       0,   0,   0,   0,   0,   0,
230       0,   0,   0,   0,   0,   0,
231       0,   0,   0,   0,   0,   0,
232       0,   0,   0,   0,   0,   0,
233       0,   0
234 };
235