Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipo...
[platform/upstream/VK-GL-CTS.git] / doc / testspecs / GLES3 / functional.shaders.linkage.txt
1 -------------------------------------------------------------------------
2 drawElements Quality Program Test Specification
3 -----------------------------------------------
4
5 Copyright 2014 The Android Open Source Project
6
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11      http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 -------------------------------------------------------------------------
19     Program linking tests
20
21 Tests:
22  + dEQP-GLES3.functional.shaders.linkage.*
23
24 Includes:
25  + Varying linking rules
26    - Negative and allowed cases
27  + Uniform linking rules
28  + Uniform buffer object linking rules
29  + Float, float-vector and matrix varyings
30  + Integer and int-vector varyings
31  + Flat and centroid varyings
32
33 Excludes:
34  + Varying arrays
35    - Covered in functional.shaders.indexing group
36  + Interpolation rules for varyings
37    - Will be covered in primitive rendering tests (2012.2)
38  + Rendering tests for uniform buffer objects
39    - Covered in separate uniform buffer object tests
40
41 Description:
42
43 Shader execution tests render a grid of quads filling entire viewport with
44 the shader being tested. Fragment shader includes a comparison against
45 pre-computed reference. Fragment color is either white or black depending
46 on whether the result were correct or not.
47
48 Negative tests try to compile the given shader and expect compilation
49 to fail.