1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[dxvk] Use signed int for vertexOffset

BaseVertexIndex is signed in Vulkan, D3D11 & D3D9.
This commit is contained in:
Robin Kertels 2023-12-29 21:51:05 +01:00 committed by Joshie
parent 30f2b2df31
commit f83ba898af
3 changed files with 3 additions and 3 deletions

View File

@ -671,7 +671,7 @@ namespace dxvk {
uint32_t indexCount,
uint32_t instanceCount,
uint32_t firstIndex,
uint32_t vertexOffset,
int32_t vertexOffset,
uint32_t firstInstance) {
m_vkd->vkCmdDrawIndexed(m_cmd.execBuffer,
indexCount, instanceCount,

View File

@ -1354,7 +1354,7 @@ namespace dxvk {
uint32_t indexCount,
uint32_t instanceCount,
uint32_t firstIndex,
uint32_t vertexOffset,
int32_t vertexOffset,
uint32_t firstInstance) {
if (this->commitGraphicsState<true, false>()) {
m_cmd->cmdDrawIndexed(

View File

@ -810,7 +810,7 @@ namespace dxvk {
uint32_t indexCount,
uint32_t instanceCount,
uint32_t firstIndex,
uint32_t vertexOffset,
int32_t vertexOffset,
uint32_t firstInstance);
/**