diff options
Diffstat (limited to 'tests/spec/glsl-4.40/compiler/inout-parameter-qualifier.frag')
-rw-r--r-- | tests/spec/glsl-4.40/compiler/inout-parameter-qualifier.frag | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/spec/glsl-4.40/compiler/inout-parameter-qualifier.frag b/tests/spec/glsl-4.40/compiler/inout-parameter-qualifier.frag new file mode 100644 index 000000000..feacc8599 --- /dev/null +++ b/tests/spec/glsl-4.40/compiler/inout-parameter-qualifier.frag @@ -0,0 +1,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; +} + |