i965: Fix CS scratch size calculations on Ivybridge and Baytrail.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 10 Jun 2016 00:30:40 +0000 (17:30 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 12 Jun 2016 07:40:14 +0000 (00:40 -0700)
commita42a93dc123163f84058f3886e5ce1b02b9856f5
tree428628c3cd20917c45dc8931e24abe59f2ac446b
parent147a90d82a5de637f968e0d5f383cabcb792f1ce
i965: Fix CS scratch size calculations on Ivybridge and Baytrail.

These are linear, not powers of two, and much more limited.

Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/gen7_cs_state.c