-
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
217: add parallel shader compile extensions r=grovesNL a=xyning used to compile shaders asynchronously to prevent stalls. * webgl: https://www.khronos.org/registry/webgl/extensions/KHR_parallel_shader_compile/ * gl: https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_parallel_shader_compile.txt * gl & gles: https://www.khronos.org/registry/OpenGL/extensions/KHR/KHR_parallel_shader_compile.txt its still not widely supported however. most real gles devices dont support it, neither does webgl on firefox 218: Add a `bind_external_framebuffer` function to the web sys context r=grovesNL a=expenses This is necessary in order to bind the external framebuffer that you get from WebXR: https://developer.mozilla.org/en-US/docs/Web/API/XRWebGLLayer/framebuffer I'm using this for my branch of wgpu that can render to WebXR framebuffers: gfx-rs/wgpu@master...expenses:webxr 221: Fix some dead code warnings r=grovesNL a=expenses A recent cargo update is now a lot noiser about dead code, making this crate pretty noisy to compile. I've gone and slapped some ` #[allow(dead_code)]` on a few structs and appending unused variables with `_`. Co-authored-by: Lictex Steaven <lictex_steaven@outlook.com> Co-authored-by: Ashley Ruglys <ashley.ruglys@gmail.com>
- Loading branch information
Showing
5 changed files
with
221 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.