summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_gs.c
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2011-12-02 14:38:52 -0800
committerPaul Berry <stereotype441@gmail.com>2011-12-07 16:38:01 -0800
commit2252e5e3f1e8caece5c73df82f3ddf306baa2c91 (patch)
tree82a91219f2dcf32de7649312d4c099813dc3dca7 /src/mesa/drivers/dri/i965/brw_gs.c
parent3f2283172bcaf3db00a99baad0319bc7e0be5fc2 (diff)
i965: Clean up misleading defines for DWORD 2 of URB_WRITE header.
R02_PRIM_END and R02_PRIM_START don't actually refer to bits in DWORD 2 of R0 (as the name, and comments in the code, would seem to indicate). Actually they refer to bits in DWORD 2 of the header for URB_WRITE messages. This patch renames the defines to reflect what they actually mean. It also addes a define URB_WRITE_PRIM_TYPE_SHIFT, which previously was just hardcoded in .c files. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_gs.c')
0 files changed, 0 insertions, 0 deletions