[Piglit] [PATCH v2 0/2] Add shader test for nv_fill_rectangle

Lyude lyude at redhat.com
Thu Mar 30 21:38:51 UTC 2017


(^ that should be tests now, but I wanted to make sure patchwork didn't miss
this because of a new title)

This teaches shader_runner how to change the glPolygonMode() through "polygon
mode", and then uses that to add a bunch of tests for testing NV_fill_rectangle
support.

Lyude (2):
  shader_runner: Add support for "polygon mode"
  nv_fill_rectangle: add tests

 tests/shaders/shader_runner.c                      | 16 ++++-
 tests/spec/CMakeLists.txt                          |  1 +
 tests/spec/nv_fill_rectangle/CMakeLists.gl.txt     | 13 ++++
 tests/spec/nv_fill_rectangle/CMakeLists.txt        |  1 +
 .../gs-lines-ignore-fill-rect.shader_test          | 43 ++++++++++++
 .../gs-points-ignore-fill-rect.shader_test         | 44 +++++++++++++
 .../execution/gs-tris-with-fill-rect.shader_test   | 42 ++++++++++++
 .../execution/lines-ignore-fill-rect.shader_test   | 29 ++++++++
 .../execution/points-ignore-fill-rect.shader_test  | 35 ++++++++++
 .../tes-isolines-ignore-fill-rect.shader_test      | 37 +++++++++++
 ...tris-in-point-mode-ignore-fill-rect.shader_test | 43 ++++++++++++
 .../execution/tes-tris-with-fill-rect.shader_test  | 41 ++++++++++++
 .../execution/tris-with-fill-rect.shader_test      | 30 +++++++++
 tests/spec/nv_fill_rectangle/invalid-draw-mode.c   | 77 ++++++++++++++++++++++
 14 files changed, 451 insertions(+), 1 deletion(-)
 create mode 100644 tests/spec/nv_fill_rectangle/CMakeLists.gl.txt
 create mode 100644 tests/spec/nv_fill_rectangle/CMakeLists.txt
 create mode 100644 tests/spec/nv_fill_rectangle/execution/gs-lines-ignore-fill-rect.shader_test
 create mode 100644 tests/spec/nv_fill_rectangle/execution/gs-points-ignore-fill-rect.shader_test
 create mode 100644 tests/spec/nv_fill_rectangle/execution/gs-tris-with-fill-rect.shader_test
 create mode 100644 tests/spec/nv_fill_rectangle/execution/lines-ignore-fill-rect.shader_test
 create mode 100644 tests/spec/nv_fill_rectangle/execution/points-ignore-fill-rect.shader_test
 create mode 100644 tests/spec/nv_fill_rectangle/execution/tes-isolines-ignore-fill-rect.shader_test
 create mode 100644 tests/spec/nv_fill_rectangle/execution/tes-tris-in-point-mode-ignore-fill-rect.shader_test
 create mode 100644 tests/spec/nv_fill_rectangle/execution/tes-tris-with-fill-rect.shader_test
 create mode 100644 tests/spec/nv_fill_rectangle/execution/tris-with-fill-rect.shader_test
 create mode 100644 tests/spec/nv_fill_rectangle/invalid-draw-mode.c

-- 
2.9.3



More information about the Piglit mailing list