exec_list: Add a prepend function.
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 8 Jul 2014 19:20:58 +0000 (12:20 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 15 Jul 2014 18:16:16 +0000 (11:16 -0700)
commit28c4fd4bc6a5417d73dcbc11e022d82ebabc5b36
tree96e44b27495c66d9aeda3229ad817beed48a9162
parent9a723b970e76b27829cd6ce6123a4958472a60df
exec_list: Add a prepend function.

This complements the existing append function. It's implemented in a
rather simple way right now; it could be changed if performance is a
concern.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Connor Abbott <connor.abbott@intel.com>
src/glsl/list.h