On 16 March 2016 at 01:50, Andres Gomez <[email protected]> wrote:
> Signed-off-by: Andres Gomez <[email protected]>

For completeness should we have tess and compute version of this test?

This test is

Reviewed-by: Dave Airlie <[email protected]>

Dave.

> ---
>  .../spec/arb_gpu_shader_fp64/preprocessor/define.geom | 19 
> +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>  create mode 100644 tests/spec/arb_gpu_shader_fp64/preprocessor/define.geom
>
> diff --git a/tests/spec/arb_gpu_shader_fp64/preprocessor/define.geom 
> b/tests/spec/arb_gpu_shader_fp64/preprocessor/define.geom
> new file mode 100644
> index 0000000..85dd9bf
> --- /dev/null
> +++ b/tests/spec/arb_gpu_shader_fp64/preprocessor/define.geom
> @@ -0,0 +1,19 @@
> +// [config]
> +// expect_result: pass
> +// glsl_version: 1.50
> +// require_extensions: GL_ARB_gpu_shader_fp64
> +// [end config]
> +
> +#version 150
> +#extension GL_ARB_gpu_shader_fp64: require
> +
> +#if !defined GL_ARB_gpu_shader_fp64
> +#  error GL_ARB_gpu_shader_fp64 is not defined
> +#elif GL_ARB_gpu_shader_fp64 != 1
> +#  error GL_ARB_gpu_shader_fp64 is not equal to 1
> +#endif
> +
> +/* Some compilers generate spurious errors if a shader does not contain
> + * any code or declarations.
> + */
> +int foo(void) { return 1; }
> --
> 2.1.0
>
> _______________________________________________
> Piglit mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/piglit
_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to