Warning, /frameworks/kquickcharts/src/shaders/barchart.vert is written in an unsupported language. File is not indexed.
0001 /* 0002 * SPDX-FileCopyrightText: 2021 Arjen Hiemstra <ahiemstra@heimr.nl> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 uniform highp mat4 matrix; 0008 uniform lowp vec2 aspect; 0009 0010 #ifdef LEGACY_STAGE_INOUT 0011 #define in attribute 0012 #define out varying 0013 #endif 0014 0015 in highp vec4 in_vertex; 0016 in mediump vec2 in_uv; 0017 in mediump vec4 in_color; 0018 in mediump float in_value; 0019 0020 out mediump vec2 uv; 0021 out mediump vec4 foregroundColor; 0022 out mediump float value; 0023 0024 void main() { 0025 uv = (-1.0 + 2.0 * in_uv) * aspect; 0026 value = in_value; 0027 foregroundColor = in_color; 0028 gl_Position = matrix * in_vertex; 0029 }