[Mesa-dev] [PATCH 07/10] i965: Disable clipper statistics when meta operations are in progress.

Eric Anholt eric at anholt.net
Fri May 17 12:52:13 PDT 2013


Kenneth Graunke <kenneth at whitecape.org> writes:

> We don't currently use the clipper statistics, but we'll soon use
> CL_INVOCATIONS_COUNT to implement the GL_PRIMITIVES_GENERATED query.
> The number of primitives generated is not supposed to be altered during
> operations such as glGenerateMipmap.
>
> Prevents spec/EXT_transform_feedback/generatemipmap prims_generated
> from breaking when we start using pipeline statistics registers to
> implement the GL_PRIMITIVES_GENERATED query in a few commits.

Missing state flagging -- I guess we should check for new
_mesa_meta_in_progress() at the start of brw_state_upload, and flag a
BRW_NEW_META_IN_PROGRESS for it.
-------------- 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/20130517/f1c351e7/attachment.pgp>


More information about the mesa-dev mailing list