diff --git a/models/libplacebo/anime4k-a+a.glsl b/models/libplacebo/anime4k-v4-a+a.glsl similarity index 100% rename from models/libplacebo/anime4k-a+a.glsl rename to models/libplacebo/anime4k-v4-a+a.glsl diff --git a/models/libplacebo/anime4k-a.glsl b/models/libplacebo/anime4k-v4-a.glsl similarity index 100% rename from models/libplacebo/anime4k-a.glsl rename to models/libplacebo/anime4k-v4-a.glsl diff --git a/models/libplacebo/anime4k-b+b.glsl b/models/libplacebo/anime4k-v4-b+b.glsl similarity index 100% rename from models/libplacebo/anime4k-b+b.glsl rename to models/libplacebo/anime4k-v4-b+b.glsl diff --git a/models/libplacebo/anime4k-b.glsl b/models/libplacebo/anime4k-v4-b.glsl similarity index 100% rename from models/libplacebo/anime4k-b.glsl rename to models/libplacebo/anime4k-v4-b.glsl diff --git a/models/libplacebo/anime4k-c+a.glsl b/models/libplacebo/anime4k-v4-c+a.glsl similarity index 100% rename from models/libplacebo/anime4k-c+a.glsl rename to models/libplacebo/anime4k-v4-c+a.glsl diff --git a/models/libplacebo/anime4k-c.glsl b/models/libplacebo/anime4k-v4-c.glsl similarity index 100% rename from models/libplacebo/anime4k-c.glsl rename to models/libplacebo/anime4k-v4-c.glsl diff --git a/models/libplacebo/anime4k-gan.glsl b/models/libplacebo/anime4k-v4.1-gan.glsl similarity index 100% rename from models/libplacebo/anime4k-gan.glsl rename to models/libplacebo/anime4k-v4.1-gan.glsl diff --git a/scripts/download_merge_anime4k_glsl.py b/scripts/download_merge_anime4k_glsl.py index 35a5c57..2dd5b63 100755 --- a/scripts/download_merge_anime4k_glsl.py +++ b/scripts/download_merge_anime4k_glsl.py @@ -78,7 +78,13 @@ def download_and_combine_files(): response.raise_for_status() file_contents += response.text + "\n" - with (SHADERS_DIR / Path(f"anime4k-{mode}.glsl")).open("w") as output_file: + version = "v4" + if mode == "gan": + version = "v4.1" + + with (SHADERS_DIR / Path(f"anime4k-{version}-{mode}.glsl")).open( + "w" + ) as output_file: output_file.write(file_contents)