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);
|
ASSERT(adjust % fmt_stride == 0);
|
||||||
push_data.AddOffset(binding, adjust / fmt_stride);
|
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());
|
vsharp.GetDataFmt(), vsharp.GetNumberFmt());
|
||||||
}
|
}
|
||||||
set_writes.push_back({
|
set_writes.push_back({
|
||||||
|
|
Loading…
Reference in New Issue