Re: [Mesa-dev] [PATCH] svga: initialize pipe_driver_query_info entries with a macro

2015-12-09 Thread Emil Velikov
On 9 December 2015 at 00:35, Brian Paul wrote: > To be safe, set all the fields in case the enums ordering/values > ever change. Since you guys are using MVSC2013 to build svga one can even use c99 initializers. This should be more robust wrt the issues mentioned. -Emil _

Re: [Mesa-dev] [PATCH] svga: initialize pipe_driver_query_info entries with a macro

2015-12-08 Thread Charmaine Lee
Reviewed-by: Charmaine Lee From: Brian Paul Sent: Tuesday, December 8, 2015 4:35 PM To: mesa-dev@lists.freedesktop.org Cc: Charmaine Lee Subject: [PATCH] svga: initialize pipe_driver_query_info entries with a macro To be safe, set all the fields in case t

[Mesa-dev] [PATCH] svga: initialize pipe_driver_query_info entries with a macro

2015-12-08 Thread Brian Paul
To be safe, set all the fields in case the enums ordering/values ever change. --- src/gallium/drivers/svga/svga_screen.c | 43 ++ 1 file changed, 28 insertions(+), 15 deletions(-) diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_