Merge pull request #2292 from proydakov/gcc-unused-parameter
[platform/upstream/glslang.git] / Test / spv.precisionArgs.frag
1 #version 310 es
2
3 precision mediump float;
4
5 void fooConst(const in float f, const in highp float g) { }
6
7 void foo(in float f, in highp float g) { }
8
9 void main()
10 {
11     float aM, bM;
12     highp float aH, bH;
13     fooConst(aM, bM);   // must copy bM
14     fooConst(aH, bH);   // must copy aH
15     foo(aM, bM);
16     foo(aH, bH);
17 }