Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal/graphicsdriver/opengl: use COMPLETION_STATUS_KH to check program compilation in parallel #3078

Open
11 tasks
hajimehoshi opened this issue Sep 2, 2024 · 0 comments

Comments

@hajimehoshi
Copy link
Owner

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Nintendo Switch
  • PlayStation 5
  • Xbox
  • Web Browsers

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.

image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant