i965: Use GENX(packet_length) rather than hardcoded dword counts.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 11 May 2017 06:55:47 +0000 (23:55 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 30 May 2017 04:46:42 +0000 (21:46 -0700)
commit55862ed4775b24099a5f3b1978be7a552e71c439
tree0b3e2258e550ca88196d0ef4e01aef9e3f3ea431
parentc6b623f60127a4ef913f927dcde0b44f9d46eb64
i965: Use GENX(packet_length) rather than hardcoded dword counts.

This is clearer and less likely to break in the future.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/genX_state_upload.c