i965: Convert 3DPRIMITIVE command from struct-style to OUT_BATCH style.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 14 Apr 2011 21:37:46 +0000 (14:37 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 18 Apr 2011 22:26:34 +0000 (15:26 -0700)
commitff5dd55e264d8f0282aa3ae3dc4f6ab26d98731d
tree68f0724aa64adafd896e954ba6eeef7a3f676ec3
parent42a805700039e81a9245f46f153e2cd9705cd0d7
i965: Convert 3DPRIMITIVE command from struct-style to OUT_BATCH style.

Most of the newer portions of the code use OUT_BATCH style.  I prefer
this style because it offers a clear distinction between a) hardware
messages/structures with a mandatory format, and b) data structures for
our own internal use that we can format however we want.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_structs.h