Home | History | Annotate | Download | only in GLES31
      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     Blend Equation Advanced (GL_KHR_blend_equation_advanced)
     20 
     21 Tests:
     22  + dEQP-GLES31.functional.blend_equation_advanced.*
     23 
     24 Includes:
     25  + Validation of all advanced blending modes
     26  + Rendering into default framebuffer
     27  + Rendering into sRGB FBO
     28  + Rendering into MSAA FBO
     29  + glBlendBarrierKHR() usage
     30  + Validation of coherent blending (if supported)
     31 
     32 Excludes (will be added later):
     33  + Use of blend_support_all qualifier
     34  + Interaction with other per-fragment operations
     35  + Negative tests
     36 
     37 Description:
     38 
     39 Advanced blending tests render two or more overlapping quads. First quad is
     40 rendered without blending, while subsequent quads have the advanced blend mode
     41 enabled. Results are always verified against a reference implementation. In
     42 modes other than HSL, bilinear comparison is used. in HSL modes fuzzy
     43 comparison is used as minor precision differences can cause relatively large
     44 deviations in rendered images.
     45 
     46 In basic, srgb, and msaa tests, only two quads are rendered. In barrier tests
     47 multiple quads are rendered, one quad per draw call. A blend barrier call is
     48 made between each overlapping quad with advanced blending enabled. In coherent
     49 and coherent_msaa tests all quads that have blending enabled are rendered in a
     50 single draw call.
     51