ARB_shader_texture_lod: Replace shell generator with python generator

Graphics / Mesa 3D Graphics Library / Piglit - Dylan Baker [gmail.com] - 14 May 2014 12:30 UTC

This patch removes tests/spec/ARB_shader_texture_lod/compiler/*, which is a shell script that generates a number of tests, and 47 generated glsl parser tests.

It replaces them with a python generator (require less code than the bash generator), that is run at build time by cmake. That means we don't need to check these simple generated tests in VCS.

v2: - fix typo: replace ARG with ARB- fix typo: require_extension -> require_extensions- fix accidental replacement of varying with uniform

880e19d ARB_shader_texture_lod: Replace shell generator with python generator
generated_tests/CMakeLists.txt | 4 +
generated_tests/gen_texture_lod_tests.py | 178 +++++++++++++++++
tests/all.py | 2 +-
.../compiler/make_tex_lod_tests.sh | 210 --------------------
.../compiler/tex_grad-01.frag | 17 --
.../compiler/tex_grad-02.frag | 17 --
.../compiler/tex_grad-03.frag | 17 --
.../compiler/tex_grad-04.frag | 17 --
.../compiler/tex_grad-05.frag | 17 --
.../compiler/tex_grad-06.frag | 17 --
.../compiler/tex_grad-07.frag | 17 --
.../compiler/tex_grad-08.frag | 17 --
.../compiler/tex_grad-09.frag | 17 --
.../compiler/tex_grad-10.frag | 17 --
.../compiler/tex_grad-11.frag | 17 --
.../compiler/tex_grad-12.frag | 17 --
.../compiler/tex_grad-13.frag | 17 --
.../compiler/tex_grad-14.frag | 17 --
.../compiler/tex_grad-15.frag | 17 --
.../compiler/tex_grad-16.frag | 17 --
.../compiler/tex_grad-17.frag | 17 --
.../compiler/tex_grad-18.vert | 20 --
.../compiler/tex_grad-19.vert | 20 --
.../compiler/tex_grad-20.vert | 20 --
.../compiler/tex_grad-21.vert | 20 --
.../compiler/tex_grad-22.vert | 20 --
.../compiler/tex_grad-23.vert | 20 --
.../compiler/tex_grad-24.vert | 20 --
.../compiler/tex_grad-25.vert | 20 --
.../compiler/tex_grad-26.vert | 20 --
.../compiler/tex_grad-27.vert | 20 --
.../compiler/tex_grad-28.vert | 20 --
.../compiler/tex_grad-29.vert | 20 --
.../compiler/tex_grad-30.vert | 20 --
.../compiler/tex_grad-31.vert | 20 --
.../compiler/tex_grad-32.vert | 20 --
.../compiler/tex_grad-33.vert | 20 --
.../compiler/tex_grad-34.vert | 20 --
.../compiler/tex_lod-01.frag | 16 --
.../compiler/tex_lod-02.frag | 16 --
.../compiler/tex_lod-03.frag | 16 --
.../compiler/tex_lod-04.frag | 16 --
.../compiler/tex_lod-05.frag | 16 --
.../compiler/tex_lod-06.frag | 16 --
.../compiler/tex_lod-07.frag | 16 --
.../compiler/tex_lod-08.frag | 16 --
.../compiler/tex_lod-09.frag | 16 --
.../compiler/tex_lod-10.frag | 16 --
.../compiler/tex_lod-11.frag | 16 --
.../compiler/tex_lod-12.frag | 16 --
.../compiler/tex_lod-13.frag | 16 --
51 files changed, 183 insertions(+), 1048 deletions(-)

Upstream: cgit.freedesktop.org


  • Share