mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
8eeed3c374
The 1.0.1 release is really close, and upgrading now allows us to give feedback and make sure that all tests are passable. The canonical URL for this test suite is https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/webgl-conformance-tests.html --HG-- rename : content/canvas/test/webgl/conformance/include.vs => content/canvas/test/webgl/conformance/glsl/misc/include.vs
30 lines
1.0 KiB
HTML
30 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Simulated Attrib 0 Bug Test</title>
|
|
<script src="../resources/js-test-pre.js"></script>
|
|
<script src="../conformance/resources/webgl-test.js"></script>
|
|
</head>
|
|
<body>
|
|
<div>Simulated Attrib 0 Bug Test</div>
|
|
<div id="description"></div>
|
|
<div id="console"></div>
|
|
<script>
|
|
var context = create3DContext();
|
|
var program = loadStandardProgram(context);
|
|
|
|
context.useProgram(program);
|
|
debug("This line attempts to draw with 0x7FFFFFFF triangles with attrib 0 off");
|
|
debug("A buggy simulated attrib 0 impl will probably mult 0x7FFFFFFF * sizeof(vec4)");
|
|
shouldBe("context.drawArrays(context.TRIANGLES, 0, 0x7fffffff);", "undefined");
|
|
debug("This line attempts to draw with 0x7ffffff triangles.");
|
|
debug("A buggy simulated attrib 0 impl will probably pass 0x7FFFFFF0 to glBufferData and then not check that it failed");
|
|
shouldBe("context.drawArrays(context.TRIANGLES, 0, 0x7ffffff);", "undefined");
|
|
debug("")
|
|
debug("NOTE!: You may not see any manifestation here. Check your impl for these issues");
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|