Re: [Mesa-dev] [PATCH 0/9] glsl: Add C API to exec_node/exec_list.

2014-06-11 Thread Kristian Høgsberg
On Tue, Jun 10, 2014 at 11:00:43AM -0700, Matt Turner wrote: Our most frequently used list implementation was only usable from C by manipulating the members of the structs. This series adds a C API, wraps the C API with the C++ member functions (so no change for C++ code), makes the

[Mesa-dev] [PATCH 0/9] glsl: Add C API to exec_node/exec_list.

2014-06-10 Thread Matt Turner
Our most frequently used list implementation was only usable from C by manipulating the members of the structs. This series adds a C API, wraps the C API with the C++ member functions (so no change for C++ code), makes the foreach_list macros usable from C, and replaces an open-coded list in the

Re: [Mesa-dev] [PATCH 0/9] glsl: Add C API to exec_node/exec_list.

2014-06-10 Thread Ian Romanick
On 06/10/2014 11:00 AM, Matt Turner wrote: Our most frequently used list implementation was only usable from C by manipulating the members of the structs. This series adds a C API, wraps the C API with the C++ member functions (so no change for C++ code), makes the foreach_list macros usable

Re: [Mesa-dev] [PATCH 0/9] glsl: Add C API to exec_node/exec_list.

2014-06-10 Thread Matt Turner
On Tue, Jun 10, 2014 at 11:38 AM, Ian Romanick i...@freedesktop.org wrote: On 06/10/2014 11:00 AM, Matt Turner wrote: Our most frequently used list implementation was only usable from C by manipulating the members of the structs. This series adds a C API, wraps the C API with the C++ member

Re: [Mesa-dev] [PATCH 0/9] glsl: Add C API to exec_node/exec_list.

2014-06-10 Thread Ian Romanick
On 06/10/2014 12:10 PM, Matt Turner wrote: On Tue, Jun 10, 2014 at 11:38 AM, Ian Romanick i...@freedesktop.org wrote: On 06/10/2014 11:00 AM, Matt Turner wrote: Our most frequently used list implementation was only usable from C by manipulating the members of the structs. This series adds a C