[Piglit] [PATCH 0/3] Add HiZ tests

chad at chad-versace.us chad at chad-versace.us
Wed Apr 27 13:00:51 PDT 2011


From: Chad Versace <chad.versace at intel.com>

Add tests that check that depth tests work correctly when rendering to window
framebuffers and to FBO's with various formats. These tests act as
a preliminary sanity test for HiZ.

Later, tests will be added that cover more complex situations in which HiZ is
likely to cause problems, such as HiZ buffer resolves and HiZ clear
operations.

Chad Versace (3):
  hiz: Add utility functions for creating HiZ tests
  hiz: Add tests for depth tests when rendering to a window FB
  hiz: Add tests for depth tests when rendering to an FBO

 tests/CMakeLists.txt                       |    1 +
 tests/hiz/CMakeLists.gl.txt                |   35 ++++
 tests/hiz/CMakeLists.txt                   |    1 +
 tests/hiz/hiz-depth-test-fbo-d24-s8.c      |   65 +++++++
 tests/hiz/hiz-depth-test-fbo-d24.c         |   65 +++++++
 tests/hiz/hiz-depth-test-fbo-d24s8.c       |   65 +++++++
 tests/hiz/hiz-depth-test-window-stencil0.c |   57 ++++++
 tests/hiz/hiz-depth-test-window-stencil1.c |   57 ++++++
 tests/hiz/hiz-util.c                       |  273 ++++++++++++++++++++++++++++
 tests/hiz/hiz-util.h                       |   93 ++++++++++
 10 files changed, 712 insertions(+), 0 deletions(-)
 create mode 100644 tests/hiz/CMakeLists.gl.txt
 create mode 100644 tests/hiz/CMakeLists.txt
 create mode 100644 tests/hiz/hiz-depth-test-fbo-d24-s8.c
 create mode 100644 tests/hiz/hiz-depth-test-fbo-d24.c
 create mode 100644 tests/hiz/hiz-depth-test-fbo-d24s8.c
 create mode 100644 tests/hiz/hiz-depth-test-window-stencil0.c
 create mode 100644 tests/hiz/hiz-depth-test-window-stencil1.c
 create mode 100644 tests/hiz/hiz-util.c
 create mode 100644 tests/hiz/hiz-util.h

-- 
1.7.4.4



More information about the Piglit mailing list