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

Marek Olšák maraeo at gmail.com
Fri Apr 14 16:45:18 UTC 2017


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.

Marek


More information about the mesa-dev mailing list