From 1d5fc2feaa12adbf173cd95816a5e00076ea7385 Mon Sep 17 00:00:00 2001 From: Stuart Kenny Date: Tue, 27 Sep 2022 20:22:58 +0100 Subject: [PATCH] Remove alpha ignore in xbrz texture shaders. --- assets/shaders/tex_2xbrz.csh | 5 ----- assets/shaders/tex_4xbrz.csh | 5 ----- 2 files changed, 10 deletions(-) diff --git a/assets/shaders/tex_2xbrz.csh b/assets/shaders/tex_2xbrz.csh index f4a12c4cfe..639efb582e 100644 --- a/assets/shaders/tex_2xbrz.csh +++ b/assets/shaders/tex_2xbrz.csh @@ -100,11 +100,6 @@ void applyScaling(uvec2 origxy) { ivec4 blendResult = ivec4(BLEND_NONE); - // Preserve old alpha-ignoring behavior? Keep or delete? - for (int i = 0; i < 9; i++) { - v[i] &= 0xFFFFFF; - } - // Preprocess corners // Pixel Tap Mapping: --|--|--|--|-- // --|--|07|08|-- diff --git a/assets/shaders/tex_4xbrz.csh b/assets/shaders/tex_4xbrz.csh index a19a28a5f5..bd22097ef8 100644 --- a/assets/shaders/tex_4xbrz.csh +++ b/assets/shaders/tex_4xbrz.csh @@ -100,11 +100,6 @@ void applyScaling(uvec2 origxy) { ivec4 blendResult = ivec4(BLEND_NONE); - // Preserve old alpha-ignoring behavior? Keep or delete? - for (int i = 0; i < 9; i++) { - v[i] &= 0xFFFFFF; - } - // Preprocess corners // Pixel Tap Mapping: --|--|--|--|-- // --|--|07|08|--