built-in-constants: Change GLSL version handling

Graphics / Mesa 3D Graphics Library / Piglit - Ian Romanick [intel.com] - 4 May 2015 19:22 UTC

Instead of a floating point number, specify the version exactly the same way the #version string would be specified. The GLSL ES 3.00 handling was a bit wonkey before, and adding GLSL ES 3.10 would make it even worse.

01f108f built-in-constants: Change GLSL version handling
tests/shaders/built-in-constants.c | 68 ++++++++++++++------
tests/spec/arb_compute_shader/minimum-maximums.txt | 2 +-
.../minimum-maximums.txt | 2 +-
.../arb_tessellation_shader/minimum-maximums.txt | 2 +-
tests/spec/glsl-1.10/minimum-maximums.txt | 2 +-
tests/spec/glsl-1.20/minimum-maximums.txt | 2 +-
tests/spec/glsl-1.30/minimum-maximums.txt | 2 +-
tests/spec/glsl-1.40/minimum-maximums.txt | 2 +-
tests/spec/glsl-1.50/minimum-maximums.txt | 2 +-
tests/spec/glsl-3.30/minimum-maximums.txt | 2 +-
tests/spec/glsl-es-1.00/minimum-maximums.txt | 2 +-
tests/spec/glsl-es-3.00/minimum-maximums.txt | 2 +-
12 files changed, 61 insertions(+), 29 deletions(-)

Upstream: cgit.freedesktop.org


  • Share