mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-29 11:06:07 +00:00
vk_graphics_pipeline: Fix texel buffer offset
This commit is contained in:
parent
8d41695e74
commit
6bf42aa985
|
@ -422,7 +422,7 @@ void GraphicsPipeline::BindResources(const Liverpool::Regs& regs,
|
|||
ASSERT(adjust % fmt_stride == 0);
|
||||
push_data.AddOffset(binding, adjust / fmt_stride);
|
||||
}
|
||||
buffer_view = vk_buffer->View(offset, size + adjust, tex_buffer.is_written,
|
||||
buffer_view = vk_buffer->View(offset_aligned, size + adjust, tex_buffer.is_written,
|
||||
vsharp.GetDataFmt(), vsharp.GetNumberFmt());
|
||||
}
|
||||
set_writes.push_back({
|
||||
|
|
Loading…
Reference in a new issue