[Piglit] [PATCH] glsl-1.30: add basic test for testing textureOffset functionality.
Brian Paul
brianp at vmware.com
Tue Mar 5 06:56:24 PST 2013
On 03/04/2013 07:46 PM, sroland at vmware.com wrote:
> From: Roland Scheidegger<sroland at vmware.com>
>
> This is pretty rough and doesn't really test all that much (just
> textureOffsetLod, but there's other texturing functions with offsets),
> doesn't test different wrap modes, NPOT sizes etc., but there's no
> other test using "ordinary" texture opcodes and texel offsets, so
> it's a start (and in fact it exposed a bug in the mesa state tracker).
> Tested with llvmpipe (pass) and softpipe (fail) which is as expected -
> hopefully the math is ok...
> Inspired from fs-texelFetchOffset.
> ---
> tests/spec/glsl-1.30/execution/CMakeLists.gl.txt | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/spec/glsl-1.30/execution/CMakeLists.gl.txt b/tests/spec/glsl-1.30/execution/CMakeLists.gl.txt
> index 6737bb1..3c0b2d5 100644
> --- a/tests/spec/glsl-1.30/execution/CMakeLists.gl.txt
> +++ b/tests/spec/glsl-1.30/execution/CMakeLists.gl.txt
> @@ -13,6 +13,7 @@ link_libraries (
> piglit_add_executable (fs-discard-exit-2 fs-discard-exit-2.c)
> piglit_add_executable (fs-texelFetch-2D fs-texelFetch-2D.c)
> piglit_add_executable (fs-texelFetchOffset-2D fs-texelFetchOffset-2D.c)
> +piglit_add_executable (fs-textureOffset-2D fs-textureOffset-2D.c)
> IF (NOT MSVC)
> piglit_add_executable (isinf-and-isnan isinf-and-isnan.c)
> ENDIF (NOT MSVC)
Looks like the commit is incomplete - no fs-textureOffset-2D.c file.
-Brian
More information about the Piglit
mailing list