draw/llvm: use an enum instead of magic numbers
authorZack Rusin <zackr@vmware.com>
Sat, 30 Mar 2013 02:33:34 +0000 (19:33 -0700)
committerZack Rusin <zackr@vmware.com>
Wed, 3 Apr 2013 17:16:25 +0000 (10:16 -0700)
commitb16ae0f792ed1980e86c45f9e3d203412b5a80d3
tree451f975bc618dfdee561daea74294b78d83888c1
parent49b7d933f8608df9d20606f022a032785e243ab9
draw/llvm: use an enum instead of magic numbers

I think this was there before and got accidently
removed during a merge. Same code as for the GS
context, which is also using an enum instead of
hardcoded numbers.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/draw/draw_llvm.h