Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
9f2aec49e9263a555346b9961107b497448d4d18
/
.
/
Test
/
invalidSwizzle.vert
blob: 799ff872d5cb4896dde7250ffb3d1e252a947111 [
file
] [
log
] [
blame
]
#version 420
void
f
();
uniform sampler2D s
;
void
main
()
{
vec2 v
=
s
.
rr
;
// Swizzles do not apply to samplers
f
().
xx
;
// Scalar swizzle does not apply to void
f
().
xy
;
// Vector swizzle does not apply either
}