blob: c07fb1bace717ee03696f873accb73961a39394b [file] [log] [blame]
-------------------------------------------------------------------------
drawElements Quality Program Test Specification
-----------------------------------------------
Copyright 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-------------------------------------------------------------------------
Program linking tests
Tests:
+ dEQP-GLES3.functional.shaders.linkage.*
Includes:
+ Varying linking rules
- Negative and allowed cases
+ Uniform linking rules
+ Uniform buffer object linking rules
+ Float, float-vector and matrix varyings
+ Integer and int-vector varyings
+ Flat and centroid varyings
Excludes:
+ Varying arrays
- Covered in functional.shaders.indexing group
+ Interpolation rules for varyings
- Will be covered in primitive rendering tests (2012.2)
+ Rendering tests for uniform buffer objects
- Covered in separate uniform buffer object tests
Description:
Shader execution tests render a grid of quads filling entire viewport with
the shader being tested. Fragment shader includes a comparison against
pre-computed reference. Fragment color is either white or black depending
on whether the result were correct or not.
Negative tests try to compile the given shader and expect compilation
to fail.