SPV: Require desktop 140 or ES 310 or above.
This commit is contained in:
parent
4bfeed5fe8
commit
f6eae2a54a
102 changed files with 357 additions and 313 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue