Sign in
flutter
/
third_party
/
glslang
/
refs/heads/flutter-ce138e
/
.
/
Test
/
index_outside_sample_mask_range.frag
blob: 7a59e1b3d73258a2207ecdf397ac5d42967a4a10 [
file
] [
edit
]
#version 320 es
layout
(
location
=
0
)
out
mediump vec4 fs_color
;
void
main
()
{
const
highp
int
invalidIndex
=
(
gl_MaxSamples
+
31
)
/
32
;
highp
int
invalidValue
=
gl_SampleMask
[
invalidIndex
];
fs_color
=
vec4
(
1.0f
,
0.0f
,
0.0f
,
1.0f
);
}