WebGPU: Small fix for conflicting variable type in GreasedLine shader

Hey there, I just noticed while trying to use the lazy loading GreasedLine playground ( https://playground.babylonjs.com/?webgpu#H1LRZ3#39 ) in WebGPU mode, there is a small bug (wrong type in WGSL).

I’ve created the tiny PR (to fix the pr variable :grin: ) WebGPU: Fix conflicting variable type in GreasedLine shader by Propolisa · Pull Request #16027 · BabylonJS/Babylon.js · GitHub to fix it, the PG now works in the branch sandbox.

Thanks for all the recent work porting this to WebGPU @roland btw! :heart_eyes:

5 Likes

Thank you!

1 Like