Home | History | Annotate | Download | only in GLES2
      1 -------------------------------------------------------------------------
      2 drawElements Quality Program Test Specification
      3 -----------------------------------------------
      4 
      5 Copyright 2014 The Android Open Source Project
      6 
      7 Licensed under the Apache License, Version 2.0 (the "License");
      8 you may not use this file except in compliance with the License.
      9 You may obtain a copy of the License at
     10 
     11      http://www.apache.org/licenses/LICENSE-2.0
     12 
     13 Unless required by applicable law or agreed to in writing, software
     14 distributed under the License is distributed on an "AS IS" BASIS,
     15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     16 See the License for the specific language governing permissions and
     17 limitations under the License.
     18 -------------------------------------------------------------------------
     19     Texture unit usage tests
     20 
     21 Tests:
     22  + dEQP-GLES2.functional.texture.units.*
     23 
     24 Includes:
     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 
     32 Description:
     33 
     34 For each texture unit a 2D or cube map texture is generated. Shader samples all
     35 textures and adds scaled lookup values together to yield a value in range 0..1
     36 for each output component.
     37 
     38 For each texture a separate coordinate array is generated, yielding different
     39 sample points. Simple quad is rendered with a fragment shader that adds texture
     40 lookup results together. Resulting image is compared against a reference image
     41 produced by a reference renderer.
     42