[Mesa-dev] [PATCH 3/3] gallium/u_vbuf: use signed vertex buffers offsets for optimal uploads

Roland Scheidegger sroland at vmware.com
Fri Oct 27 03:31:55 UTC 2017


Am 27.10.2017 um 04:50 schrieb Marek Olšák:
> On Fri, Oct 27, 2017 at 1:44 AM, Roland Scheidegger <sroland at vmware.com> wrote:
>> Am 26.10.2017 um 17:31 schrieb Marek Olšák:
>>> From: Marek Olšák <marek.olsak at amd.com>
>>>
>>> Uploaded data must start at (stride * start), because we can't modify
>>> start in all cases.
>> I'm probably missing something here, but why not actually?
> 
> 1) Mixed VBO and non-VBO vertex attributes.
> 2) Ease of implementation. (there are many codepaths in u_vbuf)
> 

Ahh I didn't think about the mixed case, that looks unfixable. (Why is
such a mess even allowed...)

Roland



More information about the mesa-dev mailing list