OLD | NEW |
(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: mat_001_to_008.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 1.0, |
| 57 1.0, |
| 58 1.0, |
| 59 1.0 |
| 60 ] |
| 61 } |
| 62 }, |
| 63 "fragmentShader": "../default/expected.frag" |
| 64 }, |
| 65 "model": null, |
| 66 "testProgram": { |
| 67 "vertexShader": "../default/default.vert", |
| 68 "fragmentShader": "const_mat2_frag.frag" |
| 69 }, |
| 70 "name": "const_mat2_frag.test.html", |
| 71 "pattern": "compare" |
| 72 }, |
| 73 { |
| 74 "referenceProgram": { |
| 75 "vertexShader": "../default/default.vert", |
| 76 "uniforms": { |
| 77 "result": { |
| 78 "count": 1, |
| 79 "type": "uniform4fv", |
| 80 "value": [ |
| 81 1.0, |
| 82 1.0, |
| 83 1.0, |
| 84 1.0 |
| 85 ] |
| 86 } |
| 87 }, |
| 88 "fragmentShader": "../default/expected.frag" |
| 89 }, |
| 90 "model": null, |
| 91 "testProgram": { |
| 92 "vertexShader": "const_mat2_vert.vert", |
| 93 "fragmentShader": "../default/default.frag" |
| 94 }, |
| 95 "name": "const_mat2_vert.test.html", |
| 96 "pattern": "compare" |
| 97 }, |
| 98 { |
| 99 "referenceProgram": { |
| 100 "vertexShader": "../default/default.vert", |
| 101 "uniforms": { |
| 102 "result": { |
| 103 "count": 1, |
| 104 "type": "uniform4fv", |
| 105 "value": [ |
| 106 1.0, |
| 107 1.0, |
| 108 1.0, |
| 109 1.0 |
| 110 ] |
| 111 } |
| 112 }, |
| 113 "fragmentShader": "../default/expected.frag" |
| 114 }, |
| 115 "model": null, |
| 116 "testProgram": { |
| 117 "vertexShader": "../default/default.vert", |
| 118 "fragmentShader": "const_mat3_frag.frag" |
| 119 }, |
| 120 "name": "const_mat3_frag.test.html", |
| 121 "pattern": "compare" |
| 122 }, |
| 123 { |
| 124 "referenceProgram": { |
| 125 "vertexShader": "../default/default.vert", |
| 126 "uniforms": { |
| 127 "result": { |
| 128 "count": 1, |
| 129 "type": "uniform4fv", |
| 130 "value": [ |
| 131 1.0, |
| 132 1.0, |
| 133 1.0, |
| 134 1.0 |
| 135 ] |
| 136 } |
| 137 }, |
| 138 "fragmentShader": "../default/expected.frag" |
| 139 }, |
| 140 "model": null, |
| 141 "testProgram": { |
| 142 "vertexShader": "const_mat3_vert.vert", |
| 143 "fragmentShader": "../default/default.frag" |
| 144 }, |
| 145 "name": "const_mat3_vert.test.html", |
| 146 "pattern": "compare" |
| 147 }, |
| 148 { |
| 149 "referenceProgram": { |
| 150 "vertexShader": "../default/default.vert", |
| 151 "uniforms": { |
| 152 "result": { |
| 153 "count": 1, |
| 154 "type": "uniform4fv", |
| 155 "value": [ |
| 156 1.0, |
| 157 1.0, |
| 158 1.0, |
| 159 1.0 |
| 160 ] |
| 161 } |
| 162 }, |
| 163 "fragmentShader": "../default/expected.frag" |
| 164 }, |
| 165 "model": null, |
| 166 "testProgram": { |
| 167 "vertexShader": "../default/default.vert", |
| 168 "fragmentShader": "const_mat4_frag.frag" |
| 169 }, |
| 170 "name": "const_mat4_frag.test.html", |
| 171 "pattern": "compare" |
| 172 }, |
| 173 { |
| 174 "referenceProgram": { |
| 175 "vertexShader": "../default/default.vert", |
| 176 "uniforms": { |
| 177 "result": { |
| 178 "count": 1, |
| 179 "type": "uniform4fv", |
| 180 "value": [ |
| 181 1.0, |
| 182 1.0, |
| 183 1.0, |
| 184 1.0 |
| 185 ] |
| 186 } |
| 187 }, |
| 188 "fragmentShader": "../default/expected.frag" |
| 189 }, |
| 190 "model": null, |
| 191 "testProgram": { |
| 192 "vertexShader": "const_mat4_vert.vert", |
| 193 "fragmentShader": "../default/default.frag" |
| 194 }, |
| 195 "name": "const_mat4_vert.test.html", |
| 196 "pattern": "compare" |
| 197 }, |
| 198 { |
| 199 "referenceProgram": { |
| 200 "vertexShader": "../default/default.vert", |
| 201 "uniforms": { |
| 202 "result": { |
| 203 "count": 1, |
| 204 "type": "uniform4fv", |
| 205 "value": [ |
| 206 1.0, |
| 207 1.0, |
| 208 1.0, |
| 209 1.0 |
| 210 ] |
| 211 } |
| 212 }, |
| 213 "fragmentShader": "../default/expected.frag" |
| 214 }, |
| 215 "model": null, |
| 216 "testProgram": { |
| 217 "vertexShader": "../default/default.vert", |
| 218 "fragmentShader": "const_mat2_copy_frag.frag" |
| 219 }, |
| 220 "name": "const_mat2_copy_frag.test.html", |
| 221 "pattern": "compare" |
| 222 }, |
| 223 { |
| 224 "referenceProgram": { |
| 225 "vertexShader": "../default/default.vert", |
| 226 "uniforms": { |
| 227 "result": { |
| 228 "count": 1, |
| 229 "type": "uniform4fv", |
| 230 "value": [ |
| 231 1.0, |
| 232 1.0, |
| 233 1.0, |
| 234 1.0 |
| 235 ] |
| 236 } |
| 237 }, |
| 238 "fragmentShader": "../default/expected.frag" |
| 239 }, |
| 240 "model": null, |
| 241 "testProgram": { |
| 242 "vertexShader": "const_mat2_copy_vert.vert", |
| 243 "fragmentShader": "../default/default.frag" |
| 244 }, |
| 245 "name": "const_mat2_copy_vert.test.html", |
| 246 "pattern": "compare" |
| 247 } |
| 248 ] |
| 249 }); |
| 250 var successfullyParsed = true; |
| 251 </script> |
| 252 </html> |
OLD | NEW |