Skip to content

Commit 8431c6b

Browse files
authored
Fix shader warning when using Lanczos upsampling (#4280)
1 parent a7bb764 commit 8431c6b

File tree

1 file changed

+1
-1
lines changed
  • com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders

1 file changed

+1
-1
lines changed

com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders/FinalPass.shader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Shader "Hidden/HDRP/FinalPass"
7171
#elif CATMULL_ROM_4
7272
return CatmullRomFourSamples(_InputTexture, UV);
7373
#elif LANCZOS
74-
return Lanczos(_InputTexture, UV, _ViewPortSize);
74+
return Lanczos(_InputTexture, UV, _ViewPortSize.xy);
7575
#else
7676
return Nearest(_InputTexture, UV);
7777
#endif

0 commit comments

Comments
 (0)