yuq / mesa-lima

Deprecated, new place: https://gitlab.freedesktop.org/lima
https://github.com/yuq/mesa-lima/wiki
165 stars 18 forks source link

Indexed drawing support #40

Closed enunes closed 6 years ago

enunes commented 6 years ago

These two commits add support for indexed draw (glDrawElements) to lima. We rely on min_index and max_index from pipe_draw_info, so after a discussion in the upstream mesa list, a gallium cap was added to make sure that these are always valid. Hopefully that can be upstreamed later with lima. More details are on the commit logs.