1*35238bceSAndroid Build Coastguard Worker------------------------------------------------------------------------- 2*35238bceSAndroid Build Coastguard WorkerdrawElements Quality Program Test Specification 3*35238bceSAndroid Build Coastguard Worker----------------------------------------------- 4*35238bceSAndroid Build Coastguard Worker 5*35238bceSAndroid Build Coastguard WorkerCopyright 2014 The Android Open Source Project 6*35238bceSAndroid Build Coastguard Worker 7*35238bceSAndroid Build Coastguard WorkerLicensed under the Apache License, Version 2.0 (the "License"); 8*35238bceSAndroid Build Coastguard Workeryou may not use this file except in compliance with the License. 9*35238bceSAndroid Build Coastguard WorkerYou may obtain a copy of the License at 10*35238bceSAndroid Build Coastguard Worker 11*35238bceSAndroid Build Coastguard Worker http://www.apache.org/licenses/LICENSE-2.0 12*35238bceSAndroid Build Coastguard Worker 13*35238bceSAndroid Build Coastguard WorkerUnless required by applicable law or agreed to in writing, software 14*35238bceSAndroid Build Coastguard Workerdistributed under the License is distributed on an "AS IS" BASIS, 15*35238bceSAndroid Build Coastguard WorkerWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16*35238bceSAndroid Build Coastguard WorkerSee the License for the specific language governing permissions and 17*35238bceSAndroid Build Coastguard Workerlimitations under the License. 18*35238bceSAndroid Build Coastguard Worker------------------------------------------------------------------------- 19*35238bceSAndroid Build Coastguard Worker Program linking tests 20*35238bceSAndroid Build Coastguard Worker 21*35238bceSAndroid Build Coastguard WorkerTests: 22*35238bceSAndroid Build Coastguard Worker + dEQP-GLES3.functional.shaders.linkage.* 23*35238bceSAndroid Build Coastguard Worker 24*35238bceSAndroid Build Coastguard WorkerIncludes: 25*35238bceSAndroid Build Coastguard Worker + Varying linking rules 26*35238bceSAndroid Build Coastguard Worker - Negative and allowed cases 27*35238bceSAndroid Build Coastguard Worker + Uniform linking rules 28*35238bceSAndroid Build Coastguard Worker + Uniform buffer object linking rules 29*35238bceSAndroid Build Coastguard Worker + Float, float-vector and matrix varyings 30*35238bceSAndroid Build Coastguard Worker + Integer and int-vector varyings 31*35238bceSAndroid Build Coastguard Worker + Flat and centroid varyings 32*35238bceSAndroid Build Coastguard Worker 33*35238bceSAndroid Build Coastguard WorkerExcludes: 34*35238bceSAndroid Build Coastguard Worker + Varying arrays 35*35238bceSAndroid Build Coastguard Worker - Covered in functional.shaders.indexing group 36*35238bceSAndroid Build Coastguard Worker + Interpolation rules for varyings 37*35238bceSAndroid Build Coastguard Worker - Will be covered in primitive rendering tests (2012.2) 38*35238bceSAndroid Build Coastguard Worker + Rendering tests for uniform buffer objects 39*35238bceSAndroid Build Coastguard Worker - Covered in separate uniform buffer object tests 40*35238bceSAndroid Build Coastguard Worker 41*35238bceSAndroid Build Coastguard WorkerDescription: 42*35238bceSAndroid Build Coastguard Worker 43*35238bceSAndroid Build Coastguard WorkerShader execution tests render a grid of quads filling entire viewport with 44*35238bceSAndroid Build Coastguard Workerthe shader being tested. Fragment shader includes a comparison against 45*35238bceSAndroid Build Coastguard Workerpre-computed reference. Fragment color is either white or black depending 46*35238bceSAndroid Build Coastguard Workeron whether the result were correct or not. 47*35238bceSAndroid Build Coastguard Worker 48*35238bceSAndroid Build Coastguard WorkerNegative tests try to compile the given shader and expect compilation 49*35238bceSAndroid Build Coastguard Workerto fail. 50