[Mesa-dev] [PATCH] mesa: replace _mesa_index_buffer::type with index_size

Ilia Mirkin imirkin at alum.mit.edu
Fri Apr 14 16:48:39 UTC 2017


On Fri, Apr 14, 2017 at 12:45 PM, Marek Olšák <maraeo at gmail.com> wrote:
> On Fri, Apr 14, 2017 at 5:12 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>> On Fri, Apr 14, 2017 at 11:06 AM, Marek Olšák <maraeo at gmail.com> wrote:
>>> diff --git a/src/mesa/vbo/vbo.h b/src/mesa/vbo/vbo.h
>>> index d62ab4e..79f7538 100644
>>> --- a/src/mesa/vbo/vbo.h
>>> +++ b/src/mesa/vbo/vbo.h
>>
>> Should also be possible to remove vbo_sizeof_ib_type from here right?
>
> vbo_sizeof_ib_type is used to get index_size at the beginning of
> indexed draw calls. However, it's not used in other places anymore.

Erm right. Duh. My r-b still stands.


More information about the mesa-dev mailing list