From 7e4a696634698027db1affae6e29c76730df11c1 Mon Sep 17 00:00:00 2001 From: hunterk Date: Fri, 10 Feb 2017 10:18:36 -0600 Subject: [PATCH] whoops, fix hq2x credits block --- hqx/shader-files/hq2x-halphon.slang | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hqx/shader-files/hq2x-halphon.slang b/hqx/shader-files/hq2x-halphon.slang index 850566c..b3c571c 100644 --- a/hqx/shader-files/hq2x-halphon.slang +++ b/hqx/shader-files/hq2x-halphon.slang @@ -1,9 +1,11 @@ #version 450 -// Smooth Bilinear +// HQ2x // by Lior Halphon // ported to slang by hunterk +/* Based on this (really good) article: http://blog.pkh.me/p/19-butchering-hqx-scaling-filters.html */ + /* MIT License @@ -28,7 +30,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ - layout(push_constant) uniform Push { vec4 SourceSize; @@ -45,8 +46,6 @@ layout(std140, set = 0, binding = 0) uniform UBO #define uResolution params.OutputSize.xy #define textureDimensions params.SourceSize.xy -/* Based on this (really good) article: http://blog.pkh.me/p/19-butchering-hqx-scaling-filters.html */ - /* The colorspace used by the HQnx filters is not really YUV, despite the algorithm description claims it is. It is also not normalized. Therefore, we shall call the colorspace used by HQnx "HQ Colorspace" to avoid confusion. */ vec3 rgb_to_hq_colospace(vec4 rgb)