[Piglit] [PATCH 00/10] shader_runner support for micro benchmarks

Jordan Justen jordan.l.justen at intel.com
Wed Oct 16 01:33:04 CEST 2013


git://people.freedesktop.org/~jljusten/piglit shader_runner-time-v1

I think shader_runner could be an easy way to develop
quick micro-benchmarks when working on performance.

I found shader_runner only required a few tweaks to
be usable for this with depth clears.

I'm not suggesting (at least in this series), that
we add any micro benchmark scripts to the tree. Rather
I would just like to make it possible to write such
scripts for shader_runner.

The last patch in this series provides an example
usage, but I don't want that patch to be added to piglit.

Jordan Justen (10):
  shader_runner: support SIZE in requirement section of a shader_test
  glsl-1.50: add size requirements to 3 shader_test tests
  piglit-util: add piglit_get_microseconds
  shader_runner: add 'time reset' and 'time show' commands
  shader_runner: support depth visual with DEPTH keyword in
    requirements
  shader_runner: enable depth clear
  shader_runner: enable scissor command
  shader_runner: add echo command
  shader_runner: add finish command
  Example shader_test scripts using new commands

 1080p-depth-glsl-clear.shader_test                 |   39 +++++++++++
 1080p-depth-hiz-clear.shader_test                  |   39 +++++++++++
 CMakeLists.txt                                     |    6 ++
 tests/shaders/shader_runner.c                      |   71 ++++++++++++++++----
 .../execution/geometry/point-size-out.shader_test  |    5 +-
 .../redeclare-pervertex-out-subset-gs.shader_test  |    5 +-
 .../redeclare-pervertex-subset-vs.shader_test      |    5 +-
 tests/util/piglit-util.c                           |   17 +++++
 tests/util/piglit-util.h                           |    8 +++
 9 files changed, 176 insertions(+), 19 deletions(-)
 create mode 100644 1080p-depth-glsl-clear.shader_test
 create mode 100644 1080p-depth-hiz-clear.shader_test

-- 
1.7.10.4



More information about the Piglit mailing list