diff --git a/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_L.glsl b/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_L.glsl index 1baeb13e..2bf4b2ac 100644 --- a/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_L.glsl +++ b/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_L.glsl @@ -438,11 +438,11 @@ vec4 hook() { } //!DESC Anime4K-v3.2-Upscale-Denoise-CNN-x2-(L)-Depth-to-Space //!HOOK MAIN +//!BIND MAIN //!BIND conv2d_last_tf //!BIND conv2d_last_tf1 //!BIND conv2d_last_tf2 -//!SAVE depth_to_space2_tf -//!COMPONENTS 4 +//!SAVE MAIN //!WIDTH conv2d_last_tf.w 2 * //!HEIGHT conv2d_last_tf.h 2 * //!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > * @@ -457,5 +457,5 @@ vec4 hook() { ivec2 i2 = ivec2(f2 * vec2(2.0)); float c2 = conv2d_last_tf2_tex((vec2(0.5) - f2) * conv2d_last_tf2_pt + conv2d_last_tf2_pos)[i2.y * 2 + i2.x]; float c3 = c2; - return vec4(c0, c1, c2, c3); + return vec4(c0, c1, c2, c3) + MAIN_tex(MAIN_pos); } diff --git a/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_M.glsl b/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_M.glsl index 59a74c2d..5076f5dd 100644 --- a/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_M.glsl +++ b/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_M.glsl @@ -283,9 +283,9 @@ vec4 hook() { } //!DESC Anime4K-v3.2-Upscale-Denoise-CNN-x2-(M)-Depth-to-Space //!HOOK MAIN +//!BIND MAIN //!BIND conv2d_last_tf -//!SAVE depth_to_space2_tf -//!COMPONENTS 4 +//!SAVE MAIN //!WIDTH conv2d_last_tf.w 2 * //!HEIGHT conv2d_last_tf.h 2 * //!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > * @@ -296,5 +296,5 @@ vec4 hook() { float c1 = c0; float c2 = c1; float c3 = c2; - return vec4(c0, c1, c2, c3); + return vec4(c0, c1, c2, c3) + MAIN_tex(MAIN_pos); } diff --git a/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_S.glsl b/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_S.glsl index 60d8bcb0..c1b4cb18 100644 --- a/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_S.glsl +++ b/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_S.glsl @@ -141,9 +141,9 @@ vec4 hook() { } //!DESC Anime4K-v3.2-Upscale-Denoise-CNN-x2-(S)-Depth-to-Space //!HOOK MAIN +//!BIND MAIN //!BIND conv2d_last_tf -//!SAVE depth_to_space2_tf -//!COMPONENTS 4 +//!SAVE MAIN //!WIDTH conv2d_last_tf.w 2 * //!HEIGHT conv2d_last_tf.h 2 * //!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > * @@ -154,5 +154,5 @@ vec4 hook() { float c1 = c0; float c2 = c1; float c3 = c2; - return vec4(c0, c1, c2, c3); + return vec4(c0, c1, c2, c3) + MAIN_tex(MAIN_pos); } diff --git a/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_UL.glsl b/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_UL.glsl index 9188b645..18c8453b 100644 --- a/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_UL.glsl +++ b/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_UL.glsl @@ -1679,11 +1679,11 @@ vec4 hook() { } //!DESC Anime4K-v3.2-Upscale-Denoise-CNN-x2-(UL)-Depth-to-Space //!HOOK MAIN +//!BIND MAIN //!BIND conv2d_last_tf //!BIND conv2d_last_tf1 //!BIND conv2d_last_tf2 -//!SAVE depth_to_space2_tf -//!COMPONENTS 4 +//!SAVE MAIN //!WIDTH conv2d_last_tf.w 2 * //!HEIGHT conv2d_last_tf.h 2 * //!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > * @@ -1698,5 +1698,5 @@ vec4 hook() { ivec2 i2 = ivec2(f2 * vec2(2.0)); float c2 = conv2d_last_tf2_tex((vec2(0.5) - f2) * conv2d_last_tf2_pt + conv2d_last_tf2_pos)[i2.y * 2 + i2.x]; float c3 = c2; - return vec4(c0, c1, c2, c3); + return vec4(c0, c1, c2, c3) + MAIN_tex(MAIN_pos); } diff --git a/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_VL.glsl b/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_VL.glsl index 27cf6c19..ac122b9a 100644 --- a/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_VL.glsl +++ b/glsl/Upscale+Denoise/Anime4K_Upscale_Denoise_CNN_x2_VL.glsl @@ -946,11 +946,11 @@ vec4 hook() { } //!DESC Anime4K-v3.2-Upscale-Denoise-CNN-x2-(VL)-Depth-to-Space //!HOOK MAIN +//!BIND MAIN //!BIND conv2d_last_tf //!BIND conv2d_last_tf1 //!BIND conv2d_last_tf2 -//!SAVE depth_to_space2_tf -//!COMPONENTS 4 +//!SAVE MAIN //!WIDTH conv2d_last_tf.w 2 * //!HEIGHT conv2d_last_tf.h 2 * //!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > * @@ -965,5 +965,5 @@ vec4 hook() { ivec2 i2 = ivec2(f2 * vec2(2.0)); float c2 = conv2d_last_tf2_tex((vec2(0.5) - f2) * conv2d_last_tf2_pt + conv2d_last_tf2_pos)[i2.y * 2 + i2.x]; float c3 = c2; - return vec4(c0, c1, c2, c3); + return vec4(c0, c1, c2, c3) + MAIN_tex(MAIN_pos); } diff --git a/glsl/Upscale/Anime4K_Upscale_CNN_x2_L.glsl b/glsl/Upscale/Anime4K_Upscale_CNN_x2_L.glsl index ce2df6ff..034de41f 100644 --- a/glsl/Upscale/Anime4K_Upscale_CNN_x2_L.glsl +++ b/glsl/Upscale/Anime4K_Upscale_CNN_x2_L.glsl @@ -438,11 +438,11 @@ vec4 hook() { } //!DESC Anime4K-v3.2-Upscale-CNN-x2-(L)-Depth-to-Space //!HOOK MAIN +//!BIND MAIN //!BIND conv2d_last_tf //!BIND conv2d_last_tf1 //!BIND conv2d_last_tf2 -//!SAVE depth_to_space2_tf -//!COMPONENTS 4 +//!SAVE MAIN //!WIDTH conv2d_last_tf.w 2 * //!HEIGHT conv2d_last_tf.h 2 * //!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > * @@ -457,5 +457,5 @@ vec4 hook() { ivec2 i2 = ivec2(f2 * vec2(2.0)); float c2 = conv2d_last_tf2_tex((vec2(0.5) - f2) * conv2d_last_tf2_pt + conv2d_last_tf2_pos)[i2.y * 2 + i2.x]; float c3 = c2; - return vec4(c0, c1, c2, c3); + return vec4(c0, c1, c2, c3) + MAIN_tex(MAIN_pos); } diff --git a/glsl/Upscale/Anime4K_Upscale_CNN_x2_M.glsl b/glsl/Upscale/Anime4K_Upscale_CNN_x2_M.glsl index d1ddee4c..156c6bdd 100644 --- a/glsl/Upscale/Anime4K_Upscale_CNN_x2_M.glsl +++ b/glsl/Upscale/Anime4K_Upscale_CNN_x2_M.glsl @@ -283,9 +283,9 @@ vec4 hook() { } //!DESC Anime4K-v3.2-Upscale-CNN-x2-(M)-Depth-to-Space //!HOOK MAIN +//!BIND MAIN //!BIND conv2d_last_tf -//!SAVE depth_to_space2_tf -//!COMPONENTS 4 +//!SAVE MAIN //!WIDTH conv2d_last_tf.w 2 * //!HEIGHT conv2d_last_tf.h 2 * //!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > * @@ -296,5 +296,5 @@ vec4 hook() { float c1 = c0; float c2 = c1; float c3 = c2; - return vec4(c0, c1, c2, c3); + return vec4(c0, c1, c2, c3) + MAIN_tex(MAIN_pos); } diff --git a/glsl/Upscale/Anime4K_Upscale_CNN_x2_S.glsl b/glsl/Upscale/Anime4K_Upscale_CNN_x2_S.glsl index 946e033c..e6ad7c21 100644 --- a/glsl/Upscale/Anime4K_Upscale_CNN_x2_S.glsl +++ b/glsl/Upscale/Anime4K_Upscale_CNN_x2_S.glsl @@ -141,9 +141,9 @@ vec4 hook() { } //!DESC Anime4K-v3.2-Upscale-CNN-x2-(S)-Depth-to-Space //!HOOK MAIN +//!BIND MAIN //!BIND conv2d_last_tf -//!SAVE depth_to_space2_tf -//!COMPONENTS 4 +//!SAVE MAIN //!WIDTH conv2d_last_tf.w 2 * //!HEIGHT conv2d_last_tf.h 2 * //!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > * @@ -154,5 +154,5 @@ vec4 hook() { float c1 = c0; float c2 = c1; float c3 = c2; - return vec4(c0, c1, c2, c3); + return vec4(c0, c1, c2, c3) + MAIN_tex(MAIN_pos); } diff --git a/glsl/Upscale/Anime4K_Upscale_CNN_x2_UL.glsl b/glsl/Upscale/Anime4K_Upscale_CNN_x2_UL.glsl index 078fc90b..1826b539 100644 --- a/glsl/Upscale/Anime4K_Upscale_CNN_x2_UL.glsl +++ b/glsl/Upscale/Anime4K_Upscale_CNN_x2_UL.glsl @@ -1679,11 +1679,11 @@ vec4 hook() { } //!DESC Anime4K-v3.2-Upscale-CNN-x2-(UL)-Depth-to-Space //!HOOK MAIN +//!BIND MAIN //!BIND conv2d_last_tf //!BIND conv2d_last_tf1 //!BIND conv2d_last_tf2 -//!SAVE depth_to_space2_tf -//!COMPONENTS 4 +//!SAVE MAIN //!WIDTH conv2d_last_tf.w 2 * //!HEIGHT conv2d_last_tf.h 2 * //!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > * @@ -1698,5 +1698,5 @@ vec4 hook() { ivec2 i2 = ivec2(f2 * vec2(2.0)); float c2 = conv2d_last_tf2_tex((vec2(0.5) - f2) * conv2d_last_tf2_pt + conv2d_last_tf2_pos)[i2.y * 2 + i2.x]; float c3 = c2; - return vec4(c0, c1, c2, c3); + return vec4(c0, c1, c2, c3) + MAIN_tex(MAIN_pos); } diff --git a/glsl/Upscale/Anime4K_Upscale_CNN_x2_VL.glsl b/glsl/Upscale/Anime4K_Upscale_CNN_x2_VL.glsl index cf557af3..c562e6e0 100644 --- a/glsl/Upscale/Anime4K_Upscale_CNN_x2_VL.glsl +++ b/glsl/Upscale/Anime4K_Upscale_CNN_x2_VL.glsl @@ -946,11 +946,11 @@ vec4 hook() { } //!DESC Anime4K-v3.2-Upscale-CNN-x2-(VL)-Depth-to-Space //!HOOK MAIN +//!BIND MAIN //!BIND conv2d_last_tf //!BIND conv2d_last_tf1 //!BIND conv2d_last_tf2 -//!SAVE depth_to_space2_tf -//!COMPONENTS 4 +//!SAVE MAIN //!WIDTH conv2d_last_tf.w 2 * //!HEIGHT conv2d_last_tf.h 2 * //!WHEN OUTPUT.w MAIN.w / 1.200 > OUTPUT.h MAIN.h / 1.200 > * @@ -965,5 +965,5 @@ vec4 hook() { ivec2 i2 = ivec2(f2 * vec2(2.0)); float c2 = conv2d_last_tf2_tex((vec2(0.5) - f2) * conv2d_last_tf2_pt + conv2d_last_tf2_pos)[i2.y * 2 + i2.x]; float c3 = c2; - return vec4(c0, c1, c2, c3); + return vec4(c0, c1, c2, c3) + MAIN_tex(MAIN_pos); }