[Piglit] [piglit][PATCH] ext_transform_feedback - unmap readback buffer
Olender, Sebastian D
sebastian.d.olender at intel.com
Thu Jun 16 22:01:45 UTC 2016
Yes, please
-----Original Message-----
From: Brian Paul [mailto:brianp at vmware.com]
Sent: Thursday, June 16, 2016 6:30 PM
To: Olender, Sebastian D <sebastian.d.olender at intel.com>; piglit at lists.freedesktop.org
Subject: Re: [Piglit] [piglit][PATCH] ext_transform_feedback - unmap readback buffer
On 07/29/2095 02:21 PM, Sebastian Olender wrote:
> use glUnmapBuffer to release the mapping of a buffer object after use
> ---
> tests/spec/ext_transform_feedback/overflow-edge-cases.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/spec/ext_transform_feedback/overflow-edge-cases.c b/tests/spec/ext_transform_feedback/overflow-edge-cases.c
> index 344d0ff..5c0fa70 100644
> --- a/tests/spec/ext_transform_feedback/overflow-edge-cases.c
> +++ b/tests/spec/ext_transform_feedback/overflow-edge-cases.c
> @@ -289,6 +289,8 @@ test(int bind_size, int num_varyings, int num_primitives, int mode_index)
> pass = GL_FALSE;
> }
> }
> + glUnmapBuffer(GL_TRANSFORM_FEEDBACK_BUFFER); /* unmap readback */
> +
>
> if (pass)
> printf("PASS\n");
>
Reviewed-by: Brian Paul <brianp at vmware.com>
Need me to push this for you?
-Brian
More information about the Piglit
mailing list