google / bigwheels

BigWheels is a cross-platform, API agnostic framework to build graphics applications.
Apache License 2.0
94 stars 35 forks source link

Declare support for UINT8 index buffer #486

Closed footballhead closed 4 months ago

footballhead commented 5 months ago

For Vulkan, we must ask for the VK_EXT_index_type_uint8 device extension and enable the indexTypeUint8 feature.

For DX12, the docs claim that there is no support: https://learn.microsoft.com/en-us/windows/win32/direct3ddxgi/hardware-support-for-direct3d-12-0-formats

This is required to load uint8 index buffers from glTF files more efficiently. See #453