1*35238bceSAndroid Build Coastguard Worker------------------------------------------------------------------------- 2*35238bceSAndroid Build Coastguard WorkerdrawElements Quality Program Test Specification 3*35238bceSAndroid Build Coastguard Worker----------------------------------------------- 4*35238bceSAndroid Build Coastguard Worker 5*35238bceSAndroid Build Coastguard WorkerCopyright 2014 The Android Open Source Project 6*35238bceSAndroid Build Coastguard Worker 7*35238bceSAndroid Build Coastguard WorkerLicensed under the Apache License, Version 2.0 (the "License"); 8*35238bceSAndroid Build Coastguard Workeryou may not use this file except in compliance with the License. 9*35238bceSAndroid Build Coastguard WorkerYou may obtain a copy of the License at 10*35238bceSAndroid Build Coastguard Worker 11*35238bceSAndroid Build Coastguard Worker http://www.apache.org/licenses/LICENSE-2.0 12*35238bceSAndroid Build Coastguard Worker 13*35238bceSAndroid Build Coastguard WorkerUnless required by applicable law or agreed to in writing, software 14*35238bceSAndroid Build Coastguard Workerdistributed under the License is distributed on an "AS IS" BASIS, 15*35238bceSAndroid Build Coastguard WorkerWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16*35238bceSAndroid Build Coastguard WorkerSee the License for the specific language governing permissions and 17*35238bceSAndroid Build Coastguard Workerlimitations under the License. 18*35238bceSAndroid Build Coastguard Worker------------------------------------------------------------------------- 19*35238bceSAndroid Build Coastguard Worker Fragment output tests 20*35238bceSAndroid Build Coastguard Worker 21*35238bceSAndroid Build Coastguard WorkerTests: 22*35238bceSAndroid Build Coastguard Worker + dEQP-GLES3.functional.frag_output.* 23*35238bceSAndroid Build Coastguard Worker 24*35238bceSAndroid Build Coastguard WorkerIncludes: 25*35238bceSAndroid Build Coastguard Worker + All valid scalar and vector output types 26*35238bceSAndroid Build Coastguard Worker + Conversion to signed and unsigned fixed point formats 27*35238bceSAndroid Build Coastguard Worker + Multiple outputs 28*35238bceSAndroid Build Coastguard Worker - Implies multiple render targets 29*35238bceSAndroid Build Coastguard Worker + Array outputs 30*35238bceSAndroid Build Coastguard Worker + Negative tests for fragment shader output declarations 31*35238bceSAndroid Build Coastguard Worker 32*35238bceSAndroid Build Coastguard WorkerExcludes: 33*35238bceSAndroid Build Coastguard Worker + Negative API tests 34*35238bceSAndroid Build Coastguard Worker 35*35238bceSAndroid Build Coastguard WorkerDescription: 36*35238bceSAndroid Build Coastguard Worker 37*35238bceSAndroid Build Coastguard WorkerFragment output tests render a single quad that fills the entire viewport. 38*35238bceSAndroid Build Coastguard WorkerEach test case uses one or more output variables. Values for floating-point 39*35238bceSAndroid Build Coastguard Workeroutput values are interpolated from per-vertex data. For integer outputs 40*35238bceSAndroid Build Coastguard Workerno interpolation is done and flat values are used instead. 41*35238bceSAndroid Build Coastguard Worker 42*35238bceSAndroid Build Coastguard WorkerEach shader output is matched with a framebuffer. For floating-point targets 43*35238bceSAndroid Build Coastguard Workerframebuffer can be either default framebuffer, renderbuffer with floating-point 44*35238bceSAndroid Build Coastguard Workerformat or normalized fixed point format depending on the test case. For 45*35238bceSAndroid Build Coastguard Workerinteger outputs renderbuffer with compatible integer format is always used. 46*35238bceSAndroid Build Coastguard Worker 47*35238bceSAndroid Build Coastguard WorkerResulting image is read from all render targets and compared against 48*35238bceSAndroid Build Coastguard Workerreference(s) produced by reference rendering code. 49