xref: /aosp_15_r20/external/deqp/doc/testspecs/GLES2/functional.rasterization.txt (revision 35238bce31c2a825756842865a792f8cf7f89930)
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    Rasterization Tests
20*35238bceSAndroid Build Coastguard Worker
21*35238bceSAndroid Build Coastguard WorkerTests:
22*35238bceSAndroid Build Coastguard Worker + dEQP-GLES2.functional.rasterization.*
23*35238bceSAndroid Build Coastguard Worker
24*35238bceSAndroid Build Coastguard WorkerIncludes:
25*35238bceSAndroid Build Coastguard Worker + Primitive rasterization
26*35238bceSAndroid Build Coastguard Worker   - Points
27*35238bceSAndroid Build Coastguard Worker   - Lines
28*35238bceSAndroid Build Coastguard Worker   - Triangles
29*35238bceSAndroid Build Coastguard Worker + Individual triangles, triangle strips and triangle fans
30*35238bceSAndroid Build Coastguard Worker + Varying interpolation in all primitives
31*35238bceSAndroid Build Coastguard Worker + Projected (w != 1) and non-projected (w == 1) coordinates
32*35238bceSAndroid Build Coastguard Worker + Fill rule verification
33*35238bceSAndroid Build Coastguard Worker + Culling
34*35238bceSAndroid Build Coastguard Worker + Multisample rasterization
35*35238bceSAndroid Build Coastguard Worker
36*35238bceSAndroid Build Coastguard WorkerDescription:
37*35238bceSAndroid Build Coastguard Worker
38*35238bceSAndroid Build Coastguard WorkerThis test set compares images rendered by a reference software
39*35238bceSAndroid Build Coastguard Workerrasterizer to images rendered by the target. Rasterized points, lines
40*35238bceSAndroid Build Coastguard Workerand triangles are compared to reference, and a deviation of 1 pixel in
41*35238bceSAndroid Build Coastguard Workerposition is allowed.
42*35238bceSAndroid Build Coastguard Worker
43*35238bceSAndroid Build Coastguard WorkerFill rules are tested using additive blend so that pixels on shared
44*35238bceSAndroid Build Coastguard Workertriangle edges are filled exactly once. Because exact fill rules are
45*35238bceSAndroid Build Coastguard Workernot specified, reference rasterizer uses all valid combinations of
46*35238bceSAndroid Build Coastguard WorkerLEFT, RIGHT, TOP and BOTTOM.
47*35238bceSAndroid Build Coastguard Worker
48*35238bceSAndroid Build Coastguard WorkerValue interpolation is tested for lines and triangles with
49*35238bceSAndroid Build Coastguard Workervertex-specific colors, small deviation in interpolated color is allowed.
50*35238bceSAndroid Build Coastguard Worker
51*35238bceSAndroid Build Coastguard WorkerMultisample rasterization is tested with points, lines and triangles.
52*35238bceSAndroid Build Coastguard WorkerBecause sampling pattern is unknown, deviation in produced colors is
53*35238bceSAndroid Build Coastguard Workerallowed.
54