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 19void f(const float x) {} 20