[Piglit] [PATCH] arb_texture_buffer_range: add initial tests (dlist, errors, ranges) v2

Christoph Bumiller christoph.bumiller at speed.at
Mon Jan 14 05:41:21 PST 2013


On 14.01.2013 13:56, Christoph Bumiller wrote:
> From: Christoph Bumiller <e0425955 at student.tuwien.ac.at>
>
> v2:
> errors: Test negative size and positive non-aligned offset.
> ranges: Use macro to generate main function, fix issues with
> fragment shader.

Sorry, just noticed that the require GLSL 140 is commented out below,
please ignore that
(quick hack for testing with binary driver who does 430 which is
apparently not good enough).


> ---
>  tests/all.tests                                    |    6 +
>  tests/spec/CMakeLists.txt                          |    1 +
>  .../arb_texture_buffer_range/CMakeLists.gl.txt     |   15 ++
>  tests/spec/arb_texture_buffer_range/CMakeLists.txt |    1 +
>  tests/spec/arb_texture_buffer_range/dlist.c        |   99 +++++++++
>  tests/spec/arb_texture_buffer_range/errors.c       |  146 ++++++++++++++
>  tests/spec/arb_texture_buffer_range/ranges.c       |  211 ++++++++++++++++++++
>  7 files changed, 479 insertions(+), 0 deletions(-)
>  create mode 100644 tests/spec/arb_texture_buffer_range/CMakeLists.gl.txt
>  create mode 100644 tests/spec/arb_texture_buffer_range/CMakeLists.txt
>  create mode 100644 tests/spec/arb_texture_buffer_range/dlist.c
>  create mode 100644 tests/spec/arb_texture_buffer_range/errors.c
>  create mode 100644 tests/spec/arb_texture_buffer_range/ranges.c
...
> +
> diff --git a/tests/spec/arb_texture_buffer_range/ranges.c b/tests/spec/arb_texture_buffer_range/ranges.c
> new file mode 100644
> index 0000000..1aff255
> --- /dev/null
> +++ b/tests/spec/arb_texture_buffer_range/ranges.c
...
> +
> +void
> +piglit_init(int argc, char **argv)
> +{
> +//	piglit_require_GLSL_version(140);
> +	piglit_require_extension("GL_ARB_texture_buffer_range");
> +
> +	init_program();
> +	init_tbo();
> +}



More information about the Piglit mailing list