OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../../resources/js-test.js"></script> |
4 <script src="resources/webgl-test.js"></script> | 4 <script src="resources/webgl-test.js"></script> |
5 <script id="vshader" type="x-shader/x-vertex"> | 5 <script id="vshader" type="x-shader/x-vertex"> |
6 attribute vec3 pos; | 6 attribute vec3 pos; |
7 attribute vec4 colorIn; | 7 attribute vec4 colorIn; |
8 varying vec4 color; | 8 varying vec4 color; |
9 | 9 |
10 void main() | 10 void main() |
11 { | 11 { |
12 color = colorIn; | 12 color = colorIn; |
13 gl_Position = vec4(pos.xyz, 1.0); | 13 gl_Position = vec4(pos.xyz, 1.0); |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 runTestIteration(gl.RGBA, gl.UNSIGNED_BYTE, 2, 0, 0); | 228 runTestIteration(gl.RGBA, gl.UNSIGNED_BYTE, 2, 0, 0); |
229 runTestIteration(gl.RGBA, gl.UNSIGNED_BYTE, 4, 0, 0); | 229 runTestIteration(gl.RGBA, gl.UNSIGNED_BYTE, 4, 0, 0); |
230 runTestIteration(gl.RGBA, gl.UNSIGNED_BYTE, 8, 0, 0); | 230 runTestIteration(gl.RGBA, gl.UNSIGNED_BYTE, 8, 0, 0); |
231 runTestIteration(gl.RGBA, gl.UNSIGNED_BYTE, 1, -1, 1); | 231 runTestIteration(gl.RGBA, gl.UNSIGNED_BYTE, 1, -1, 1); |
232 runTestIteration(gl.RGBA, gl.UNSIGNED_BYTE, 2, 1, -1); | 232 runTestIteration(gl.RGBA, gl.UNSIGNED_BYTE, 2, 1, -1); |
233 runTestIteration(gl.RGBA, gl.UNSIGNED_BYTE, 4, 0, -1); | 233 runTestIteration(gl.RGBA, gl.UNSIGNED_BYTE, 4, 0, -1); |
234 runTestIteration(gl.RGBA, gl.UNSIGNED_BYTE, 8, -1, -1); | 234 runTestIteration(gl.RGBA, gl.UNSIGNED_BYTE, 8, -1, -1); |
235 </script> | 235 </script> |
236 </body> | 236 </body> |
237 </html> | 237 </html> |
OLD | NEW |