SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
This commit is contained in:
parent
019f08fcd8
commit
6c292d3ba7
200 changed files with 7841 additions and 5577 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue