Home | History | Annotate | Download | only in GLES31
      1 -------------------------------------------------------------------------
      2 drawElements Quality Program Test Specification
      3 -----------------------------------------------
      4 
      5 Copyright 2015 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     EXT_texture_border_clamp tests
     20 
     21 Tests:
     22  + dEQP-GLES31.texture.border_clamp.*
     23  + dEQP-GLES31.functional.state_query.texture.*.texture_border_color_*
     24 
     25 Includes:
     26  + State query tests
     27  + Rendering tests with all GLES31 texture formats.
     28  + Tests with power-of-two and non-power-of-two texture sizes.
     29  + Nearest and linear samping. Sampling with texture gather.
     30  + Rendering tests with border value exceeding the representable range of
     31    the texture format.
     32  + Sampling depth textures with mode set to COMPARE_REF_TO_TEXTURE.
     33 
     34 Excludes:
     35  + Sampling with mipmaps
     36  + Sampling with texture 2d arrays or cubemaps
     37  + Texture swizzle cases
     38  + Exhaustive testing of all s/t/r wrapping mode combinations
     39 
     40 Description:
     41 
     42 Texture border clamp cases test functionality added in
     43 EXT_texture_border_clamp extension. Tests set up a texture with a certain
     44 format, set border color to certain value, set one or more wrapping modes to
     45 CLAMP_TO_BORDER, and then proceed to render the texture to screen. The
     46 rendering result is then verified. Test cases also generate a reference image
     47 which may be useful when evaluating results.
     48 
     49 In formats.* subgroup, all GLES31 texture formats are tested. Each format is
     50 tested with power-of-two and non-power-of-two texture sizes using NEAREST and
     51 LINEAR filtering, and texture-gather fetching.
     52 
     53 In range_clamp.* subgroup, border color components are set to values that are
     54 not in the representable range of the internal format. The effective value is
     55 expected to be clamped to the valid range.
     56 
     57 In sampler.* subgroup, texture border color and wrapping mode are set using
     58 a sampler state.
     59 
     60 In per_axis_wrap_mode.*, texture wrap mode is not same in all S, T, and R
     61 directions. Wrapping is tested for 2D and 3D textures with multiple formats
     62 and with different sampling modes.
     63 
     64 In depth_compare_mode.*, depth texture border values are tested with compare
     65 mode set to COMPARE_REF_TO_TEXTURE.
     66 
     67 In unused_channels.*, border color has non-zero values in components that are
     68 not representable in the target formats. These components are expected to have
     69 no effect.
     70