mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
rsx: Use multithreaded shader compiler backend
This commit is contained in:
parent
e89a568765
commit
3ddfa288cf
30 changed files with 1065 additions and 580 deletions
|
@ -23,6 +23,18 @@ namespace gl
|
|||
return s_tls_primary_context_thread;
|
||||
}
|
||||
|
||||
void flush_command_queue(fence& fence_obj)
|
||||
{
|
||||
if (is_primary_context_thread())
|
||||
{
|
||||
fence_obj.check_signaled();
|
||||
}
|
||||
else
|
||||
{
|
||||
glFlush();
|
||||
}
|
||||
}
|
||||
|
||||
GLenum draw_mode(rsx::primitive_type in)
|
||||
{
|
||||
switch (in)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue