mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00: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
|
|
@ -273,11 +273,6 @@ void GLVertexProgram::Decompile(const RSXVertexProgram& prog)
|
|||
decompiler.Task();
|
||||
|
||||
shader.create(::glsl::program_domain::glsl_vertex_program, source);
|
||||
}
|
||||
|
||||
void GLVertexProgram::Compile()
|
||||
{
|
||||
shader.compile();
|
||||
id = shader.id();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue