mirror of https://github.com/mosra/magnum.git
Browse Source
Given the recent issues with vertex data with size over 4 GB, I feel this limit might get hit soon as well. So far GPUs don't support vertex counts larger than 32 bits, so storing them in a 32-bit number matches the limitation there. Also, a vertex is usually at least 6 bytes (for 3-component positions quantized into 16-bit ints), thus a mesh hitting this limit would be 24 GB in size. Which fits only on the beefiest contemporary GPUs. However I imagine the limit might get raised eventually, for example to support a use case of a huge sparse mesh where only sub-parts of it are drawn, and the sub-parts have counts that fit into 32 bits.pull/617/head
2 changed files with 35 additions and 6 deletions
Loading…
Reference in new issue