internal/graphicsdriver/opengl: use COMPLETION_STATUS_KH
to check program compilation in parallel
#3078
Labels
Milestone
Operating System
What feature would you like to be added?
GetProgrami(uint32(p), gl.LINK_STATUS)
is one of the heaviest process just before using a shader, and is a blocking when launching an application.With
COMPLETION_STATUS_KH
, we might be able to mitigate this blocking.https://registry.khronos.org/webgl/extensions/KHR_parallel_shader_compile/
https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/WebGL_best_practices
Why is this needed?
No response
The text was updated successfully, but these errors were encountered: