diff options
-rw-r--r-- | tests/spec/arb_shading_language_420pack/compiler/qualifiers/invariant-qual-ordering.vert | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/spec/arb_shading_language_420pack/compiler/qualifiers/invariant-qual-ordering.vert b/tests/spec/arb_shading_language_420pack/compiler/qualifiers/invariant-qual-ordering.vert new file mode 100644 index 000000000..60dff91a3 --- /dev/null +++ b/tests/spec/arb_shading_language_420pack/compiler/qualifiers/invariant-qual-ordering.vert @@ -0,0 +1,19 @@ +/* [config] + * expect_result: pass + * glsl_version: 1.30 + * require_extensions: GL_ARB_shading_language_420pack + * [end config] + * + * From the GL_ARB_shading_language_420pack spec: + * + * '" Delete the following sentence in the "Invariant Qualifier" section: + * + * "The invariant qualifier must appear before any interpolation qualifiers + * or storage qualifiers when combined with a declaration."' + * + * Test that the invariant qualifier can be used after interpolation and + * storage qualifiers. + */ +#version 130 +#extension GL_ARB_shading_language_420pack: enable +out flat invariant float x; |