[Piglit] [PATCH 4/5] arb_texture_query_levels: add compiler tests for textureQueryLevels()

Ian Romanick idr at freedesktop.org
Mon Oct 7 17:47:16 CEST 2013


On 10/04/2013 09:08 PM, Chris Forbes wrote:
> diff --git a/tests/spec/arb_texture_query_levels/compiler/builtin-functions-float-samplers.frag b/tests/spec/arb_texture_query_levels/compiler/builtin-functions-float-samplers.frag
> new file mode 100644
> index 0000000..d6a19ba
> --- /dev/null
> +++ b/tests/spec/arb_texture_query_levels/compiler/builtin-functions-float-samplers.frag
> @@ -0,0 +1,46 @@
> +// [config]
> +// expect_result: pass
> +// glsl_version: 1.30
> +// require_extensions: GL_ARB_texture_query_levels GL_ARB_texture_cube_map_array
> +// [end config]
> +
> +#version 130
> +#extension GL_ARB_texture_query_levels: require
> +#extension GL_ARB_texture_cube_map_array: require

Does all the hardware that supports one also support the other?  If not,
then we should split the GL_ARB_texture_cube_map_array tests out into
separate .frag and .vert files.

Also, we should all .geom versions for 1.50. :)  That should just be a
sed job.



More information about the Piglit mailing list