[Piglit] [PATCH v2] genned-names: correct the parameter for glBindBufferRange

Tapani Pälli tapani.palli at intel.com
Thu May 25 14:29:03 UTC 2017


On 05/25/2017 04:50 PM, sandra koroniewska wrote:
> Hi, is this patch alright now? I don't have the right to push so I 
> would be grateful if someone pushed this (if it's correct now).
>

I've pushed this, thanks!

> Regards,
> Sandra
>
> On Mon, May 15, 2017 at 4:57 PM, Sandra Koroniewska 
> <sandra.koroniewska at gmail.com <mailto:sandra.koroniewska at gmail.com>> 
> wrote:
>
>     This fixes
>     tests/spec/gl-3.1/genned-names on Windows Intel driver. According
>     to OpenGL 4.5 Core Spec section 6.7.1. page 81, offset is
>     restricted to be a multiple of 4 for transform feedback bindings.
>     ---
>      tests/spec/gl-3.1/genned-names.c | 2 +-
>      1 file changed, 1 insertion(+), 1 deletion(-)
>
>     diff --git a/tests/spec/gl-3.1/genned-names.c
>     b/tests/spec/gl-3.1/genned-names.c
>     index bc75ae4d6..f484997b0 100644
>     --- a/tests/spec/gl-3.1/genned-names.c
>     +++ b/tests/spec/gl-3.1/genned-names.c
>     @@ -157,7 +157,7 @@ test_bindbuffer_tfb()
>             glBindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, 0, 600);
>             pass = piglit_check_gl_error(GL_INVALID_OPERATION) && pass;
>
>     -       glBindBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, 0, 601, 0, 1);
>     +       glBindBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, 0, 601, 0, 4);
>             pass = piglit_check_gl_error(GL_INVALID_OPERATION) && pass;
>
>             return pass;
>     --
>     2.11.0.windows.1
>
>
>
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20170525/9cc5dfa8/attachment.html>


More information about the Piglit mailing list