[Piglit] [PATCH v2 0/9] More duplicated layout-qualifier-names tests

Andres Gomez agomez at igalia.com
Wed Oct 26 16:14:07 UTC 2016


This series complements the work done for mesa at:
https://lists.freedesktop.org/archives/mesa-dev/2016-October/132990.html

Briefing, this is a new set of tests that check the ability to support
multiple layout-qualifers in a single declaration and that only the
right-most appearance of the same layout-qualifier-name, in a single
layout-qualifier or across multiple layout-qualifiers in a single
declaration is taken into account.

The ARB_shading_language_420pack spec adds the support for multiple
layout-qualifiers in the same declaration.

The ARB_enhanced_layouts spec adds the support to repeat the same
layout-qualifier-name inside a single layout-qualifier.

The main changes in this v2 series are:
  Patch 1/9 has been modified renaming the additional test on it.
  Patches 4/9 and 5/9 have been modified to remove the link check.
  Patch 5/9 has been modified to check for GLSL 1.50 instead of just
    1.40.
  Old patches 5/7 and 7/7 have been removed, which was testing
    multiple layout-qualifiers in the same declaration with
    ARB_enhanced_layouts in addition to ARB_shading_language_420pack.
  Patches 6/9, 7/9, 8/9 and 9/9 have been added with extra tests.

Andres Gomez (9):
  glsl-1.50: Add GS output layout qualifier redeclaration test
  arb_tessellation_shader: Add tests for TCS output size redeclaration
  arb_enhanced_layouts: Add more xfb_stride redeclaration tests
  arb_shading_language_420pack: More multiple layout qualifiers in a
    single declaration tests
  arb_enhanced_layouts: More duplicated layout-qualifier-names tests
  arb_shading_language_420pack: Adds multiple layout qualifiers in a
    single input declaration tests
  arb_shading_language_420pack: Adds multiple layout qualifiers in a
    single output declaration tests
  arb_shading_language_420pack: Adds multiple layout qualifiers in a
    single uniform declaration tests
  arb_shading_language_420pack: Adds multiple layout qualifiers in a
    single buffer declaration tests

 ...tion-identifiers-in-single-layout-mismatch.geom | 38 +++++++++++++++++++
 ...le-invocation-identifiers-in-single-layout.geom | 38 +++++++++++++++++++
 ...size-identifiers-in-single-layout-mismatch.comp | 37 ++++++++++++++++++
 ...le-local_size-identifiers-in-single-layout.comp | 37 ++++++++++++++++++
 ...ices-identifiers-in-single-layout-mismatch.geom | 40 ++++++++++++++++++++
 ...-max_vertices-identifiers-in-single-layout.geom | 40 ++++++++++++++++++++
 ...ices-identifiers-in-single-layout-mismatch.tesc | 39 +++++++++++++++++++
 ...iple-vertices-identifiers-in-single-layout.tesc | 39 +++++++++++++++++++
 ...obal-identifiers-in-single-layout-mismatch.vert | 41 ++++++++++++++++++++
 ...-block-global-identifiers-in-single-layout.vert | 41 ++++++++++++++++++++
 ...lock-identifiers-in-single-layout-mismatch.vert | 44 ++++++++++++++++++++++
 ..._stride-block-identifiers-in-single-layout.vert | 44 ++++++++++++++++++++++
 ...obal-identifiers-in-single-layout-mismatch.vert | 37 ++++++++++++++++++
 ...stride-global-identifiers-in-single-layout.vert | 37 ++++++++++++++++++
 ...obal-identifiers-in-single-layout-mismatch.vert | 41 ++++++++++++++++++++
 ...dblock-global-identifiers-in-single-layout.vert | 41 ++++++++++++++++++++
 ...lock-identifiers-in-single-layout-mismatch.vert | 44 ++++++++++++++++++++++
 ...de-namedblock-identifiers-in-single-layout.vert | 44 ++++++++++++++++++++++
 ...obal-identifiers-in-single-layout-mismatch.vert | 39 +++++++++++++++++++
 ...riable-global-identifiers-in-single-layout.vert | 39 +++++++++++++++++++
 ...able-identifiers-in-single-layout-mismatch.vert | 39 +++++++++++++++++++
 ...ride-variable-identifiers-in-single-layout.vert | 39 +++++++++++++++++++
 .../xfb_stride/block-stride-match-global.vert      | 31 +++++++++++++++
 .../xfb_stride/block-stride-match.vert             | 29 ++++++++++++++
 .../xfb_stride/block-stride-mismatch-global.vert   | 31 +++++++++++++++
 .../xfb_stride/block-stride-mismatch.vert          | 29 ++++++++++++++
 .../xfb_stride/global-stride-match.vert            | 22 +++++++++++
 .../xfb_stride/global-stride-mismatch.vert         | 22 +++++++++++
 .../named-block-stride-match-global.vert           | 31 +++++++++++++++
 .../xfb_stride/named-block-stride-match.vert       | 29 ++++++++++++++
 .../named-block-stride-mismatch-global.vert        | 31 +++++++++++++++
 .../xfb_stride/named-block-stride-mismatch.vert    | 29 ++++++++++++++
 .../xfb_stride/variable-stride-match-global.vert   | 26 +++++++++++++
 .../xfb_stride/variable-stride-match.vert          | 24 ++++++++++++
 .../variable-stride-mismatch-global.vert           |  6 +--
 .../xfb_stride/variable-stride-mismatch.vert       |  6 +--
 ...e-layout-qualifier-in-single-declaration-1.vert | 31 +++++++++++++++
 ...e-layout-qualifier-in-single-declaration-2.vert | 31 +++++++++++++++
 ...e-layout-qualifier-in-single-declaration-1.geom | 31 +++++++++++++++
 ...e-layout-qualifier-in-single-declaration-2.geom | 31 +++++++++++++++
 ...e-layout-qualifier-in-single-declaration-3.geom | 26 +++++++++++++
 ...e-layout-qualifier-in-single-declaration-4.geom | 26 +++++++++++++
 ...-invocation-in-single-declaration-mismatch.geom | 31 +++++++++++++++
 .../multiple-invocation-in-single-declaration.geom | 29 ++++++++++++++
 ...-local_size-in-single-declaration-mismatch.comp | 28 ++++++++++++++
 .../multiple-local_size-in-single-declaration.comp | 28 ++++++++++++++
 ...ax_vertices-in-single-declaration-mismatch.geom | 31 +++++++++++++++
 ...ultiple-max_vertices-in-single-declaration.geom | 31 +++++++++++++++
 ...e-layout-qualifier-in-single-declaration-1.geom | 25 ++++++++++++
 ...e-layout-qualifier-in-single-declaration-2.geom | 25 ++++++++++++
 ...e-layout-qualifier-in-single-declaration-3.geom | 25 ++++++++++++
 ...e-layout-qualifier-in-single-declaration-4.geom | 25 ++++++++++++
 ...e-layout-qualifier-in-single-declaration-1.vert | 30 +++++++++++++++
 ...e-layout-qualifier-in-single-declaration-2.vert | 30 +++++++++++++++
 ...le-vertices-in-single-declaration-mismatch.tesc | 30 +++++++++++++++
 .../multiple-vertices-in-single-declaration.tesc   | 30 +++++++++++++++
 ...e-qualifier-declarations-vertices-mismatch.tesc | 23 +++++++++++
 ...t-multiple-qualifier-declarations-vertices.tesc | 23 +++++++++++
 ...declaration-per-program-max-verts-mismatch.geom | 22 +++++++++++
 ...-one-out-declaration-per-program-max-verts.geom | 25 +++++++++---
 60 files changed, 1880 insertions(+), 11 deletions(-)
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-invocation-identifiers-in-single-layout-mismatch.geom
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-invocation-identifiers-in-single-layout.geom
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-local_size-identifiers-in-single-layout-mismatch.comp
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-local_size-identifiers-in-single-layout.comp
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-max_vertices-identifiers-in-single-layout-mismatch.geom
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-max_vertices-identifiers-in-single-layout.geom
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-vertices-identifiers-in-single-layout-mismatch.tesc
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-vertices-identifiers-in-single-layout.tesc
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-xfb_stride-block-global-identifiers-in-single-layout-mismatch.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-xfb_stride-block-global-identifiers-in-single-layout.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-xfb_stride-block-identifiers-in-single-layout-mismatch.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-xfb_stride-block-identifiers-in-single-layout.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-xfb_stride-global-identifiers-in-single-layout-mismatch.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-xfb_stride-global-identifiers-in-single-layout.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-xfb_stride-namedblock-global-identifiers-in-single-layout-mismatch.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-xfb_stride-namedblock-global-identifiers-in-single-layout.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-xfb_stride-namedblock-identifiers-in-single-layout-mismatch.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-xfb_stride-namedblock-identifiers-in-single-layout.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-xfb_stride-variable-global-identifiers-in-single-layout-mismatch.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-xfb_stride-variable-global-identifiers-in-single-layout.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-xfb_stride-variable-identifiers-in-single-layout-mismatch.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/duplicate-layout-qualifier-identifiers/multiple-xfb_stride-variable-identifiers-in-single-layout.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/transform-feedback-layout-qualifiers/xfb_stride/block-stride-match-global.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/transform-feedback-layout-qualifiers/xfb_stride/block-stride-match.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/transform-feedback-layout-qualifiers/xfb_stride/block-stride-mismatch-global.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/transform-feedback-layout-qualifiers/xfb_stride/block-stride-mismatch.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/transform-feedback-layout-qualifiers/xfb_stride/global-stride-match.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/transform-feedback-layout-qualifiers/xfb_stride/global-stride-mismatch.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/transform-feedback-layout-qualifiers/xfb_stride/named-block-stride-match-global.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/transform-feedback-layout-qualifiers/xfb_stride/named-block-stride-match.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/transform-feedback-layout-qualifiers/xfb_stride/named-block-stride-mismatch-global.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/transform-feedback-layout-qualifiers/xfb_stride/named-block-stride-mismatch.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/transform-feedback-layout-qualifiers/xfb_stride/variable-stride-match-global.vert
 create mode 100644 tests/spec/arb_enhanced_layouts/compiler/transform-feedback-layout-qualifiers/xfb_stride/variable-stride-match.vert
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-buffer-non-value-layout-qualifier-in-single-declaration-1.vert
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-buffer-non-value-layout-qualifier-in-single-declaration-2.vert
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-input-non-value-layout-qualifier-in-single-declaration-1.geom
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-input-non-value-layout-qualifier-in-single-declaration-2.geom
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-input-value-layout-qualifier-in-single-declaration-3.geom
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-input-value-layout-qualifier-in-single-declaration-4.geom
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-invocation-in-single-declaration-mismatch.geom
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-invocation-in-single-declaration.geom
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-local_size-in-single-declaration-mismatch.comp
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-local_size-in-single-declaration.comp
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-max_vertices-in-single-declaration-mismatch.geom
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-max_vertices-in-single-declaration.geom
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-output-non-value-layout-qualifier-in-single-declaration-1.geom
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-output-non-value-layout-qualifier-in-single-declaration-2.geom
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-output-value-layout-qualifier-in-single-declaration-3.geom
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-output-value-layout-qualifier-in-single-declaration-4.geom
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-uniform-non-value-layout-qualifier-in-single-declaration-1.vert
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-uniform-non-value-layout-qualifier-in-single-declaration-2.vert
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-vertices-in-single-declaration-mismatch.tesc
 create mode 100644 tests/spec/arb_shading_language_420pack/compiler/layout-qualifiers/multiple-vertices-in-single-declaration.tesc
 create mode 100644 tests/spec/arb_tessellation_shader/compiler/layout-multiple-qualifier-declarations-vertices-mismatch.tesc
 create mode 100644 tests/spec/arb_tessellation_shader/compiler/layout-multiple-qualifier-declarations-vertices.tesc
 create mode 100644 tests/spec/glsl-1.50/compiler/layout-only-one-out-declaration-per-program-max-verts-mismatch.geom

-- 
2.9.3



More information about the Piglit mailing list