Sign in
flutter
/
mirrors
/
engine
/
a8e6b66a20e81b77591d8f1e54425fba5c36ec2a
/
.
/
lib
/
spirv
/
test
/
exception_shaders
/
src.glsl
blob: 01f77787f6448396b5d5fc00b7a713ccada5a764 [
file
] [
log
] [
blame
]
#version 450
layout
(
location
=
0
)
out
vec4 oColor
;
layout
(
location
=
0
)
uniform
float
a
;
void
main
()
{
oColor
=
vec4
(
0
);
for
(
float
i
=
0
;
i
<
10.0
;
i
++)
{
oColor
.
r
+=
a
;
}
oColor
.
a
=
1.0
;
}