summaryrefslogtreecommitdiff
path: root/tests/spec/glsl-4.40/compiler/inout-parameter-qualifier.frag
blob: feacc85993ec6924b033dc172057f339fa444e13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// [config]
// expect_result: pass
// glsl_version: 4.40
// check_link: false
// [end config]

#version 440

/* At one point, Mesa broke inout parameter qualifier handling when
 * trying to validate the xfb_buffer enhanced layouts qualifier.
 */
void
f(inout float x)
{
    x += 1.0;
}