diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-28 02:24:33 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-28 02:24:33 -0300 |
| commit | 6e79375f463968bec6315bba6296ebe0b69368a0 (patch) | |
| tree | 2b98fbed32ffd6a565e64489ab007fd4b1b8f94d /src/core/file_sys/registered_cache.cpp | |
| parent | fe8ea9e0c967b80f04e3b1702e078a7b4878921d (diff) | |
vk_rasterizer: Skip index buffer setup when vertices are zero
Xenoblade 2 invokes a draw call with zero vertices.
This is likely due to indirect drawing (glDrawArraysIndirect).
This causes a crash in the staging buffer pool when trying to create a
buffer with a size of zero. To workaround this, skip index buffer setup
entirely when the number of indices is zero.
Diffstat (limited to 'src/core/file_sys/registered_cache.cpp')
0 files changed, 0 insertions, 0 deletions
