[Piglit] [PATCH 00/15] Add a GLES3 shader_runner test

Chad Versace chad.versace at linux.intel.com
Fri Dec 7 12:53:46 PST 2012


This series adds GLES3 support to shader_runner and adds a real working GLES3
shader test, spec/glsl-es-3.00/execution/sanity.shader_test_gles3. Finally, we
can start churning out GLES3 tests.

This series lives on my gles3-shader-runner-v4 branch.

I tested the series against mesa-gles3-412a815 with Intel Sandybridge and saw
no regressions.

v2:
    - In GLES3, emulate glMapBuffer with glMapBufferRange.
    - Use the same extension as GL tests, .shader_test, for GLES3 tests.

Patches 1-11: Add GLES3 support to shader_runner.
Patches 12-15: Add spec/glsl-es.3.00/execution/sanity.shader_test_gles3

*** BLURB HERE ***

Chad Versace (15):
  util/gl: Add piglit-vbo.cpp to libpiglitutil_gles3
  shader_runner: Change version type from uint to struct
  shader_runner: Add new func version_compare()
  shader_runner: Add func version_string()
  shader_runner: Allow struct version to represent ES versions
  shader_runner: Parse ES versions
  shader_runner: Create an ES context if test requests one
  shader_runner: Remove unneeded MSVC workarounds
  shader_runner: Remove extension suffixes when possible
  shader_runner: Add GLES workarounds (v2)
  shader_runner: Build shader_runner_gles3
  arb_fragment_program*: Add [require] block to all shader tests
  framework: New module shader_test.py
  framework: Use shader_test.py to drive shader tests
  glsl-es-3.00: Add sanity.shader_test

 framework/shader_test.py                           | 270 +++++++++++++++++
 tests/all.tests                                    |  22 +-
 tests/shaders/CMakeLists.gles3.txt                 |   7 +
 tests/shaders/shader_runner.c                      | 333 +++++++++++++++------
 tests/shaders/shader_runner_gles_workarounds.h     | 136 +++++++++
 tests/spec/arb_fragment_program/dph.shader_test    |   3 +
 .../arb_fragment_program/kil-swizzle.shader_test   |   3 +
 .../spec/arb_fragment_program/lrp_sat.shader_test  |   3 +
 .../texturing/tex-2d.shader_test                   |   3 +
 .../texturing/txb-2d.shader_test                   |   3 +
 .../texturing/txp-2d.shader_test                   |   3 +
 .../arb_fragment_program_shadow/masked.shader_test |   4 +
 .../spec/glsl-es-3.00/execution/sanity.shader_test |  44 +++
 tests/util/CMakeLists.gles3.txt                    |   1 +
 14 files changed, 724 insertions(+), 111 deletions(-)
 create mode 100755 framework/shader_test.py
 create mode 100644 tests/shaders/CMakeLists.gles3.txt
 create mode 100644 tests/shaders/shader_runner_gles_workarounds.h
 create mode 100644 tests/spec/glsl-es-3.00/execution/sanity.shader_test

-- 
1.7.11.7

>From ea48383c43f7a82dcb41f77b3f383abe3374cb18 Mon Sep 17 00:00:00 2001
From: Chad Versace <chad.versace at linux.intel.com>
Date: Mon, 3 Dec 2012 21:56:32 -0800
Subject: [PATCH 00/13] Add a GLES3 shader_runner test

This series adds GLES3 support to shader_runner and adds a sanity test,
spec/glsl-es-3.00/execution/sanity.shader_test_gles3. Finally, we can start
churning out GLES3 tests.

This series lives on my gles3-shader-runner-v2 branch. It sits atop another
series I've posted to the list, "Merge ES1, ES2, and EGL tests into
all.tests".

I tested the series against mesa-gles3-5612c08 with Intel Sandybridge and saw
no regressions.

Patches 1-11: Add GLES3 support to shader_runner.
Patches 12-13: Add spec/glsl-es.3.00/execution/sanity.shader_test_gles3

Chad Versace (13):
  util/gl: Add piglit-vbo.cpp to libpiglitutil_gles3
  shader_runner: Change version type from uint to struct
  shader_runner: Add new func version_compare()
  shader_runner: Add func version_string()
  shader_runner: Allow struct version to represent ES versions
  shader_runner: Parse ES versions
  shader_runner: Create an ES context if test requests one
  shader_runner: Remove unneeded MSVC workarounds
  shader_runner: Remove extension suffixes when possible
  shader_runner: Add GLES workarounds
  shader_runner: Build shader_runner_gles3
  all.tests: Add all tests *.shader_test_gles3
  glsl-es-3.00: Add sanity shader_test

 tests/all.tests                                    |  14 +-
 tests/shaders/CMakeLists.gles3.txt                 |   7 +
 tests/shaders/shader_runner.c                      | 333 +++++++++++++++------
 tests/shaders/shader_runner_gles_workarounds.h     | 145 +++++++++
 .../execution/sanity.shader_test_gles3             |  44 +++
 tests/util/CMakeLists.gles3.txt                    |   1 +
 6 files changed, 448 insertions(+), 96 deletions(-)
 create mode 100644 tests/shaders/CMakeLists.gles3.txt
 create mode 100644 tests/shaders/shader_runner_gles_workarounds.h
 create mode 100644 tests/spec/glsl-es-3.00/execution/sanity.shader_test_gles3

-- 
1.7.11.7



More information about the Piglit mailing list