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 Fragment output tests 20 21Tests: 22 + dEQP-GLES3.functional.frag_output.* 23 24Includes: 25 + All valid scalar and vector output types 26 + Conversion to signed and unsigned fixed point formats 27 + Multiple outputs 28 - Implies multiple render targets 29 + Array outputs 30 + Negative tests for fragment shader output declarations 31 32Excludes: 33 + Negative API tests 34 35Description: 36 37Fragment output tests render a single quad that fills the entire viewport. 38Each test case uses one or more output variables. Values for floating-point 39output values are interpolated from per-vertex data. For integer outputs 40no interpolation is done and flat values are used instead. 41 42Each shader output is matched with a framebuffer. For floating-point targets 43framebuffer can be either default framebuffer, renderbuffer with floating-point 44format or normalized fixed point format depending on the test case. For 45integer outputs renderbuffer with compatible integer format is always used. 46 47Resulting image is read from all render targets and compared against 48reference(s) produced by reference rendering code. 49