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 Texture unit usage tests 20 21Tests: 22 + dEQP-GLES2.functional.texture.units.* 23 24Includes: 25 + Use of multiple units simultaneously: 26 - 1, 2, 4, 8 27 - all available 28 + Mixed texture formats 29 + Mixed texture types 30 + Mixed texture parameters 31 32Description: 33 34For each texture unit a 2D or cube map texture is generated. Shader samples all 35textures and adds scaled lookup values together to yield a value in range 0..1 36for each output component. 37 38For each texture a separate coordinate array is generated, yielding different 39sample points. Simple quad is rendered with a fragment shader that adds texture 40lookup results together. Resulting image is compared against a reference image 41produced by a reference renderer. 42