webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
swizzlef2darrayps.h
Go to the documentation of this file.
1 #if 0
2 //
3 // Generated by Microsoft (R) HLSL Shader Compiler 6.3.9600.16384
4 //
5 //
6 // Buffer Definitions:
7 //
8 // cbuffer SwizzleProperties
9 // {
10 //
11 // uint4 SwizzleIndices; // Offset: 0 Size: 16
12 //
13 // }
14 //
15 //
16 // Resource Bindings:
17 //
18 // Name Type Format Dim Slot Elements
19 // ------------------------------ ---------- ------- ----------- ---- --------
20 // Sampler sampler NA NA 0 1
21 // TextureF2DArray texture float4 2darray 0 1
22 // SwizzleProperties cbuffer NA NA 0 1
23 //
24 //
25 //
26 // Input signature:
27 //
28 // Name Index Mask Register SysValue Format Used
29 // -------------------- ----- ------ -------- -------- ------- ------
30 // SV_POSITION 0 xyzw 0 POS float
31 // SV_RENDERTARGETARRAYINDEX 0 x 1 RTINDEX uint x
32 // TEXCOORD 0 xyz 2 NONE float xy
33 //
34 //
35 // Output signature:
36 //
37 // Name Index Mask Register SysValue Format Used
38 // -------------------- ----- ------ -------- -------- ------- ------
39 // SV_TARGET 0 xyzw 0 TARGET float xyzw
40 //
41 ps_4_0
42 dcl_constantbuffer cb0[1], immediateIndexed
43 dcl_sampler s0, mode_default
44 dcl_resource_texture2darray (float,float,float,float) t0
45 dcl_input_ps_siv constant v1.x, rendertarget_array_index
46 dcl_input_ps linear v2.xy
47 dcl_output o0.xyzw
48 dcl_temps 1
49 dcl_indexableTemp x0[6], 4
50 utof r0.z, v1.x
51 mov r0.xy, v2.xyxx
52 sample r0.xyzw, r0.xyzx, t0.xyzw, s0
53 mov x0[0].x, r0.x
54 mov x0[1].x, r0.y
55 mov x0[2].x, r0.z
56 mov x0[3].x, r0.w
57 mov x0[4].x, l(0)
58 mov x0[5].x, l(1.000000)
59 mov r0.x, cb0[0].x
60 mov o0.x, x0[r0.x + 0].x
61 mov r0.x, cb0[0].y
62 mov o0.y, x0[r0.x + 0].x
63 mov r0.x, cb0[0].z
64 mov o0.z, x0[r0.x + 0].x
65 mov r0.x, cb0[0].w
66 mov o0.w, x0[r0.x + 0].x
67 ret
68 // Approximately 18 instruction slots used
69 #endif
70 
71 const BYTE g_PS_SwizzleF2DArray[] =
72 {
73  68, 88, 66, 67, 39, 232,
74  91, 166, 165, 217, 22, 39,
75  183, 202, 191, 64, 238, 104,
76  217, 199, 1, 0, 0, 0,
77  204, 4, 0, 0, 5, 0,
78  0, 0, 52, 0, 0, 0,
79  104, 1, 0, 0, 240, 1,
80  0, 0, 36, 2, 0, 0,
81  80, 4, 0, 0, 82, 68,
82  69, 70, 44, 1, 0, 0,
83  1, 0, 0, 0, 168, 0,
84  0, 0, 3, 0, 0, 0,
85  28, 0, 0, 0, 0, 4,
86  255, 255, 0, 1, 0, 0,
87  248, 0, 0, 0, 124, 0,
88  0, 0, 3, 0, 0, 0,
89  0, 0, 0, 0, 0, 0,
90  0, 0, 0, 0, 0, 0,
91  0, 0, 0, 0, 1, 0,
92  0, 0, 1, 0, 0, 0,
93  132, 0, 0, 0, 2, 0,
94  0, 0, 5, 0, 0, 0,
95  5, 0, 0, 0, 255, 255,
96  255, 255, 0, 0, 0, 0,
97  1, 0, 0, 0, 13, 0,
98  0, 0, 148, 0, 0, 0,
99  0, 0, 0, 0, 0, 0,
100  0, 0, 0, 0, 0, 0,
101  0, 0, 0, 0, 0, 0,
102  0, 0, 1, 0, 0, 0,
103  1, 0, 0, 0, 83, 97,
104  109, 112, 108, 101, 114, 0,
105  84, 101, 120, 116, 117, 114,
106  101, 70, 50, 68, 65, 114,
107  114, 97, 121, 0, 83, 119,
108  105, 122, 122, 108, 101, 80,
109  114, 111, 112, 101, 114, 116,
110  105, 101, 115, 0, 171, 171,
111  148, 0, 0, 0, 1, 0,
112  0, 0, 192, 0, 0, 0,
113  16, 0, 0, 0, 0, 0,
114  0, 0, 0, 0, 0, 0,
115  216, 0, 0, 0, 0, 0,
116  0, 0, 16, 0, 0, 0,
117  2, 0, 0, 0, 232, 0,
118  0, 0, 0, 0, 0, 0,
119  83, 119, 105, 122, 122, 108,
120  101, 73, 110, 100, 105, 99,
121  101, 115, 0, 171, 1, 0,
122  19, 0, 1, 0, 4, 0,
123  0, 0, 0, 0, 0, 0,
124  0, 0, 77, 105, 99, 114,
125  111, 115, 111, 102, 116, 32,
126  40, 82, 41, 32, 72, 76,
127  83, 76, 32, 83, 104, 97,
128  100, 101, 114, 32, 67, 111,
129  109, 112, 105, 108, 101, 114,
130  32, 54, 46, 51, 46, 57,
131  54, 48, 48, 46, 49, 54,
132  51, 56, 52, 0, 171, 171,
133  73, 83, 71, 78, 128, 0,
134  0, 0, 3, 0, 0, 0,
135  8, 0, 0, 0, 80, 0,
136  0, 0, 0, 0, 0, 0,
137  1, 0, 0, 0, 3, 0,
138  0, 0, 0, 0, 0, 0,
139  15, 0, 0, 0, 92, 0,
140  0, 0, 0, 0, 0, 0,
141  4, 0, 0, 0, 1, 0,
142  0, 0, 1, 0, 0, 0,
143  1, 1, 0, 0, 118, 0,
144  0, 0, 0, 0, 0, 0,
145  0, 0, 0, 0, 3, 0,
146  0, 0, 2, 0, 0, 0,
147  7, 3, 0, 0, 83, 86,
148  95, 80, 79, 83, 73, 84,
149  73, 79, 78, 0, 83, 86,
150  95, 82, 69, 78, 68, 69,
151  82, 84, 65, 82, 71, 69,
152  84, 65, 82, 82, 65, 89,
153  73, 78, 68, 69, 88, 0,
154  84, 69, 88, 67, 79, 79,
155  82, 68, 0, 171, 79, 83,
156  71, 78, 44, 0, 0, 0,
157  1, 0, 0, 0, 8, 0,
158  0, 0, 32, 0, 0, 0,
159  0, 0, 0, 0, 0, 0,
160  0, 0, 3, 0, 0, 0,
161  0, 0, 0, 0, 15, 0,
162  0, 0, 83, 86, 95, 84,
163  65, 82, 71, 69, 84, 0,
164  171, 171, 83, 72, 68, 82,
165  36, 2, 0, 0, 64, 0,
166  0, 0, 137, 0, 0, 0,
167  89, 0, 0, 4, 70, 142,
168  32, 0, 0, 0, 0, 0,
169  1, 0, 0, 0, 90, 0,
170  0, 3, 0, 96, 16, 0,
171  0, 0, 0, 0, 88, 64,
172  0, 4, 0, 112, 16, 0,
173  0, 0, 0, 0, 85, 85,
174  0, 0, 100, 8, 0, 4,
175  18, 16, 16, 0, 1, 0,
176  0, 0, 4, 0, 0, 0,
177  98, 16, 0, 3, 50, 16,
178  16, 0, 2, 0, 0, 0,
179  101, 0, 0, 3, 242, 32,
180  16, 0, 0, 0, 0, 0,
181  104, 0, 0, 2, 1, 0,
182  0, 0, 105, 0, 0, 4,
183  0, 0, 0, 0, 6, 0,
184  0, 0, 4, 0, 0, 0,
185  86, 0, 0, 5, 66, 0,
186  16, 0, 0, 0, 0, 0,
187  10, 16, 16, 0, 1, 0,
188  0, 0, 54, 0, 0, 5,
189  50, 0, 16, 0, 0, 0,
190  0, 0, 70, 16, 16, 0,
191  2, 0, 0, 0, 69, 0,
192  0, 9, 242, 0, 16, 0,
193  0, 0, 0, 0, 70, 2,
194  16, 0, 0, 0, 0, 0,
195  70, 126, 16, 0, 0, 0,
196  0, 0, 0, 96, 16, 0,
197  0, 0, 0, 0, 54, 0,
198  0, 6, 18, 48, 32, 0,
199  0, 0, 0, 0, 0, 0,
200  0, 0, 10, 0, 16, 0,
201  0, 0, 0, 0, 54, 0,
202  0, 6, 18, 48, 32, 0,
203  0, 0, 0, 0, 1, 0,
204  0, 0, 26, 0, 16, 0,
205  0, 0, 0, 0, 54, 0,
206  0, 6, 18, 48, 32, 0,
207  0, 0, 0, 0, 2, 0,
208  0, 0, 42, 0, 16, 0,
209  0, 0, 0, 0, 54, 0,
210  0, 6, 18, 48, 32, 0,
211  0, 0, 0, 0, 3, 0,
212  0, 0, 58, 0, 16, 0,
213  0, 0, 0, 0, 54, 0,
214  0, 6, 18, 48, 32, 0,
215  0, 0, 0, 0, 4, 0,
216  0, 0, 1, 64, 0, 0,
217  0, 0, 0, 0, 54, 0,
218  0, 6, 18, 48, 32, 0,
219  0, 0, 0, 0, 5, 0,
220  0, 0, 1, 64, 0, 0,
221  0, 0, 128, 63, 54, 0,
222  0, 6, 18, 0, 16, 0,
223  0, 0, 0, 0, 10, 128,
224  32, 0, 0, 0, 0, 0,
225  0, 0, 0, 0, 54, 0,
226  0, 7, 18, 32, 16, 0,
227  0, 0, 0, 0, 10, 48,
228  32, 4, 0, 0, 0, 0,
229  10, 0, 16, 0, 0, 0,
230  0, 0, 54, 0, 0, 6,
231  18, 0, 16, 0, 0, 0,
232  0, 0, 26, 128, 32, 0,
233  0, 0, 0, 0, 0, 0,
234  0, 0, 54, 0, 0, 7,
235  34, 32, 16, 0, 0, 0,
236  0, 0, 10, 48, 32, 4,
237  0, 0, 0, 0, 10, 0,
238  16, 0, 0, 0, 0, 0,
239  54, 0, 0, 6, 18, 0,
240  16, 0, 0, 0, 0, 0,
241  42, 128, 32, 0, 0, 0,
242  0, 0, 0, 0, 0, 0,
243  54, 0, 0, 7, 66, 32,
244  16, 0, 0, 0, 0, 0,
245  10, 48, 32, 4, 0, 0,
246  0, 0, 10, 0, 16, 0,
247  0, 0, 0, 0, 54, 0,
248  0, 6, 18, 0, 16, 0,
249  0, 0, 0, 0, 58, 128,
250  32, 0, 0, 0, 0, 0,
251  0, 0, 0, 0, 54, 0,
252  0, 7, 130, 32, 16, 0,
253  0, 0, 0, 0, 10, 48,
254  32, 4, 0, 0, 0, 0,
255  10, 0, 16, 0, 0, 0,
256  0, 0, 62, 0, 0, 1,
257  83, 84, 65, 84, 116, 0,
258  0, 0, 18, 0, 0, 0,
259  1, 0, 0, 0, 0, 0,
260  0, 0, 3, 0, 0, 0,
261  0, 0, 0, 0, 0, 0,
262  0, 0, 0, 0, 0, 0,
263  1, 0, 0, 0, 0, 0,
264  0, 0, 0, 0, 0, 0,
265  6, 0, 0, 0, 10, 0,
266  0, 0, 0, 0, 0, 0,
267  0, 0, 0, 0, 1, 0,
268  0, 0, 0, 0, 0, 0,
269  0, 0, 0, 0, 0, 0,
270  0, 0, 0, 0, 0, 0,
271  5, 0, 0, 0, 0, 0,
272  0, 0, 1, 0, 0, 0,
273  0, 0, 0, 0, 0, 0,
274  0, 0, 0, 0, 0, 0,
275  0, 0, 0, 0, 0, 0,
276  0, 0, 0, 0, 0, 0,
277  0, 0, 0, 0
278 };
int ret
Definition: test_unit_dft.c:69
EGLSurface EGLint x
Definition: eglext.h:950
EGLSurface EGLint EGLint y
Definition: eglext.h:950
GLfloat GLfloat GLfloat v2
Definition: gl2.h:500
GLfloat GLfloat GLfloat z
Definition: gl2.h:517
Definition: PannerNode.idl:37
GLfloat GLfloat GLfloat GLfloat w
Definition: gl2.h:519
const BYTE g_PS_SwizzleF2DArray[]
Definition: swizzlef2darrayps.h:71
GLfloat GLfloat v1
Definition: gl2.h:496