ext_clear_texture: Add base format tests and common test code
commit6a0be8f7748b25571bf2d46e88343c6cc240de5b
authorGert Wollny <gert.wollny@collabora.com>
Thu, 22 Apr 2021 09:39:04 +0000 (22 11:39 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Fri, 14 May 2021 14:25:39 +0000 (14 16:25 +0200)
tree3e0cfd56b5a2babd636ba80326607ac4a9438150
parentd123e9a85164c7341eaf3ef0b3b81204d905b8b2
ext_clear_texture: Add base format tests and common test code

These tests have been ported from the ARB_clear_texture tests
and combine base formats, float, srgb, and integer formats.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Rohan Garg <rohan.garg@collabora.com>
Acked-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/519>
tests/spec/CMakeLists.txt
tests/spec/ext_clear_texture/CMakeLists.gles3.txt [new file with mode: 0644]
tests/spec/ext_clear_texture/CMakeLists.txt [new file with mode: 0644]
tests/spec/ext_clear_texture/base-formats.c [new file with mode: 0644]
tests/spec/ext_clear_texture/common.c [new file with mode: 0644]
tests/spec/ext_clear_texture/common.h [new file with mode: 0644]