gl4es
gl4es copied to clipboard
Debug view issue
There's an on-going merge request for OpenMW's collision debug view to get upgraded visually and we have hit an issue on the Android port, but we're not sure what it could be, Is there an issue where a big glDrawArrays could get turned into a glDrawElements with an insufficient index bit depth?
For reference this is the MR: https://gitlab.com/OpenMW/openmw/-/merge_requests/684
The bugged debug view looks like this:
The specific sub-thread is https://gitlab.com/OpenMW/openmw/-/merge_requests/684#note_536217611
Yes, glDrawArray->glDrawElement tend to use 16bits index.
I need to find a way to smoothly handle both, because 32bits index is optionnal, but 16bits is a bit limited now, with the more powerfull GPU from modern mobile devices.