Vulkan: Remove support for other index types than 16-bit.
We don't have any use for them anyway.
This commit is contained in:
parent
69b5b36416
commit
f54f905be5
5 changed files with 7 additions and 9 deletions
|
@ -1497,7 +1497,7 @@ void VKContext::DrawIndexed(int vertexCount, int offset) {
|
|||
|
||||
BindCurrentPipeline();
|
||||
ApplyDynamicState();
|
||||
renderManager_.DrawIndexed(descSet, 1, &ubo_offset, vulkanVbuf, (int)vbBindOffset + curVBufferOffsets_[0], vulkanIbuf, (int)ibBindOffset + offset * sizeof(uint32_t), vertexCount, 1, VK_INDEX_TYPE_UINT16);
|
||||
renderManager_.DrawIndexed(descSet, 1, &ubo_offset, vulkanVbuf, (int)vbBindOffset + curVBufferOffsets_[0], vulkanIbuf, (int)ibBindOffset + offset * sizeof(uint32_t), vertexCount, 1);
|
||||
}
|
||||
|
||||
void VKContext::DrawUP(const void *vdata, int vertexCount) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue