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