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 Shadow compare tests 20 21 Tests: 22 + dEQP-GLES3.functional.texture.shadow.* 23 24 Includes: 25 + All depth comparison modes 26 + Texture formats with depth and depth_stencil internal formats 27 + All texture filtering modes with minification and magnification. 28 + 2D, 2D array and cube map textures 29 30 Excludes: 31 32 Description: 33 34 Shadow compare tests render two adjecent quads. Left one has texture 35 coordinates choosed to trigger minification while right one tests 36 magnification. Reference value for depth comparison is uniform. 37 38 The rendered image is compared against a reference that is produced by 39 reference renderer. A simple threshold-based comparison is used. 40 41 In tests where filtering mode is not NEAREST or NEAREST_MIPMAP_NEAREST 42 all r values are accepted if reference image contains r that is not 43 exactly 0 or 1. Reference is computed using executing comparisons 44 for all texels and combining results in same fashion as in regular 45 texture lookups. 46