1/*
2 * This file is part of KQuickCharts
3 * SPDX-FileCopyrightText: 2019 Arjen Hiemstra <ahiemstra@heimr.nl>
4 *
5 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6 */
7
8// This file contains common directives needed for the shaders to work.
9// It is included as the very first bit in the shader.
10// Important: If a specific GLSL version is needed, it should be set in this
11// file.
12
13// This file is intended for desktop OpenGL version 2.1 or greater.
14
15#version 120
16
17#ifdef VALIDATING
18    #define lowp
19    #define mediump
20    #define highp
21#endif
22
23#define API_DESKTOP
24#define LEGACY_STAGE_INOUT
25