qsb: Handle the wgsl shader type
For printing and for replacing and extracting. This alone
already enables injecting manually created WGSL files into
the QShader, even if there is no way to generate those from GLSL.
Also tidy some incorrectly used fallthroughs.
Change-Id: I2465a7a55a091c7633cfc998ad6aefc6de7828cc
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
| commit | 2bd664f8bfb15a041f5b8ba9829e578dbae3c077 |
| parent | 007b2acd3facd7299a2c953ba6f390215d391a92 |
| author | Laszlo Agocs <laszlo.agocs@qt.io> |
| committer | Laszlo Agocs <laszlo.agocs@qt.io> |
| commit time | Mon, 10 Oct 2022 11:48:18 +0200 |