mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 01:08:39 +12:00
rsx: Avoid calling get_system_time() every draw call
This commit is contained in:
parent
3e09b97f58
commit
6781eb7c76
3 changed files with 3 additions and 3 deletions
|
@ -235,7 +235,7 @@ namespace gl
|
||||||
|
|
||||||
m_fence.reset();
|
m_fence.reset();
|
||||||
synchronized = true;
|
synchronized = true;
|
||||||
sync_timestamp = get_system_time();
|
sync_timestamp = rsx::get_shared_tag();
|
||||||
}
|
}
|
||||||
|
|
||||||
void copy_texture(gl::command_context& cmd, bool miss)
|
void copy_texture(gl::command_context& cmd, bool miss)
|
||||||
|
|
|
@ -513,7 +513,7 @@ namespace rsx
|
||||||
method_registers.current_draw_clause.post_execute_cleanup();
|
method_registers.current_draw_clause.post_execute_cleanup();
|
||||||
|
|
||||||
m_graphics_state |= rsx::pipeline_state::framebuffer_reads_dirty;
|
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)
|
for (auto & push_buf : vertex_push_buffers)
|
||||||
{
|
{
|
||||||
|
|
|
@ -160,7 +160,7 @@ namespace vk
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized = true;
|
synchronized = true;
|
||||||
sync_timestamp = get_system_time();
|
sync_timestamp = rsx::get_shared_tag();
|
||||||
}
|
}
|
||||||
|
|
||||||
void texture_cache::on_section_destroyed(cached_texture_section& tex)
|
void texture_cache::on_section_destroyed(cached_texture_section& tex)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue