Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
2de6d657dde37a421ff8afb1bd820d522df5821d
/
.
/
Test
/
spv.functionNestedOpaque.vert
blob: 9e308b1336ae747e018634745b65a5b28f798e82 [
file
] [
log
] [
blame
]
#version 450
uniform
struct
S
{
sampler2D s
;
}
si
;
void
foo
(
sampler2D t
)
{
texture
(
t
,
vec2
(
0.5
));
}
void
barc
(
const
S p
)
{
foo
(
p
.
s
);
}
void
bar
(
S p
)
{
foo
(
p
.
s
);
}
void
main
()
{
barc
(
si
);
bar
(
si
);
}