1e5c31af7Sopenharmony_ci-------------------------------------------------------------------------
2e5c31af7Sopenharmony_cidrawElements Quality Program Test Specification
3e5c31af7Sopenharmony_ci-----------------------------------------------
4e5c31af7Sopenharmony_ci
5e5c31af7Sopenharmony_ciCopyright 2014 The Android Open Source Project
6e5c31af7Sopenharmony_ci
7e5c31af7Sopenharmony_ciLicensed under the Apache License, Version 2.0 (the "License");
8e5c31af7Sopenharmony_ciyou may not use this file except in compliance with the License.
9e5c31af7Sopenharmony_ciYou may obtain a copy of the License at
10e5c31af7Sopenharmony_ci
11e5c31af7Sopenharmony_ci     http://www.apache.org/licenses/LICENSE-2.0
12e5c31af7Sopenharmony_ci
13e5c31af7Sopenharmony_ciUnless required by applicable law or agreed to in writing, software
14e5c31af7Sopenharmony_cidistributed under the License is distributed on an "AS IS" BASIS,
15e5c31af7Sopenharmony_ciWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16e5c31af7Sopenharmony_ciSee the License for the specific language governing permissions and
17e5c31af7Sopenharmony_cilimitations under the License.
18e5c31af7Sopenharmony_ci-------------------------------------------------------------------------
19e5c31af7Sopenharmony_ci    Fragment output tests
20e5c31af7Sopenharmony_ci
21e5c31af7Sopenharmony_ciTests:
22e5c31af7Sopenharmony_ci + dEQP-GLES3.functional.frag_output.*
23e5c31af7Sopenharmony_ci
24e5c31af7Sopenharmony_ciIncludes:
25e5c31af7Sopenharmony_ci + All valid scalar and vector output types
26e5c31af7Sopenharmony_ci + Conversion to signed and unsigned fixed point formats
27e5c31af7Sopenharmony_ci + Multiple outputs
28e5c31af7Sopenharmony_ci   - Implies multiple render targets
29e5c31af7Sopenharmony_ci + Array outputs
30e5c31af7Sopenharmony_ci + Negative tests for fragment shader output declarations
31e5c31af7Sopenharmony_ci
32e5c31af7Sopenharmony_ciExcludes:
33e5c31af7Sopenharmony_ci + Negative API tests
34e5c31af7Sopenharmony_ci
35e5c31af7Sopenharmony_ciDescription:
36e5c31af7Sopenharmony_ci
37e5c31af7Sopenharmony_ciFragment output tests render a single quad that fills the entire viewport.
38e5c31af7Sopenharmony_ciEach test case uses one or more output variables. Values for floating-point
39e5c31af7Sopenharmony_cioutput values are interpolated from per-vertex data. For integer outputs
40e5c31af7Sopenharmony_cino interpolation is done and flat values are used instead.
41e5c31af7Sopenharmony_ci
42e5c31af7Sopenharmony_ciEach shader output is matched with a framebuffer. For floating-point targets
43e5c31af7Sopenharmony_ciframebuffer can be either default framebuffer, renderbuffer with floating-point
44e5c31af7Sopenharmony_ciformat or normalized fixed point format depending on the test case. For
45e5c31af7Sopenharmony_ciinteger outputs renderbuffer with compatible integer format is always used.
46e5c31af7Sopenharmony_ci
47e5c31af7Sopenharmony_ciResulting image is read from all render targets and compared against
48e5c31af7Sopenharmony_cireference(s) produced by reference rendering code.
49