mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-22 15:51:30 +11:00
fix nedi artifacts
This commit is contained in:
parent
4d9b8bb8e5
commit
fd330e5110
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue