Like all the inbuilt shaders this now has a separate GLS source file which
works with a newer version without requiring compatibility.
Details
- Reviewers
mart - Group Reviewers
Plasma - Commits
- R242:23b70f4d4524: Implement FadingMaterial frag/vert shaders on core profile
Ran plasmashell with ForceGlCoreProfile set in the config
Hovered an icon in the task manager and it animated to the correct one
correctly.
Ran glslangValidator on both files. No warnings.
Diff Detail
- Repository
- R242 Plasma Framework (Library)
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
tried it now on ati proprietary, the icon does have the highlight effect at the end of the animation but disappear during the animation.
on terminal i have the following error:
shader compilation failed:
"Vertex shader(s) failed to link, fragment shader(s) failed to link.\nVertex link error: INVALID_OPERATION.\nERROR: error(#97) No program main found\nfragment link error: INVALID_OPERATION.\nERROR: error(#97) No program main found\n"
QOpenGLShader:🔗 Vertex shader(s) failed to link, fragment shader(s) failed to link.
Vertex link error: INVALID_OPERATION.
ERROR: error(#97) No program main found
fragment link error: INVALID_OPERATION.
ERROR: error(#97) No program main found
also,
Failed to find shader ":/plasma-framework/shaders/fadingmaterial_core.vert"
Failed to find shader ":/plasma-framework/shaders/fadingmaterial_core.frag"
QOpenGLShader:🔗 Vertex shader(s) failed to link, fragment shader(s) failed to link.
Vertex link error: INVALID_OPERATION.
ERROR: error(#97) No program main found
fragment link error: INVALID_OPERATION.
ERROR: error(#97) No program main found
(the resource files are correctly generated)