diff options
author | Even Oscar Andersen <even.oscar.andersen@qt.io> | 2024-04-17 09:24:05 +0200 |
---|---|---|
committer | Even Oscar Andersen <even.oscar.andersen@qt.io> | 2024-04-18 11:39:16 +0200 |
commit | 547de2d4e5d5619e5d37b91ad534f9260492e339 (patch) | |
tree | fbbf0c693091de7c0ad2d779b7628eb9d4ec268a /tools | |
parent | 9f32ed3d56da64a596129771f9da131a4dd21260 (diff) |
wasm: CustomMaterial: Change shader program so that it is accepted by WebGL
There are issues with for loops in GLSL, see for instance:
https://learnwebgl.brown37.net/12_shader_language/glsl_control_structures.html
The solution is to rewrite the shader so that it also works on WebGL.
Fixes: QTBUG-123593
Change-Id: Ia9fd4d9ef3f1b99a29d4bbabae20ad779fe4fbba
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions