mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
gl: Thread shader source compilation dispatch
- glCompileShader is in itself much slower than anticipated
This commit is contained in:
parent
3ddfa288cf
commit
7553429130
10 changed files with 89 additions and 100 deletions
|
@ -375,11 +375,6 @@ void GLFragmentProgram::Decompile(const RSXFragmentProgram& prog)
|
|||
}
|
||||
|
||||
shader.create(::glsl::program_domain::glsl_fragment_program, source);
|
||||
}
|
||||
|
||||
void GLFragmentProgram::Compile()
|
||||
{
|
||||
shader.compile();
|
||||
id = shader.id();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue