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:
parent
30f2b2df31
commit
f83ba898af
@ -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,
|
||||
|
@ -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(
|
||||
|
@ -810,7 +810,7 @@ namespace dxvk {
|
||||
uint32_t indexCount,
|
||||
uint32_t instanceCount,
|
||||
uint32_t firstIndex,
|
||||
uint32_t vertexOffset,
|
||||
int32_t vertexOffset,
|
||||
uint32_t firstInstance);
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user