i965: Drop _NEW_TRANSFORM from 3DSTATE_VS atom on Gen7.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 4 Oct 2016 04:41:10 +0000 (21:41 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 5 Oct 2016 00:21:40 +0000 (17:21 -0700)
commit8a484a63f8a7bc6c7b019502769c2adb80267fe9
treec850cd825b43919c13189fab4ce1a7143c130993
parentd3cc3d28bd53f11c5aacef9023dd95a8487c98c4
i965: Drop _NEW_TRANSFORM from 3DSTATE_VS atom on Gen7.

The atom that uploads push constants listens to _NEW_TRANSFORM for
legacy clip plane handling.  On Sandybridge, the gen6_vs_state atom
emits 3DSTATE_CONSTANT_VS as well as 3DSTATE_VS, so it needs to listen
to the same set of conditions.

However, it looks like Gen7 doesn't need this.  The push constant atom
emits 3DSTATE_CONSTANT_VS directly, and the gen7_vs_state atom that
emits 3DSTATE_VS doesn't have a dependency on ctx->Transform.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/gen7_vs_state.c