Originally posted by Marc Driftmeyer
View Post
Announcement
Collapse
No announcement yet.
Khronos + W3C Collaborating On SPIR-V Potentially Being The Shading Language For The Web
Collapse
X
-
Last edited by shmerl; 29 November 2019, 01:26 AM.
- Likes 3
-
Originally posted by programmerjake View Postit's actually waaay more complex than that, assuming you want the shaders to run at any decent speed, but it is much simpler than glsl.
Comment
-
Originally posted by microcode View Post
You're braver than I if you compile and optimize random shaders from the internet with a single pass rather than an IR.
A conforming Vulkan implementation is allowed to scribble over all your files and memory if you give it an invalid SPIR-V shader.
That is part of why a WebGPU (or similar) implementation needs to fully verify the SPIR-V before passing it to the Vulkan driver. (the other major reason to verify SPIR-V is to ensure more uniform behavior cross-platform).
Comment
Comment