[Mesa-dev] [PATCH] mesa: fix error handling in get_framebuffer_parameteriv

2018-05-04 Thread Rhys Perry
CC: Signed-off-by: Rhys Perry --- src/mesa/main/fbobject.c | 72 +++- 1 file changed, 41 insertions(+), 31 deletions(-) diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index c72204e11a..0fc3319fe9 100644 --- a/src/mesa/main/fbobject.c

Re: [Mesa-dev] [PATCH] mesa: fix error handling in get_framebuffer_parameteriv

2018-05-07 Thread Tapani Pälli
Hi; On 05/05/2018 01:27 AM, Rhys Perry wrote: CC: These changes look correct to me and it looks cleaner with the common validate function. Do you know some app or test that got fixed by these changes? Signed-off-by: Rhys Perry --- src/mesa/main/fbobject.c | 72

Re: [Mesa-dev] [PATCH] mesa: fix error handling in get_framebuffer_parameteriv

2018-05-07 Thread Ian Romanick
On 05/04/2018 03:27 PM, Rhys Perry wrote: > CC: > Signed-off-by: Rhys Perry > --- > src/mesa/main/fbobject.c | 72 > +++- > 1 file changed, 41 insertions(+), 31 deletions(-) > > diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c > index