[08/12] arb_internalformat_query2: add gles2 tests

Submitted by apinheiro on May 13, 2016, 3:26 p.m.

Details

Message ID 1463153173-12219-9-git-send-email-apinheiro@igalia.com
State New
Headers show
Series "ARB_internalformat_query2 support for OpenGL ES and other fixes" ( rev: 1 ) in Piglit

Not browsing as part of any series.

Commit Message

apinheiro May 13, 2016, 3:26 p.m.
Acked-by: Eduardo Lima <elima@igalia.com>
Acked-by: Antia Puentes <apuentes@igalia.com>
---
 tests/all.py                                            | 17 +++++++++++++++++
 .../spec/arb_internalformat_query2/CMakeLists.gles2.txt | 17 +++++++++++++++++
 2 files changed, 34 insertions(+)
 create mode 100644 tests/spec/arb_internalformat_query2/CMakeLists.gles2.txt

Patch hide | download patch | download mbox

diff --git a/tests/all.py b/tests/all.py
index 395f964..60f952d 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -3721,6 +3721,23 @@  with profile.group_manager(
     g(['arb_internalformat_query2-format-components'], '{COLOR,DEPTH,STENCIL}_COMPONENTS pname checks')
 
 with profile.group_manager(
+        PiglitGLTest,
+        grouptools.join('spec', 'arb_internalformat_query2-gles2')) as g:
+    g(['arb_internalformat_query2-api-errors-gles2'], 'API error checks')
+    g(['arb_internalformat_query2-generic-pname-checks-gles2'], 'Individual most generic pname checks')
+    g(['arb_internalformat_query2-samples-pnames-gles2'], 'SAMPLES and NUM_SAMPLE_COUNTS pname checks')
+    g(['arb_internalformat_query2-internalformat-size-checks-gles2'], 'All INTERNALFORMAT_<X>_SIZE pname checks')
+    g(['arb_internalformat_query2-internalformat-type-checks-gles2'], 'All INTERNALFORMAT_<X>_TYPE pname checks')
+    g(['arb_internalformat_query2-image-format-compatibility-type-gles2'], 'IMAGE_FORMAT_COMPATIBILITY_TYPE pname checks')
+    g(['arb_internalformat_query2-max-dimensions-gles2'], 'Max dimensions related pname checks')
+    g(['arb_internalformat_query2-color-encoding-gles2'], 'COLOR_ENCODING pname check')
+    g(['arb_internalformat_query2-texture-compressed-block-gles2'], 'All TEXTURE_COMPRESSED_BLOCK_<X> pname checks')
+    g(['arb_internalformat_query2-minmax-gles2'], 'minmax check for SAMPLES/NUM_SAMPLE_COUNTS')
+    g(['arb_internalformat_query2-image-texture-gles2'], 'Checks for pnames related to ARB_image_load_store that return values from Table 3.22 (OpenGL 4.2)')
+    g(['arb_internalformat_query2-filter-gles2'], 'FILTER pname checks.')
+    g(['arb_internalformat_query2-format-components-gles2'], '{COLOR,DEPTH,STENCIL}_COMPONENTS pname checks')
+
+with profile.group_manager(
         PiglitGLTest, grouptools.join('spec', 'arb_map_buffer_range')) as g:
     g(['map_buffer_range_error_check'], run_concurrent=False)
     g(['map_buffer_range_test'], run_concurrent=False)
diff --git a/tests/spec/arb_internalformat_query2/CMakeLists.gles2.txt b/tests/spec/arb_internalformat_query2/CMakeLists.gles2.txt
new file mode 100644
index 0000000..4ad978e
--- /dev/null
+++ b/tests/spec/arb_internalformat_query2/CMakeLists.gles2.txt
@@ -0,0 +1,17 @@ 
+link_libraries (piglitutil_${piglit_target_api})
+
+piglit_add_executable (arb_internalformat_query2-api-errors-${piglit_target_api} api-errors.c)
+piglit_add_executable (arb_internalformat_query2-generic-pname-checks-${piglit_target_api} generic-pname-checks.c common.c)
+piglit_add_executable (arb_internalformat_query2-samples-pnames-${piglit_target_api} samples-pnames.c common.c)
+piglit_add_executable (arb_internalformat_query2-internalformat-size-checks-${piglit_target_api} internalformat-size-checks.c common.c)
+piglit_add_executable (arb_internalformat_query2-internalformat-type-checks-${piglit_target_api} internalformat-type-checks.c common.c)
+piglit_add_executable (arb_internalformat_query2-image-format-compatibility-type-${piglit_target_api} image-format-compatibility-type.c common.c)
+piglit_add_executable (arb_internalformat_query2-max-dimensions-${piglit_target_api} max-dimensions.c common.c)
+piglit_add_executable (arb_internalformat_query2-color-encoding-${piglit_target_api} color-encoding.c common.c)
+piglit_add_executable (arb_internalformat_query2-texture-compressed-block-${piglit_target_api} texture-compressed-block.c common.c)
+piglit_add_executable (arb_internalformat_query2-minmax-${piglit_target_api} minmax.c common.c)
+piglit_add_executable (arb_internalformat_query2-image-texture-${piglit_target_api} image-texture.c common.c)
+piglit_add_executable (arb_internalformat_query2-filter-${piglit_target_api} filter.c common.c)
+piglit_add_executable (arb_internalformat_query2-format-components-${piglit_target_api} format-components.c common.c)
+
+# vim: ft=cmake: