summaryrefslogtreecommitdiff
path: root/tests/spec/glsl-es-1.00/compiler/precision-qualifiers/precision-struct-01.frag
blob: f0063db51520ee035689c862abf29b60badfe104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// [config]
// expect_result: fail
// glsl_version: 1.00
// [end config]
//
// Precision qualifiers cannot be applied to structs.
//
// This test declares the struct and its sole member with matching
// precision qualifier.
//
// See section 4.5.2 of the GLSL 1.00 spec.

#version 100

lowp struct s {
	lowp float a;
};

void f() { }