Kevin Rogovin <kevin.rogo...@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
pgpgsiOZon9hC.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev