i965: Use a variable for the push constant size in kB.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 3 Apr 2013 04:11:51 +0000 (21:11 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 4 Apr 2013 22:38:19 +0000 (15:38 -0700)
commit967514ce680f7bf785ab544c6174786dd20425de
tree4b148a4bc5cd410fd0db8ae9aca0a912ac41e256
parent8cdb2d32ecd636a6d68840a68504c1fe1b14426b
i965: Use a variable for the push constant size in kB.

This clarifies that the offset of 2 is actually 16 kB / 8kB units.
It also keys both computations off of a single variable, which should
make it easier to change in the future.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/gen7_urb.c