i965: compute scratch space size correctly for Gen9+
authorKevin Rogovin <kevin.rogovin@intel.com>
Tue, 12 Dec 2017 12:17:27 +0000 (14:17 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 12 Dec 2017 18:02:43 +0000 (10:02 -0800)
commitb1ce812c514750f8d94a6813df351a9e5430825d
tree736535fd46ac9c5cc30e6a2ffb8d967b4ed77438
parenteea9027f87e42c4ebe9fcf851e189a51557c570f
i965: compute scratch space size correctly for Gen9+

Fixes: 8ecdbb61360 "i965: Pretend there are 4 subslices for compute shader threads on Gen9+."
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104005
Signed-off-by: Kevin Rogovin <kevin.rogovin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Eero Tamminen <eero.t.tamminen@intel.com>
src/mesa/drivers/dri/i965/brw_program.c