🔧 Support different profiles for kwin

This commit is contained in:
Simon Schneegans
2022-06-09 07:47:12 +02:00
parent 9a68af1676
commit e96b42a3f7
4 changed files with 60 additions and 21 deletions
+10
View File
@@ -48,6 +48,16 @@ generate() {
echo ""
cat "../resources/shaders/common.glsl"
cat "../resources/shaders/$1.frag"
} > "${BUILD_DIR}/kwin4_effect_$1/contents/shaders/$1_core.frag"
{
echo "#version 100"
echo "#define KWIN_LEGACY"
echo ""
echo "// This file is automatically generated during the build process."
echo ""
cat "../resources/shaders/common.glsl"
cat "../resources/shaders/$1.frag"
} > "${BUILD_DIR}/kwin4_effect_$1/contents/shaders/$1.frag"
}