Signed-off-by: Ilia Mirkin
---
tests/all.py | 6 ++
tests/spec/arb_texture_view/CMakeLists.gles3.txt | 3 +
.../sampling-2d-array-as-2d-layer.c| 72 +-
.../sampling-2d-array-as-cubemap-array.c | 63 +++
These tests used a mix of GL 1.x and newer functionality. This switches
all of them up to require GL 3.0 to avoid annoyance. All hardware that
can support texture views is GL 3.0-capable.
Signed-off-by: Ilia Mirkin
---
tests/spec/arb_texture_view/CMakeLists.gles3.txt | 3 +
tests/spec/arb_text
Signed-off-by: Ilia Mirkin
---
tests/all.py | 5 +
tests/spec/arb_texture_view/CMakeLists.gles3.txt | 3 +
tests/spec/arb_texture_view/rendering-formats.c | 621 +--
3 files changed, 471 insertions(+), 158 deletions(-)
create mode 1006
On Friday, September 16, 2016 3:38:49 PM PDT Ilia Mirkin wrote:
> This makes some fairly simple changes to the existing tests to also work
> with GL_OES_viewport_array, which presents largely identical
> functionality. All of the tests continue to pass with desktop GL, and
> also work with my soon-
Dylan Baker writes:
> In python2 the code as is works, although there might be odd corners. In
> python 3 it fails because the code tries to match bytes and strs, which
> doesn't work at all.
>
> This patch fixes the issue by converting the output from bytes to str
> (unicode) immediately, so we