i965: Update URB partitioning code for Haswell's GT3 variant.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 24 Sep 2011 07:12:58 +0000 (00:12 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 9 May 2013 22:11:52 +0000 (15:11 -0700)
commiteca2251f42f0234584d94268c29bddede3ff6451
tree4546f19f1252530c1ae4835328d1bd113be4fc23
parentc56eba5adbc38865b28810841ad395f92aea4e61
i965: Update URB partitioning code for Haswell's GT3 variant.

Haswell's GT3 variant offers 32kB of URB space for push constants, while
GT1 and GT2 match Ivybridge, providing 16kB.  Update the code to reserve
the full 32kB on GT3.

v2: Specify push constant size correctly.  I thought GT3 reinterpreted
    the value as multiples of 2kB, but it doesn't.  You simply have to
    program an even number.

NOTE: This is a candidate for stable branches.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen7_urb.c