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 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <div id="description"></div> | 7 <div id="description"></div> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 | 9 |
10 <script> | 10 <script> |
11 description("Verifies that the array conversion code for WebGLRenderingContext.u
niform* does not crash."); | 11 description("Verifies that the array conversion code for WebGLRenderingContext.u
niform* does not crash."); |
12 | 12 |
13 array = [ ]; | 13 array = [ ]; |
(...skipping 13 matching lines...) Expand all Loading... |
27 } catch (e) { } | 27 } catch (e) { } |
28 | 28 |
29 context.useProgram(floatProgram); | 29 context.useProgram(floatProgram); |
30 try { | 30 try { |
31 context.uniform4fv(floatLocation, array); | 31 context.uniform4fv(floatLocation, array); |
32 } catch (e) { } | 32 } catch (e) { } |
33 </script> | 33 </script> |
34 | 34 |
35 </body> | 35 </body> |
36 </html> | 36 </html> |
OLD | NEW |