[Piglit] [PATCH 0/3] more arb_gpu_shader_fp64 tests

Tapani Pälli tapani.palli at intel.com
Wed Aug 20 05:36:17 PDT 2014


Hi;

These tests are built with the goal to bring test coverage on Dave's
implementation of the extension. Most of the builtin and math tests are
copy paste from tests/shaders but with some changes to adapt double, also
there are a few tests written from scratch. There's still some tests I'm
planning to add but I thought to send these ready ones now.

I've run all the tests on Radeon HD 7600G (fglrx) and following ones from
the new tests fail there (also other failures, 38/45 pass):

	glsl-double-const-builtin-roundEven.shader_test
	glsl-algebraic-div-double.shader_test
	glsl-double-const-builtin-trunc.shader_test

so maybe pay close attention if these look correct.

Many thanks;

Tapani Pälli (3):
  arb_gpu_shader_fp64: add glsl algebraic tests
  arb_gpu_shader_fp64: add tests for builtin functions
  arb_gpu_shader_fp64: test vector insert and extract operations

 .../glsl-algebraic-add-double.shader_test          | 22 +++++++++++++++
 .../glsl-algebraic-csel-double.shader_test         | 20 ++++++++++++++
 .../glsl-algebraic-div-double.shader_test          | 20 ++++++++++++++
 .../glsl-algebraic-mul-double.shader_test          | 20 ++++++++++++++
 .../glsl-algebraic-neg-double.shader_test          | 20 ++++++++++++++
 .../glsl-double-const-builtin-abs.shader_test      | 19 +++++++++++++
 .../glsl-double-const-builtin-ceil.shader_test     | 19 +++++++++++++
 .../glsl-double-const-builtin-dot.shader_test      | 24 +++++++++++++++++
 .../glsl-double-const-builtin-equal.shader_test    | 19 +++++++++++++
 .../glsl-double-const-builtin-floor.shader_test    | 19 +++++++++++++
 .../glsl-double-const-builtin-fract.shader_test    | 19 +++++++++++++
 ...sl-double-const-builtin-greaterThan.shader_test | 19 +++++++++++++
 .../glsl-double-const-builtin-lessThan.shader_test | 19 +++++++++++++
 ...-double-const-builtin-lessThanEqual.shader_test | 19 +++++++++++++
 .../glsl-double-const-builtin-lrp.shader_test      | 20 ++++++++++++++
 .../glsl-double-const-builtin-max.shader_test      | 19 +++++++++++++
 .../glsl-double-const-builtin-min.shader_test      | 19 +++++++++++++
 .../glsl-double-const-builtin-mod.shader_test      | 19 +++++++++++++
 .../glsl-double-const-builtin-notEqual.shader_test | 19 +++++++++++++
 ...glsl-double-const-builtin-roundEven.shader_test | 31 ++++++++++++++++++++++
 .../glsl-double-const-builtin-sign.shader_test     | 19 +++++++++++++
 .../glsl-double-const-builtin-sqrt.shader_test     | 18 +++++++++++++
 .../glsl-double-const-builtin-trunc.shader_test    | 27 +++++++++++++++++++
 ...sl-double-const-expr-vector-extract.shader_test | 21 +++++++++++++++
 ...lsl-double-const-expr-vector-insert.shader_test | 19 +++++++++++++
 25 files changed, 509 insertions(+)
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-algebraic-add-double.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-algebraic-csel-double.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-algebraic-div-double.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-algebraic-mul-double.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-algebraic-neg-double.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-abs.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-ceil.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-dot.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-equal.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-floor.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-fract.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-greaterThan.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-lessThan.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-lessThanEqual.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-lrp.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-max.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-min.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-mod.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-notEqual.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-roundEven.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-sign.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-sqrt.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-builtin-trunc.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-expr-vector-extract.shader_test
 create mode 100644 tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/glsl-double-const-expr-vector-insert.shader_test

-- 
1.9.3



More information about the Piglit mailing list