[Piglit] [PATCH] Additional conversion tests for the ARB_gpu_shader_fp64 extension

Andres Gomez agomez at igalia.com
Thu Apr 14 09:40:24 UTC 2016


This generator provides additional tests for the
ARB_gpu_shader_fp64 extension:
https://www.opengl.org/registry/specs/ARB/gpu_shader_fp64.txt

Which has previous patches for new tests under review at:
https://lists.freedesktop.org/archives/piglit/2016-March/019167.html
https://lists.freedesktop.org/archives/piglit/2016-April/019340.html

The conversion conventions where discussed at:
https://lists.freedesktop.org/archives/mesa-dev/2016-March/110038.html

This work is complemented with the corresponding bug to add support
for this extension into the i965 shader backend at:
https://bugs.freedesktop.org/show_bug.cgi?id=92760

Br.

Andres Gomez (1):
  arb_gpu_shader_fp64: Adds conversion tests generator

 generated_tests/CMakeLists.txt                     |  24 +
 generated_tests/gen_conversion_fp64.py             | 604 +++++++++++++++++++++
 .../templates/gen_conversion_fp64/base.mako        |  12 +
 .../gen_conversion_fp64/compiler.frag.mako         |   3 +
 .../gen_conversion_fp64/compiler.geom.mako         |   3 +
 .../gen_conversion_fp64/compiler.vert.mako         |   3 +
 .../gen_conversion_fp64/compiler_base.mako         |  25 +
 .../execution-zero-sign.frag.shader_test.mako      |   8 +
 .../execution-zero-sign.geom.shader_test.mako      |  27 +
 .../execution-zero-sign.vert.shader_test.mako      |  16 +
 .../execution.frag.shader_test.mako                |   7 +
 .../execution.geom.shader_test.mako                |  27 +
 .../execution.vert.shader_test.mako                |  16 +
 .../gen_conversion_fp64/execution_base.mako        |  28 +
 .../gen_conversion_fp64/shader-zero-sign.frag.mako |  18 +
 .../gen_conversion_fp64/shader-zero-sign.geom.mako |  27 +
 .../gen_conversion_fp64/shader-zero-sign.vert.mako |  20 +
 .../templates/gen_conversion_fp64/shader.frag.mako |  16 +
 .../templates/gen_conversion_fp64/shader.geom.mako |  25 +
 .../templates/gen_conversion_fp64/shader.vert.mako |  18 +
 .../templates/gen_conversion_fp64/shader_base.mako |  11 +
 .../implicit-conversion-double-float-bad.vert      |  20 -
 .../implicit-conversion-dvec2-vec2-bad.vert        |  20 -
 .../implicit-conversion-dvec3-vec3-bad.vert        |  20 -
 .../implicit-conversion-dvec4-vec4-bad.vert        |  20 -
 .../compiler/implicit-conversions.vert             | 115 ----
 26 files changed, 938 insertions(+), 195 deletions(-)
 create mode 100644 generated_tests/gen_conversion_fp64.py
 create mode 100644 generated_tests/templates/gen_conversion_fp64/base.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/compiler.frag.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/compiler.geom.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/compiler.vert.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/compiler_base.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/execution-zero-sign.frag.shader_test.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/execution-zero-sign.geom.shader_test.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/execution-zero-sign.vert.shader_test.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/execution.frag.shader_test.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/execution.geom.shader_test.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/execution.vert.shader_test.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/execution_base.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/shader-zero-sign.frag.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/shader-zero-sign.geom.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/shader-zero-sign.vert.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/shader.frag.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/shader.geom.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/shader.vert.mako
 create mode 100644 generated_tests/templates/gen_conversion_fp64/shader_base.mako
 delete mode 100644 tests/spec/arb_gpu_shader_fp64/compiler/implicit-conversion-double-float-bad.vert
 delete mode 100644 tests/spec/arb_gpu_shader_fp64/compiler/implicit-conversion-dvec2-vec2-bad.vert
 delete mode 100644 tests/spec/arb_gpu_shader_fp64/compiler/implicit-conversion-dvec3-vec3-bad.vert
 delete mode 100644 tests/spec/arb_gpu_shader_fp64/compiler/implicit-conversion-dvec4-vec4-bad.vert
 delete mode 100644 tests/spec/arb_gpu_shader_fp64/compiler/implicit-conversions.vert

-- 
2.8.0.rc3



More information about the Piglit mailing list