1------------------------------------------------------------------------- 2drawElements Quality Program Test Specification 3----------------------------------------------- 4 5Copyright 2014 The Android Open Source Project 6 7Licensed under the Apache License, Version 2.0 (the "License"); 8you may not use this file except in compliance with the License. 9You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13Unless required by applicable law or agreed to in writing, software 14distributed under the License is distributed on an "AS IS" BASIS, 15WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16See the License for the specific language governing permissions and 17limitations under the License. 18------------------------------------------------------------------------- 19 Program linking tests 20 21Tests: 22 + dEQP-GLES3.functional.shaders.linkage.* 23 24Includes: 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 33Excludes: 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 41Description: 42 43Shader execution tests render a grid of quads filling entire viewport with 44the shader being tested. Fragment shader includes a comparison against 45pre-computed reference. Fragment color is either white or black depending 46on whether the result were correct or not. 47 48Negative tests try to compile the given shader and expect compilation 49to fail. 50