i965: Reorganize prog_data->total_scratch code a bit.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 14 Jun 2016 06:09:31 +0000 (23:09 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 21 Jun 2016 17:24:45 +0000 (10:24 -0700)
commit40013c50333caf7a4a66204ac29695aad0d9b06d
treeae2409988812a31aafd316e24a0ef8778c76c7ec
parentb16d21270f9ea0173ebe059a3e82a4b451a80596
i965: Reorganize prog_data->total_scratch code a bit.

Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp