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