i965: Use derived state for Haswell's 3DSTATE_VF packet.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Feb 2013 00:55:19 +0000 (16:55 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 13 Feb 2013 04:24:28 +0000 (20:24 -0800)
commit8cabe26f5dc4c66ae59649cfd7b25f761cda250b
treec0a2bb95539f82f56d528d50e3643234e32c9aa3
parentea63491629f48099371f725e7c3779f2982d7a52
i965: Use derived state for Haswell's 3DSTATE_VF packet.

Otherwise, we fail to correctly handle GL_PRIMITIVE_RESTART_FIXED_INDEX.

Fixes gles3conform's primitive_restart_mode test.

NOTE: This is a candidate for the 9.1 branch.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_primitive_restart.c