diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2011-04-14 14:37:46 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2011-04-18 15:26:34 -0700 |
commit | ff5dd55e264d8f0282aa3ae3dc4f6ab26d98731d (patch) | |
tree | 68f0724aa64adafd896e954ba6eeef7a3f676ec3 /src/mesa/drivers/dri/i965/brw_structs.h | |
parent | 42a805700039e81a9245f46f153e2cd9705cd0d7 (diff) | |
download | external_mesa3d-ff5dd55e264d8f0282aa3ae3dc4f6ab26d98731d.zip external_mesa3d-ff5dd55e264d8f0282aa3ae3dc4f6ab26d98731d.tar.gz external_mesa3d-ff5dd55e264d8f0282aa3ae3dc4f6ab26d98731d.tar.bz2 |
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>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_structs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_structs.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_structs.h b/src/mesa/drivers/dri/i965/brw_structs.h index 6687a89..89b1ee4 100644 --- a/src/mesa/drivers/dri/i965/brw_structs.h +++ b/src/mesa/drivers/dri/i965/brw_structs.h @@ -80,25 +80,6 @@ struct brw_3d_control GLuint dword3; }; - -struct brw_3d_primitive -{ - struct - { - GLuint length:8; - GLuint pad:2; - GLuint topology:5; - GLuint indexed:1; - GLuint opcode:16; - } header; - - GLuint verts_per_instance; - GLuint start_vert_location; - GLuint instance_count; - GLuint start_instance_location; - GLuint base_vert_location; -}; - /* These seem to be passed around as function args, so it works out * better to keep them as #defines: */ |