tils.js"> </script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>

<script id="vshader" type="x-shader/x-vertex">#version 300 es
in uint in_data;
flat out uint out_data;
void main() {
    out_data = in_data;
}
</script>
<script id="fshader" type="x-shader/x-fragment">#version 300 es
void main() {}
</script>

<script>
"use strict";
description("Test that getBufferSubData returns valid data in edge cases");

var wtu = WebGLTestUtils;

var gl = wtu.create3DContext(undefined, undefined, 2