From 6b005da6c1c7bd59d9bd7d04e7887e7b59a9a35d Mon Sep 17 00:00:00 2001 From: rbn42 Date: Sun, 27 Dec 2020 11:08:29 +0800 Subject: [PATCH] Rename gldft.frag to gldft.fsh. Because .frag is reserved for effects. --- panon/effect/build_shader_source.py | 4 ++-- plasmoid/contents/shaders/{gldft.frag => gldft.fsh} | 0 .../contents/shaders/{wave-buffer.frag => wave-buffer.fsh} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename plasmoid/contents/shaders/{gldft.frag => gldft.fsh} (100%) rename plasmoid/contents/shaders/{wave-buffer.frag => wave-buffer.fsh} (100%) diff --git a/panon/effect/build_shader_source.py b/panon/effect/build_shader_source.py index 995c162..27c2857 100644 --- a/panon/effect/build_shader_source.py +++ b/panon/effect/build_shader_source.py @@ -126,8 +126,8 @@ def texture_uri(path: Path): texture_uri(Path(effect.path) / 'texture.png'), } -obj['wave_buffer'] = read_file(applet_effect_home / 'wave-buffer.frag') -obj['gldft'] = read_file(applet_effect_home / 'gldft.frag') +obj['wave_buffer'] = read_file(applet_effect_home / 'wave-buffer.fsh') +obj['gldft'] = read_file(applet_effect_home / 'gldft.fsh') obj['enable_iChannel0'] = 'iChannel0' in (read_file(image_shader_path) + (read_file(Path(effect.path) / 'buffer.frag') if (Path(effect.path) / 'buffer.frag').exists() else "")) obj['enable_iChannel1'] = 'iChannel1' in (read_file(image_shader_path) + (read_file(Path(effect.path) / 'buffer.frag') if (Path(effect.path) / 'buffer.frag').exists() else "")) diff --git a/plasmoid/contents/shaders/gldft.frag b/plasmoid/contents/shaders/gldft.fsh similarity index 100% rename from plasmoid/contents/shaders/gldft.frag rename to plasmoid/contents/shaders/gldft.fsh diff --git a/plasmoid/contents/shaders/wave-buffer.frag b/plasmoid/contents/shaders/wave-buffer.fsh similarity index 100% rename from plasmoid/contents/shaders/wave-buffer.frag rename to plasmoid/contents/shaders/wave-buffer.fsh