SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).

This commit is contained in:
John Kessenich
2016-02-15 20:58:50 -07:00
parent 019f08fcd8
commit 6c292d3ba7
200 changed files with 7841 additions and 5577 deletions

View File

@@ -2,7 +2,7 @@
lowp float foo();
uniform int low, high;
in lowp float low, high;
lowp float face1 = 11.0;
@@ -12,7 +12,7 @@ void main()
{
int z = 3;
if (2 * low + 1 < high)
if (2.0 * low + 1.0 < high)
++z;
Color = face1 * vec4(z) + foo();