gallium: don't use flexible array members in drivers for vertex elements cso
authorRoland Scheidegger <sroland@vmware.com>
Tue, 9 Mar 2010 13:23:00 +0000 (14:23 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 9 Mar 2010 13:23:00 +0000 (14:23 +0100)
commite8983f70b41ea92a9527cb618db011b5dd136626
tree1e73d7f45dc09106783b604752ec6b8b7a27778a
parentfe9f8536f1b1e7a3a2ac10afd8078e8f4d327578
gallium: don't use flexible array members in drivers for vertex elements cso

While this c99 feature should work with most compilers, valgrind doesn't
really like it, and this only really saves some memory, we don't do this
in similar occasions (like the blend state) neither.
src/gallium/drivers/cell/ppu/cell_context.h
src/gallium/drivers/cell/ppu/cell_state_vertex.c
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i915/i915_state.c
src/gallium/drivers/i965/brw_pipe_vertex.c
src/gallium/drivers/llvmpipe/lp_state.h
src/gallium/drivers/llvmpipe/lp_state_vertex.c
src/gallium/drivers/softpipe/sp_state.h
src/gallium/drivers/softpipe/sp_state_vertex.c
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_pipe_vertex.c