On Sun, 27 May 2012 21:08:07 -0700, Jordan Justen <[email protected]> wrote: > Set the step_rate value when drawing to implement > ARB_instanced_arrays for gen >= 4.
> @@ -504,7 +513,7 @@ static void brw_prepare_vertices(struct brw_context *brw)
>
> nr_uploads = 0;
> }
> - else if (total_size < 2048) {
> + else if (can_merge_uploads) {
> /* Upload non-interleaved arrays into a single interleaved array */
> struct brw_vertex_buffer *buffer;
> int count = MAX2(max_index - min_index + 1, 1);
The total_size < 2048 check probably should stay down here rather than
get moved inside the loop up above. Other than that,
Reviewed-by: Eric Anholt <[email protected]>
pgp280l6hgjmt.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
