Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: conformance/ogles/GL/mat3/mat3_001_to_006.html

Issue 41993002: Add ToT WebGL conformance tests : part 9 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/webgl/sdk/tests/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
## -0,0 +1 ##
+LF
\ No newline at end of property
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <!-- this file is auto-generated. DO NOT EDIT.
3
4 /*
5 ** Copyright (c) 2012 The Khronos Group Inc.
6 **
7 ** Permission is hereby granted, free of charge, to any person obtaining a
8 ** copy of this software and/or associated documentation files (the
9 ** "Materials"), to deal in the Materials without restriction, including
10 ** without limitation the rights to use, copy, modify, merge, publish,
11 ** distribute, sublicense, and/or sell copies of the Materials, and to
12 ** permit persons to whom the Materials are furnished to do so, subject to
13 ** the following conditions:
14 **
15 ** The above copyright notice and this permission notice shall be included
16 ** in all copies or substantial portions of the Materials.
17 **
18 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
25 */
26
27 -->
28 <html>
29 <head>
30 <meta charset="utf-8">
31 <title>WebGL GLSL conformance test: mat3_001_to_006.html</title>
32 <link rel="stylesheet" href="../../../../resources/js-test-style.css" />
33 <link rel="stylesheet" href="../../../resources/ogles-tests.css" />
34 <script src="../../../../resources/js-test-pre.js"></script>
35 <script src="../../../resources/webgl-test.js"></script>
36 <script src="../../../resources/webgl-test-utils.js"></script>
37 <script src="../../ogles-utils.js"></script>
38 </head>
39 <body>
40 <canvas id="example" width="500" height="500" style="width: 16px; height: 16px;" ></canvas>
41 <div id="description"></div>
42 <div id="console"></div>
43 </body>
44 <script>
45 "use strict";
46 OpenGLESTestRunner.run({
47 "tests": [
48 {
49 "referenceProgram": {
50 "vertexShader": "../default/default.vert",
51 "uniforms": {
52 "result": {
53 "count": 1,
54 "type": "uniform4fv",
55 "value": [
56 0.5,
57 0.25,
58 0.125,
59 1.0
60 ]
61 }
62 },
63 "fragmentShader": "../default/expected.frag"
64 },
65 "model": null,
66 "testProgram": {
67 "vertexShader": "mat3arraysimple_vert.vert",
68 "uniforms": {
69 "testmat3": {
70 "count": 2,
71 "type": "uniformMatrix3fv",
72 "transpose": false,
73 "value": [
74 1.0,
75 0.0,
76 0.0,
77 0.0,
78 1.0,
79 0.0,
80 0.0,
81 0.0,
82 1.0,
83 1.0,
84 0.25,
85 0.0,
86 0.0,
87 0.25,
88 0.0,
89 0.0,
90 0.0,
91 0.25
92 ]
93 }
94 },
95 "fragmentShader": "../default/default.frag"
96 },
97 "name": "mat3arraysimple_vert.test.html",
98 "pattern": "compare"
99 },
100 {
101 "referenceProgram": {
102 "vertexShader": "../default/default.vert",
103 "uniforms": {
104 "result": {
105 "count": 1,
106 "type": "uniform4fv",
107 "value": [
108 1.0,
109 0.75,
110 0.625,
111 1.0
112 ]
113 }
114 },
115 "fragmentShader": "../default/expected.frag"
116 },
117 "model": null,
118 "testProgram": {
119 "vertexShader": "mat3arrayindirect0_vert.vert",
120 "uniforms": {
121 "testmat3": {
122 "count": 2,
123 "type": "uniformMatrix3fv",
124 "transpose": false,
125 "value": [
126 1.0,
127 0.0,
128 0.0,
129 0.0,
130 1.0,
131 0.0,
132 0.0,
133 0.0,
134 1.0,
135 1.0,
136 0.25,
137 0.0,
138 0.0,
139 0.25,
140 0.0,
141 0.0,
142 0.0,
143 0.25
144 ]
145 }
146 },
147 "fragmentShader": "../default/default.frag"
148 },
149 "name": "mat3arrayindirect0_vert.test.html",
150 "pattern": "compare"
151 },
152 {
153 "referenceProgram": {
154 "vertexShader": "../default/default.vert",
155 "uniforms": {
156 "result": {
157 "count": 1,
158 "type": "uniform4fv",
159 "value": [
160 0.5,
161 0.25,
162 0.125,
163 1.0
164 ]
165 }
166 },
167 "fragmentShader": "../default/expected.frag"
168 },
169 "model": null,
170 "testProgram": {
171 "vertexShader": "mat3arrayindirect1_vert.vert",
172 "uniforms": {
173 "testmat3": {
174 "count": 2,
175 "type": "uniformMatrix3fv",
176 "transpose": false,
177 "value": [
178 1.0,
179 0.0,
180 0.0,
181 0.0,
182 1.0,
183 0.0,
184 0.0,
185 0.0,
186 1.0,
187 1.0,
188 0.25,
189 0.0,
190 0.0,
191 0.25,
192 0.0,
193 0.0,
194 0.0,
195 0.25
196 ]
197 }
198 },
199 "fragmentShader": "../default/default.frag"
200 },
201 "name": "mat3arrayindirect1_vert.test.html",
202 "pattern": "compare"
203 },
204 {
205 "referenceProgram": {
206 "vertexShader": "../default/default.vert",
207 "uniforms": {
208 "result": {
209 "count": 1,
210 "type": "uniform4fv",
211 "value": [
212 0.5,
213 0.25,
214 0.125,
215 1.0
216 ]
217 }
218 },
219 "fragmentShader": "../default/expected.frag"
220 },
221 "model": null,
222 "testProgram": {
223 "vertexShader": "../default/default.vert",
224 "uniforms": {
225 "testmat3": {
226 "count": 2,
227 "type": "uniformMatrix3fv",
228 "transpose": false,
229 "value": [
230 1.0,
231 0.0,
232 0.0,
233 0.0,
234 1.0,
235 0.0,
236 0.0,
237 0.0,
238 1.0,
239 1.0,
240 0.25,
241 0.0,
242 0.0,
243 0.25,
244 0.0,
245 0.0,
246 0.0,
247 0.25
248 ]
249 }
250 },
251 "fragmentShader": "mat3arraysimple_frag.frag"
252 },
253 "name": "mat3arraysimple_frag.test.html",
254 "pattern": "compare"
255 },
256 {
257 "referenceProgram": {
258 "vertexShader": "../default/default.vert",
259 "uniforms": {
260 "result": {
261 "count": 1,
262 "type": "uniform4fv",
263 "value": [
264 1.0,
265 0.75,
266 0.625,
267 1.0
268 ]
269 }
270 },
271 "fragmentShader": "../default/expected.frag"
272 },
273 "model": null,
274 "testProgram": {
275 "vertexShader": "../default/default.vert",
276 "uniforms": {
277 "testmat3": {
278 "count": 2,
279 "type": "uniformMatrix3fv",
280 "transpose": false,
281 "value": [
282 1.0,
283 0.0,
284 0.0,
285 0.0,
286 1.0,
287 0.0,
288 0.0,
289 0.0,
290 1.0,
291 1.0,
292 0.25,
293 0.0,
294 0.0,
295 0.25,
296 0.0,
297 0.0,
298 0.0,
299 0.25
300 ]
301 }
302 },
303 "fragmentShader": "mat3arrayindirect0_frag.frag"
304 },
305 "name": "mat3arrayindirect0_frag.test.html",
306 "pattern": "compare"
307 },
308 {
309 "referenceProgram": {
310 "vertexShader": "../default/default.vert",
311 "uniforms": {
312 "result": {
313 "count": 1,
314 "type": "uniform4fv",
315 "value": [
316 0.5,
317 0.25,
318 0.125,
319 1.0
320 ]
321 }
322 },
323 "fragmentShader": "../default/expected.frag"
324 },
325 "model": null,
326 "testProgram": {
327 "vertexShader": "../default/default.vert",
328 "uniforms": {
329 "testmat3": {
330 "count": 2,
331 "type": "uniformMatrix3fv",
332 "transpose": false,
333 "value": [
334 1.0,
335 0.0,
336 0.0,
337 0.0,
338 1.0,
339 0.0,
340 0.0,
341 0.0,
342 1.0,
343 1.0,
344 0.25,
345 0.0,
346 0.0,
347 0.25,
348 0.0,
349 0.0,
350 0.0,
351 0.25
352 ]
353 }
354 },
355 "fragmentShader": "mat3arrayindirect1_frag.frag"
356 },
357 "name": "mat3arrayindirect1_frag.test.html",
358 "pattern": "compare"
359 }
360 ]
361 });
362 var successfullyParsed = true;
363 </script>
364 </html>
OLDNEW
« no previous file with comments | « conformance/ogles/GL/mat3/input.run.txt ('k') | conformance/ogles/GL/mat3/mat3arrayindirect0_frag.frag » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698