mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 10:48:36 +12:00
Detach VBlank and RSX Decompiler threads
Should fix exception handling in RSX Thread
This commit is contained in:
parent
90265edfcd
commit
476090a747
1 changed files with 3 additions and 3 deletions
|
@ -569,7 +569,7 @@ namespace rsx
|
||||||
|
|
||||||
last_flip_time = get_system_time() - 1000000;
|
last_flip_time = get_system_time() - 1000000;
|
||||||
|
|
||||||
named_thread vblank_thread("VBlank Thread", [this]()
|
thread_ctrl::spawn("VBlank Thread", [this]()
|
||||||
{
|
{
|
||||||
const u64 start_time = get_system_time();
|
const u64 start_time = get_system_time();
|
||||||
|
|
||||||
|
@ -604,7 +604,7 @@ namespace rsx
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
named_thread decompiler_thread ("RSX Decompiler Thread", [this]
|
thread_ctrl::spawn("RSX Decompiler Thread", [this]
|
||||||
{
|
{
|
||||||
if (g_cfg.video.disable_asynchronous_shader_compiler)
|
if (g_cfg.video.disable_asynchronous_shader_compiler)
|
||||||
{
|
{
|
||||||
|
@ -1440,7 +1440,7 @@ namespace rsx
|
||||||
info.attribute_stride += rsx::get_vertex_type_size_on_host(vinfo.type(), vinfo.size());
|
info.attribute_stride += rsx::get_vertex_type_size_on_host(vinfo.type(), vinfo.size());
|
||||||
info.locations.push_back(index);
|
info.locations.push_back(index);
|
||||||
|
|
||||||
if (input_mask & (1u << index))
|
if (input_mask & (1u << index))
|
||||||
{
|
{
|
||||||
result.attribute_placement[index] = attribute_buffer_placement::transient;
|
result.attribute_placement[index] = attribute_buffer_placement::transient;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue