mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-09-29 15:31:14 +00:00
rsx: Avoid calling get_system_time() every draw call
This commit is contained in:
parent
3e09b97f58
commit
6781eb7c76
@ -235,7 +235,7 @@ namespace gl
|
||||
|
||||
m_fence.reset();
|
||||
synchronized = true;
|
||||
sync_timestamp = get_system_time();
|
||||
sync_timestamp = rsx::get_shared_tag();
|
||||
}
|
||||
|
||||
void copy_texture(gl::command_context& cmd, bool miss)
|
||||
|
@ -513,7 +513,7 @@ namespace rsx
|
||||
method_registers.current_draw_clause.post_execute_cleanup();
|
||||
|
||||
m_graphics_state |= rsx::pipeline_state::framebuffer_reads_dirty;
|
||||
ROP_sync_timestamp = get_system_time();
|
||||
ROP_sync_timestamp = rsx::get_shared_tag();
|
||||
|
||||
for (auto & push_buf : vertex_push_buffers)
|
||||
{
|
||||
|
@ -160,7 +160,7 @@ namespace vk
|
||||
}
|
||||
|
||||
synchronized = true;
|
||||
sync_timestamp = get_system_time();
|
||||
sync_timestamp = rsx::get_shared_tag();
|
||||
}
|
||||
|
||||
void texture_cache::on_section_destroyed(cached_texture_section& tex)
|
||||
|
Loading…
Reference in New Issue
Block a user