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 swizzle tests 20 21Tests: 22 + dEQP-GLES3.functional.texture.swizzle.* 23 24Includes: 25 + All texture swizzle modes applied separately for each channel 26 + Randomized swizzle mode combinations 27 + RED, RG, RGB, RGBA, A, L, LA texture formats 28 29Excludes: 30 31Description: 32 33Texture format tests render a single quad, consisting of two triangles. 34The viewport is configured to match the texture size. Texture coordinates 35yield a 1:1 mapping from texels to framebuffer pixels. Thus filtering 36shouldn't affect the final rendered image. 37 38The rendered image is compared against a reference that is produced by 39reference renderer. A simple threshold-based comparison is used. 40