[Mesa-dev] [PATCH 08/11] i965: Move _NEW_PROGRAM dirty bit from gen7_sf_state to gen7_sbe_state.
Eric Anholt
eric at anholt.net
Mon Jan 9 08:28:12 PST 2012
On Sun, 8 Jan 2012 14:43:57 -0800, Kenneth Graunke <kenneth at whitecape.org> wrote:
> According to a comment in gen6_sf_state.c, calls to get_attr_override
> need both _NEW_PROGRAM and _NEW_LIGHT. Since Gen7 reuses the same
> function, the same dirty bits should apply.
>
> When I performed the SF/SBE split, I partitioned the bits incorrectly:
> 3DSTATE_SBE (which contains the attribute setup) was missing _NEW_PROGRAM,
> while 3DSTATE_SF was listing it as a dependency for no reason.
I think the ctx->VertexProgram.PointSizeEnabled in SF is an un-annotated
dependency on _NEW_PROGRAM.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120109/43b82d31/attachment.pgp>
More information about the mesa-dev
mailing list