summaryrefslogtreecommitdiff
path: root/doc/testspecs
diff options
context:
space:
mode:
authorJarkko Pöyry <jpoyry@google.com>2015-04-09 18:49:48 -0700
committerJarkko Pöyry <jpoyry@google.com>2015-04-30 16:07:45 -0700
commit06fe4fe2a28c6c5a7cab7431d313648cf8054943 (patch)
tree1251aa2ff62d3a44c35dc4a7a9e8da2c866deed9 /doc/testspecs
parent35f093054670f38076b8b347d37a41be90a5ac8c (diff)
downloadVK-GL-CTS-06fe4fe2a28c6c5a7cab7431d313648cf8054943.tar.gz
VK-GL-CTS-06fe4fe2a28c6c5a7cab7431d313648cf8054943.tar.bz2
VK-GL-CTS-06fe4fe2a28c6c5a7cab7431d313648cf8054943.zip
Add EXT_texture_border_clamp tests.
Change-Id: I37b2d473e2b1ccdd40a55daa3e6c12e2a28a6e0d
Diffstat (limited to 'doc/testspecs')
-rw-r--r--doc/testspecs/GLES31/functional.texture.border_clamp.txt69
1 files changed, 69 insertions, 0 deletions
diff --git a/doc/testspecs/GLES31/functional.texture.border_clamp.txt b/doc/testspecs/GLES31/functional.texture.border_clamp.txt
new file mode 100644
index 000000000..abca5952f
--- /dev/null
+++ b/doc/testspecs/GLES31/functional.texture.border_clamp.txt
@@ -0,0 +1,69 @@
+-------------------------------------------------------------------------
+drawElements Quality Program Test Specification
+-----------------------------------------------
+
+Copyright 2015 The Android Open Source Project
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-------------------------------------------------------------------------
+ EXT_texture_border_clamp tests
+
+Tests:
+ + dEQP-GLES31.texture.border_clamp.*
+ + dEQP-GLES31.functional.state_query.texture.*.texture_border_color_*
+
+Includes:
+ + State query tests
+ + Rendering tests with all GLES31 texture formats.
+ + Tests with power-of-two and non-power-of-two texture sizes.
+ + Nearest and linear samping. Sampling with texture gather.
+ + Rendering tests with border value exceeding the representable range of
+ the texture format.
+ + Sampling depth textures with mode set to COMPARE_REF_TO_TEXTURE.
+
+Excludes:
+ + Sampling with mipmaps
+ + Sampling with texture 2d arrays or cubemaps
+ + Texture swizzle cases
+ + Exhaustive testing of all s/t/r wrapping mode combinations
+
+Description:
+
+Texture border clamp cases test functionality added in
+EXT_texture_border_clamp extension. Tests set up a texture with a certain
+format, set border color to certain value, set one or more wrapping modes to
+CLAMP_TO_BORDER, and then proceed to render the texture to screen. The
+rendering result is then verified. Test cases also generate a reference image
+which may be useful when evaluating results.
+
+In formats.* subgroup, all GLES31 texture formats are tested. Each format is
+tested with power-of-two and non-power-of-two texture sizes using NEAREST and
+LINEAR filtering, and texture-gather fetching.
+
+In range_clamp.* subgroup, border color components are set to values that are
+not in the representable range of the internal format. The effective value is
+expected to be clamped to the valid range.
+
+In sampler.* subgroup, texture border color and wrapping mode are set using
+a sampler state.
+
+In per_axis_wrap_mode.*, texture wrap mode is not same in all S, T, and R
+directions. Wrapping is tested for 2D and 3D textures with multiple formats
+and with different sampling modes.
+
+In depth_compare_mode.*, depth texture border values are tested with compare
+mode set to COMPARE_REF_TO_TEXTURE.
+
+In unused_channels.*, border color has non-zero values in components that are
+not representable in the target formats. These components are expected to have
+no effect.