[Mesa-dev] [PATCH] nicer-no-wrap-patch

Eric Anholt eric at anholt.net
Mon Nov 11 11:56:08 PST 2013


Kevin Rogovin <kevin.rogovin at intel.com> writes:

> This patch adds a function interface for enabling no wrap on batch commands,
> adds to it assert enforcement that the number bytes added to the
> batch buffer does not exceed a passed value and finally this is used
> in brw_try_draw_prims() to help make sure that estimated_max_prim_size
> is a good value.

I don't like adding overhead to every batch operation.  You can just do
an assert like I did in 185b5a54c94ce11487146042c8eec24909187ed6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131111/0841258c/attachment.pgp>


More information about the mesa-dev mailing list