Summary: This matches what Qt does internally, it's easier to read and gives us syntax highlighting on the shader files, but more importantly in future we will get Qt's automatic loading of core profile shaders. Test Plan: Opened QML with IconItem, made the icon switch. Still looks the same Reviewers: #plasma, mart Reviewed By: mart Subscribers: mart, broulik, plasma-devel, #frameworks Tags: #plasma, #frameworks Differential Revision: https://phabricator.kde.org/D4848
9 lines
220 B
GLSL
9 lines
220 B
GLSL
uniform highp mat4 qt_Matrix;
|
|
attribute highp vec4 qt_Vertex;
|
|
attribute highp vec2 qt_MultiTexCoord0;
|
|
varying highp vec2 v_coord;
|
|
void main() {
|
|
v_coord = qt_MultiTexCoord0;
|
|
gl_Position = qt_Matrix * qt_Vertex;
|
|
}
|