mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-14 14:43:15 +00:00
hot-fix: apply vgt index offset to draw commands
This commit is contained in:
parent
57a3c0132d
commit
d6d1ec4f22
3 changed files with 8 additions and 5 deletions
|
@ -200,7 +200,7 @@ void Rasterizer::Draw(bool is_indexed, u32 index_offset) {
|
|||
BeginRendering(*pipeline, state);
|
||||
UpdateDynamicState(*pipeline);
|
||||
|
||||
const auto [vertex_offset, instance_offset] = vs_info.GetDrawOffsets();
|
||||
const auto [vertex_offset, instance_offset] = vs_info.GetDrawOffsets(regs);
|
||||
|
||||
const auto cmdbuf = scheduler.CommandBuffer();
|
||||
cmdbuf.bindPipeline(vk::PipelineBindPoint::eGraphics, pipeline->Handle());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue