From fd330e51102ea68013f5f6c6c9f8bb68a547f074 Mon Sep 17 00:00:00 2001 From: hunterk Date: Mon, 15 May 2017 11:15:11 -0500 Subject: [PATCH] fix nedi artifacts --- nedi/shaders/nedi-pass1.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nedi/shaders/nedi-pass1.slang b/nedi/shaders/nedi-pass1.slang index 9c01704..53b8ace 100644 --- a/nedi/shaders/nedi-pass1.slang +++ b/nedi/shaders/nedi-pass1.slang @@ -75,7 +75,7 @@ layout(std140, set = 0, binding = 0) uniform UBO #define width (params.SourceSize.x) #define height (params.SourceSize.y) -#define px (0.4999 * (params.SourceSize.z)) +#define px (1.0 * (params.SourceSize.z)) #define py (0.4999 * (params.SourceSize.w)) #define offset NEDI_OFFSET2