SPV: Require desktop 140 or ES 310 or above.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#version 100
|
||||
#version 310 es
|
||||
|
||||
lowp float foo();
|
||||
|
||||
@@ -6,6 +6,8 @@ uniform int low, high;
|
||||
|
||||
lowp float face1 = 11.0;
|
||||
|
||||
out lowp vec4 Color;
|
||||
|
||||
void main()
|
||||
{
|
||||
int z = 3;
|
||||
@@ -13,7 +15,7 @@ void main()
|
||||
if (2 * low + 1 < high)
|
||||
++z;
|
||||
|
||||
gl_FragColor = face1 * vec4(z) + foo();
|
||||
Color = face1 * vec4(z) + foo();
|
||||
}
|
||||
|
||||
lowp float face2 = -2.0;
|
||||
|
||||
Reference in New Issue
Block a user