Re: [Mesa-dev] [PATCH 1/2] dri: Use designated initializers for DRI extension structs

2012-11-19 Thread Chad Versace
On 11/19/2012 02:28 PM, Kenneth Graunke wrote: > On 11/19/2012 01:53 PM, Chad Versace wrote: >> The dri directory is compiled with -std=c99. There is no excuse to not use >> designated initializers. >> >> As a nice benefit, the code is now more friendly to grep. Without >> designated initializers,

Re: [Mesa-dev] [PATCH 1/2] dri: Use designated initializers for DRI extension structs

2012-11-19 Thread Kenneth Graunke
On 11/19/2012 01:53 PM, Chad Versace wrote: The dri directory is compiled with -std=c99. There is no excuse to not use designated initializers. As a nice benefit, the code is now more friendly to grep. Without designated initializers, psychic prowess is required to find the initialization of DRI

Re: [Mesa-dev] [PATCH 1/2] dri: Use designated initializers for DRI extension structs

2012-11-19 Thread Matt Turner
On Mon, Nov 19, 2012 at 1:53 PM, Chad Versace wrote: > The dri directory is compiled with -std=c99. There is no excuse to not use > designated initializers. > > As a nice benefit, the code is now more friendly to grep. Without > designated initializers, psychic prowess is required to find the > in

[Mesa-dev] [PATCH 1/2] dri: Use designated initializers for DRI extension structs

2012-11-19 Thread Chad Versace
The dri directory is compiled with -std=c99. There is no excuse to not use designated initializers. As a nice benefit, the code is now more friendly to grep. Without designated initializers, psychic prowess is required to find the initialization of DRI extension function pointers with grep. I hav