exec_list: Add a foreach_list_typed_from macro
authorRobert Bragg <robert@sixbynine.org>
Thu, 23 Feb 2017 14:45:10 +0000 (14:45 +0000)
committerRobert Bragg <robert@sixbynine.org>
Thu, 9 Mar 2017 13:45:50 +0000 (13:45 +0000)
commita98ffe24772e041687ae1e5706951a7d630ee35b
treeca128c2ae284d4e1184944e23bb4f4f2b2d4664a
parente56550565e868e4b5de2112e4bc2fa8650a51309
exec_list: Add a foreach_list_typed_from macro

This allows iterating list nodes from a given start point instead of
necessarily the list head.

Signed-off-by: Robert Bragg <robert@sixbynine.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/list.h