| ------------------------------------------------------------------------- |
| drawElements Quality Program Test Specification |
| ----------------------------------------------- |
| |
| Copyright 2014 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| ------------------------------------------------------------------------- |
| Texture swizzle tests |
| |
| Tests: |
| + dEQP-GLES3.functional.texture.swizzle.* |
| |
| Includes: |
| + All texture swizzle modes applied separately for each channel |
| + Randomized swizzle mode combinations |
| + RED, RG, RGB, RGBA, A, L, LA texture formats |
| |
| Excludes: |
| |
| Description: |
| |
| Texture format tests render a single quad, consisting of two triangles. |
| The viewport is configured to match the texture size. Texture coordinates |
| yield a 1:1 mapping from texels to framebuffer pixels. Thus filtering |
| shouldn't affect the final rendered image. |
| |
| The rendered image is compared against a reference that is produced by |
| reference renderer. A simple threshold-based comparison is used. |