Term launched without rendering (all #ff00ff pink) and the glsl compiler was complaining about
qml: *** Fragment shader ***
0:7(53): error: no precision specified this scope for type `vec3'
0:7(38): error: no precision specified this scope for type `float'
0:9(16): error: no precision specified this scope for type `vec2'
0:9(43): error: no precision specified this scope for type `vec3'
0:9(94): error: no precision specified this scope for type `vec3'
0:9(173): error: no precision specified this scope for type `vec3'
probably because Qt defaults to OpenGL ES on my system, where precision needs to be specified on all types. Might be good to add #version directives to shaders to avoid glsl version ambiguity.
Term launched without rendering (all #ff00ff pink) and the glsl compiler was complaining about
```
qml: *** Fragment shader ***
0:7(53): error: no precision specified this scope for type `vec3'
0:7(38): error: no precision specified this scope for type `float'
0:9(16): error: no precision specified this scope for type `vec2'
0:9(43): error: no precision specified this scope for type `vec3'
0:9(94): error: no precision specified this scope for type `vec3'
0:9(173): error: no precision specified this scope for type `vec3'
```
probably because Qt defaults to OpenGL ES on my system, where precision needs to be specified on all types. Might be good to add #version directives to shaders to avoid glsl version ambiguity.
You are definitely right, thanks. I also think that #version might be useful, as well as tweaking the precisions values since they are exaggerated in different parts.
You are definitely right, thanks. I also think that #version might be useful, as well as tweaking the precisions values since they are exaggerated in different parts.
Sorry, I had to revert the merge because it breaks on non ES system. I'm pushing a patch in unstable with an #ifdef to check the platform. Please test it, let me know if it works and I'll merge it back in master.
Sorry, I had to revert the merge because it breaks on non ES system. I'm pushing a patch in unstable with an #ifdef to check the platform. Please test it, let me know if it works and I'll merge it back in master.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Term launched without rendering (all #ff00ff pink) and the glsl compiler was complaining about
probably because Qt defaults to OpenGL ES on my system, where precision needs to be specified on all types. Might be good to add #version directives to shaders to avoid glsl version ambiguity.
You are definitely right, thanks. I also think that #version might be useful, as well as tweaking the precisions values since they are exaggerated in different parts.
Sorry, I had to revert the merge because it breaks on non ES system. I'm pushing a patch in unstable with an #ifdef to check the platform. Please test it, let me know if it works and I'll merge it back in master.
Ok. The new patch is in https://github.com/Swordfish90/cool-retro-term/tree/unstable .
Thanks, I'll test it when I get the chance (around 2100 UTC).
All right, current unstable (
91a2215) works for me.Ok. I just merged it back to master. Hopefully this will work for everyone.