google / tour-of-wgsl

https://google.github.io/tour-of-wgsl/
BSD 3-Clause "New" or "Revised" License
107 stars 19 forks source link

Backwards support for `GPUShaderModule.compilationInfo()` #74

Closed ben-clayton closed 1 year ago

ben-clayton commented 1 year ago

This API was recently renamed. Fall back to the old API if the new one is not found.

Fixes: #72

github-actions[bot] commented 1 year ago

Preview of pull-request can be viewed here

ben-clayton commented 1 year ago

~Humm, doesn't work:~

Fixed.

dj2 commented 1 year ago

Awesome, thank you.