summaryrefslogtreecommitdiff
path: root/tests/spec/glsl-es-1.00/compiler/precision-qualifiers/precision-function-param-01.frag
blob: 2e776a5ff2215aab9273ad4356d0763ccda3074c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// [config]
// expect_result: pass
// glsl_version: 1.00
// [end config]
//
// Function parameters and return types can have precision qualifiers.
//
// From section 4.5.2 of the GLSL 1.00 spec:
//     Any floating point or any integer declaration can have the type
//     preceded by one of these precision qualifiers

#version 100

void f(lowp int x) { }