i965: Compute the maximum SF source attribute.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Feb 2013 20:40:54 +0000 (12:40 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 3 Feb 2013 21:40:43 +0000 (13:40 -0800)
commit5e9bc7bd1290b0c34be90e9a0b8298ebe4b4b131
treee131860559a962e26290ca45ea6dfd0c639c7b58
parentb3efc5bea85a84493a4b81eea0d3c3acfe42813f
i965: Compute the maximum SF source attribute.

The maximum SF source attribute is necessary to compute the Vertex URB
read length properly, which will be done in the next commit.

NOTE: This is a candidate for all stable branches.
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Tested-by: Martin Steigerwald <martin@lichtvoll.de>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/gen6_sf_state.c
src/mesa/drivers/dri/i965/gen7_sf_state.c