>> However, I still have doubts on the semantics of max_index in
>> pipe_vertex_buffer.
>> Isn't it better to _always_ set it to a valid value, even if it is
>> just (vb->buffer->size - vb->buffer_offset) / vb->stride ?
>
> Yes, indeed.  Sorry I must have missed that point in the earlier
> emails.  I would have thought that was what it was *always* set to
> (and thus perhaps redundant).

This doesn't seem to be the case, and if I understand correctly, it is
the source of the issues Corbin is facing.

Quoting Corbin:
> - I can't just use the vertex buffer sizes, because they're set to ~0
I assume he was referring max_index

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to