mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 16:02:26 +00:00
remove warning
This commit is contained in:
parent
5c5f956a90
commit
946a94c4bf
@ -138,12 +138,8 @@ bool BufferCache::BindVertexBuffers(const Shader::Info& vs_info) {
|
||||
}
|
||||
|
||||
const auto& buffer = vs_info.ReadUd<AmdGpu::Buffer>(input.sgpr_base, input.dword_offset);
|
||||
bool live_input = vs_info.loads.GetAny(Shader::IR::Attribute::Param0 + input.binding);
|
||||
if (buffer.GetSize() == 0 || !live_input) {
|
||||
if (buffer.GetSize() == 0 && live_input) {
|
||||
LOG_WARNING(Render_Vulkan,
|
||||
"Vertex input looks live but has no corresponding vertex buffer");
|
||||
}
|
||||
if (buffer.GetSize() == 0 ||
|
||||
!vs_info.loads.GetAny(Shader::IR::Attribute::Param0 + input.binding)) {
|
||||
continue;
|
||||
}
|
||||
guest_buffers.emplace_back(buffer);
|
||||
|
Loading…
Reference in New Issue
Block a user