gpu.js/test/html/android_encode32_test.html
2016-07-09 18:52:58 +08:00

24 lines
767 B
HTML

<html>
<head>
<meta charset="utf-8">
<title>GPU.JS : Android test</title>
</head>
<body>
<script src="../../src/parser.js"></script>
<script src="../../src/backend/GPUCore.js"></script>
<script src="../../src/gpu.js"></script>
<script src="../../src/utils.js"></script>
<script src="../../src/texture.js"></script>
<script src="../../src/backend/functionNode_webgl.js"></script>
<script src="../../src/backend/functionNode.js"></script>
<script src="../../src/backend/functionBuilder.js"></script>
<script src="../../src/backend/mode_gpu.js"></script>
<script src="../../src/backend/mode_cpu.js"></script>
<script>
document.write(new GPU().createKernel(function(){
return -this.thread.x / 5
}).dimensions([15, 1])()[0].join('<br/>'));
</script>
</body>
</html>