fix nedi artifacts

This commit is contained in:
hunterk 2017-05-15 11:15:11 -05:00
parent 4d9b8bb8e5
commit fd330e5110

View file

@ -75,7 +75,7 @@ layout(std140, set = 0, binding = 0) uniform UBO
#define width (params.SourceSize.x) #define width (params.SourceSize.x)
#define height (params.SourceSize.y) #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 py (0.4999 * (params.SourceSize.w))
#define offset NEDI_OFFSET2 #define offset NEDI_OFFSET2