i965/skl: Refactor surface state allocation.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 24 Apr 2014 20:40:53 +0000 (13:40 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 3 Nov 2014 23:32:49 +0000 (15:32 -0800)
commitd18949ad823953b446bf1cef457d4c420dc2e818
tree1b8884c576b536ff0bc10f561c436725190391f7
parent263b584d5e4bc492dcd97e0f4d6aa0d8f7af634d
i965/skl: Refactor surface state allocation.

We will need to allocate more DWords on Skylake.

v2: Don't mark brw_context parameter const.  It's modified.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/gen8_surface_state.c