PDA

View Full Version : ARB_parallel_shader_compile



Christophe
12-01-2016, 02:35 AM
Hi

I am trying to improve the compilation/link times of my 10,000 shader programs.
I have tried this extension with driver 376.09 on windows 7 with GeForce GTX780 but i could not make it work

Basically i am sending a bunch of glCompile, glAttachShader and glLink commands and then polling completion status using glGetProgramiv(programID, GL_COMPLETION_STATUS_ARB, &status) but the status remains to GL_FALSE forever. is this the right way of doing ?

Also calling glMaxShaderCompileThreads does not change the number of threads of my application process so i am not sure how this is really taken into account in the driver.


Has somebody successfully tried this extension ?

Regards
Christophe