mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
vk: Minor fixes to vertex counting and lower exception to notice if var does not exist
This commit is contained in:
parent
79d114cc06
commit
ba968048c9
@ -64,7 +64,7 @@ namespace vk
|
||||
}
|
||||
}
|
||||
|
||||
fmt::throw_exception("texture not found" HERE);
|
||||
LOG_NOTICE(RSX, "texture not found in program: %s", uniform_name.c_str());
|
||||
}
|
||||
|
||||
void program::bind_uniform(VkDescriptorBufferInfo buffer_descriptor, uint32_t binding_point, VkDescriptorSet &descriptor_set)
|
||||
@ -100,7 +100,8 @@ namespace vk
|
||||
return;
|
||||
}
|
||||
}
|
||||
fmt::throw_exception("vertex buffer not found" HERE);
|
||||
|
||||
LOG_NOTICE(RSX, "vertex buffer not found in program: %s", binding_name.c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -375,7 +375,7 @@ namespace
|
||||
u32 min_index =
|
||||
rsx::method_registers.current_draw_clause.first_count_commands.front().first;
|
||||
u32 max_index =
|
||||
rsx::method_registers.current_draw_clause.get_elements_count() + min_index;
|
||||
rsx::method_registers.current_draw_clause.get_elements_count() + min_index - 1;
|
||||
|
||||
if (primitives_emulated) {
|
||||
std::tie(index_count, index_info) =
|
||||
|
Loading…
Reference in New Issue
Block a user