This improves performance in the first subtest of Viewperf11/Catia by 10%.
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3829>
* performance. */
if (!info->indirect &&
!new_info.primitive_restart &&
- num_vertices > new_info.count*2 &&
- num_vertices - new_info.count > 32 &&
+ num_vertices > new_info.count * 4 &&
+ new_info.count > 32 &&
!u_vbuf_mapping_vertex_buffer_blocks(mgr)) {
unroll_indices = TRUE;
user_vb_mask &= ~(mgr->nonzero_stride_vb_mask &