Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
b2b3d81e9bb0603f8b59e470aec3b3b513c10378
/
.
/
Test
/
spv.300layout.frag
blob: 5b4c56c22150bde8884c8e9e17ea8133b97629e0 [
file
] [
log
] [
blame
]
#version 310 es
precision mediump
float
;
in
vec4 pos
;
in
vec3 color
;
layout
(
location
=
7
)
out
vec3 c
;
layout
(
LocatioN
=
3
)
out
vec4 p
[
2
];
struct
S
{
vec3 c
;
float
f
;
};
in
S s
;
void
main
()
{
c
=
color
+
s
.
c
;
p
[
1
]
=
pos
*
s
.
f
;
}