rsx: Use multithreaded shader compiler backend

This commit is contained in:
kd-11 2020-10-27 23:41:20 +03:00 committed by kd-11
parent e89a568765
commit 3ddfa288cf
30 changed files with 1065 additions and 580 deletions

View file

@ -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)