[Piglit] [PATCH] Expect ARB_texture_cube_map_array/compiler/tex_bias-01.vert to fail.

Paul Berry stereotype441 at gmail.com
Sat Jun 29 10:31:32 PDT 2013


On 28 June 2013 14:18, Kenneth Graunke <kenneth at whitecape.org> wrote:

> Bias makes no sense in a vertex shader, as there's no implicitly
> computed LOD to add a bias to.  According to the GLSL 4.30 spec, "In all
> functions below, the bias parameter is optional for fragment shaders.
> The bias parameter is not accepted in any other shader."  1.30 has
> similar text disallowing bias in vertex shaders.
>

Reviewed-by: Paul Berry <stereotype441 at gmail.com>


> ---
>  tests/spec/arb_texture_cube_map_array/compiler/tex_bias-01.vert | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
> a/tests/spec/arb_texture_cube_map_array/compiler/tex_bias-01.vert
> b/tests/spec/arb_texture_cube_map_array/compiler/tex_bias-01.vert
> index 90e0146..48576ee 100644
> --- a/tests/spec/arb_texture_cube_map_array/compiler/tex_bias-01.vert
> +++ b/tests/spec/arb_texture_cube_map_array/compiler/tex_bias-01.vert
> @@ -1,5 +1,5 @@
>  /* [config]
> - * expect_result: pass
> + * expect_result: fail
>   * glsl_version: 1.30
>   * require_extensions: GL_ARB_texture_cube_map_array
>   * [end config]
> --
> 1.8.3.1
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20130629/e9276eae/attachment.html>


More information about the Piglit mailing list