r600: use gallium list macros instead of making our own.
authorDave Airlie <airlied@redhat.com>
Fri, 2 Jul 2010 05:27:17 +0000 (15:27 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 2 Jul 2010 05:27:17 +0000 (15:27 +1000)
commit8556b77c56f3f1f0e75ce46d6b5c0d84c7b4eabd
tree9157c30056afe4b8b341c06de16a1715218682f0
parent44732103b2b7a8765299e586fb3b9bf91e32f6d4
r600: use gallium list macros instead of making our own.

before this change, r600 glxinfo segfaulted in the list code, and I wasn't
debugging another linked list implementation, its 2010 after all.

So add the two missing list macros to the gallium header from X.org list header file (after fixing them), then port all r600 lists to the new header.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/util/u_double_list.h
src/gallium/drivers/r600/r600_compiler.c
src/gallium/drivers/r600/r600_compiler.h
src/gallium/drivers/r600/r600_compiler_dump.c
src/gallium/drivers/r600/r600_compiler_r600.c
src/gallium/drivers/r600/r600_compiler_r700.c
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_shader.h