Web: Add sanity check test suite for smaller-footprint builds.

For the smallest builds, google tests will not be present, in
addition to a large number of tests not being capable of running.
This commit is contained in:
John Kessenich
2019-07-26 08:02:40 -06:00
parent 34cccdc65d
commit 13761069b5
15 changed files with 1725 additions and 0 deletions

15
Test/web.basic.vert Normal file
View File

@@ -0,0 +1,15 @@
#version 310 es
layout(location = 2) in vec4 inv4;
layout(location = 1) out vec4 outv4;
layout(binding = 3) uniform uBlock {
vec4 a;
ivec4 b;
uvec4 c;
} uInst;
void main()
{
outv4 = normalize(inv4) * uInst.a * vec4(uInst.b) * vec4(uInst.c);
}