port NV_conditional_render tests to GLES3

Submitted by Erik Faye-Lund on Nov. 5, 2018, 5:23 p.m.

Details

Reviewer None
Submitted Nov. 5, 2018, 5:23 p.m.
Last Updated Nov. 7, 2018, 9:14 p.m.
Revision 1

Cover Letter(s)

Revision 1
      The NV_conditional_render spec allows for the extension to be
implemented on top of OpenGL ES 3.0. So let's port the tests so they can
run there as well.

Erik Faye-Lund (10):
  nv_conditional_render: fixup test-requirements
  nv_conditional_render: drop mipmapping from tests that doesn't care
  nv_conditional_render: do not depend on float-textures
  nv_conditional_render: port tests to gles3
  nv_conditional_render: port blitframebuffer-test to gles3
  nv_conditional_render: port clear-test to gles3
  nv_conditional_render: port copyteximage-test to gles3
  nv_conditional_render: port copytexsubimage-test to gles3
  nv_conditional_render: port generatemipmap-test to gles3
  nv_conditional_render: port vertex_array-test to gles3

 .../CMakeLists.gles3.txt                      | 12 +++
 .../begin-while-active.c                      |  7 +-
 tests/spec/nv_conditional_render/begin-zero.c |  7 +-
 tests/spec/nv_conditional_render/bitmap.c     |  2 -
 .../nv_conditional_render/blitframebuffer.c   | 80 ++++++++++++++++---
 tests/spec/nv_conditional_render/clear.c      | 36 ++++++++-
 tests/spec/nv_conditional_render/copypixels.c |  2 -
 .../spec/nv_conditional_render/copyteximage.c | 70 +++++++++++++---
 .../nv_conditional_render/copytexsubimage.c   | 70 +++++++++++++---
 tests/spec/nv_conditional_render/dlist.c      |  2 -
 tests/spec/nv_conditional_render/drawpixels.c |  2 -
 .../nv_conditional_render/generatemipmap.c    | 61 +++++++++++---
 .../spec/nv_conditional_render/vertex_array.c | 47 ++++++++++-
 13 files changed, 337 insertions(+), 61 deletions(-)
 create mode 100644 tests/spec/nv_conditional_render/CMakeLists.gles3.txt
    

Revisions