ext_gpu_shader4: add compiler tests for everything
[piglit.git] / tests / spec / arb_shading_language_420pack / compiler / qualifiers / const-parameter-qualifier.vert
blobafe9f35dc8a34390535f3266bd9d235677194e7f
1 /* [config]
2  * expect_result: pass
3  * glsl_version: 1.30
4  * require_extensions: GL_ARB_shading_language_420pack
5  * [end config]
6  *
7  * From the GL_ARB_shading_language_420pack spec:
8  *
9  * "    Add the following parameter qualifier
10  *
11  *          Qualifier          Meaning
12  *          ---------          -------
13  *          const              for function parameters that cannot be written to"
14  *
15  * Test that const-qualifying a function parameter works.
16  */
17 #version 130
18 #extension GL_ARB_shading_language_420pack: enable
19 void f(const float x) {}