i965/gen6: Fix assertions on VS/GS URB size.
authorPaul Berry <stereotype441@gmail.com>
Tue, 3 Sep 2013 21:19:18 +0000 (14:19 -0700)
committerPaul Berry <stereotype441@gmail.com>
Mon, 16 Sep 2013 19:53:52 +0000 (12:53 -0700)
commit57b8cff33cab9ce93e3ee1252e12d66e48bb67e0
tree4425c3b94d289fc1c2108a6c0f7e735263e0b33e
parent784044c206efd774ce1f7a481311480f85446887
i965/gen6: Fix assertions on VS/GS URB size.

The "{VS,GS} URB Entry Allocation Size" fields of 3DSTATE_URB allow
values in the range 0-4, but they are U8-1 fields, so the range of
possible allocation sizes is 1-5.  We were erroneously prohibiting a
size of 5.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen6_urb.c