vk: Minor fixes to vertex counting and lower exception to notice if var does not exist
This commit is contained in:
@@ -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)
|
void program::bind_uniform(VkDescriptorBufferInfo buffer_descriptor, uint32_t binding_point, VkDescriptorSet &descriptor_set)
|
||||||
@@ -100,7 +100,8 @@ namespace vk
|
|||||||
return;
|
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 =
|
u32 min_index =
|
||||||
rsx::method_registers.current_draw_clause.first_count_commands.front().first;
|
rsx::method_registers.current_draw_clause.first_count_commands.front().first;
|
||||||
u32 max_index =
|
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) {
|
if (primitives_emulated) {
|
||||||
std::tie(index_count, index_info) =
|
std::tie(index_count, index_info) =
|
||||||
|
|||||||
Reference in New Issue
Block a user