mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-20 16:50:05 +02:00
[vk] Fix EDS on AMD GPUs (#3026)
This fixes a regression on AMD GPUs. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3026 Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: MaranBr <maranbr@outlook.com> Co-committed-by: MaranBr <maranbr@outlook.com>
This commit is contained in:
parent
7e730a121b
commit
b9f54f4979
1 changed files with 1 additions and 1 deletions
|
|
@ -1614,7 +1614,7 @@ void RasterizerVulkan::UpdateVertexInput(Tegra::Engines::Maxwell3D::Regs& regs)
|
||||||
highest_dirty_attr = index;
|
highest_dirty_attr = index;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (size_t index = 0; index <= highest_dirty_attr; ++index) {
|
for (size_t index = 0; index < highest_dirty_attr; ++index) {
|
||||||
const Maxwell::VertexAttribute attribute{regs.vertex_attrib_format[index]};
|
const Maxwell::VertexAttribute attribute{regs.vertex_attrib_format[index]};
|
||||||
const u32 binding{attribute.buffer};
|
const u32 binding{attribute.buffer};
|
||||||
dirty[Dirty::VertexAttribute0 + index] = false;
|
dirty[Dirty::VertexAttribute0 + index] = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue