From 758aaa496aa546a372fd3f21612395a2dd65826e Mon Sep 17 00:00:00 2001 From: ImJezze Date: Mon, 6 Jun 2016 19:40:10 +0200 Subject: [PATCH] Fixed scanlines if the screen output is less than twice the size of the host source --- bgfx/shaders/dx11/chains/hlsl/fs_post.bin | Bin 3394 -> 3550 bytes bgfx/shaders/dx9/chains/hlsl/fs_post.bin | Bin 3015 -> 3135 bytes bgfx/shaders/gles/chains/hlsl/fs_post.bin | Bin 4609 -> 5017 bytes bgfx/shaders/glsl/chains/hlsl/fs_post.bin | Bin 4384 -> 4769 bytes bgfx/shaders/metal/chains/hlsl/fs_post.bin | Bin 5115 -> 5468 bytes hlsl/post.fx | 10 ++++++++-- .../bgfx/shaders/chains/hlsl/fs_post.sc | 8 +++++++- 7 files changed, 15 insertions(+), 3 deletions(-) diff --git a/bgfx/shaders/dx11/chains/hlsl/fs_post.bin b/bgfx/shaders/dx11/chains/hlsl/fs_post.bin index 740cea66bf5d80dd6a66e5f6d485a133ea1c3808..3aa4cd217007e5b562855835945acdeeb9fd2b26 100644 GIT binary patch delta 278 zcmX>kbx(SO1e5duZkGrrXXB^mA56ZvTE%c;-=f0t`$*At@jY0#XeMU>c+eT^^*43o6gHxtS}P836jw70Cbq diff --git a/bgfx/shaders/dx9/chains/hlsl/fs_post.bin b/bgfx/shaders/dx9/chains/hlsl/fs_post.bin index cc98415c59f1f9b5a17c99715f75a8cc8074284a..4cbc9b2fb7b70fed9e3b4bb38d144709988939a1 100644 GIT binary patch delta 1329 zcmZ8gJ#Q016r5e3Kk!G)R~*}EA_&yfNQo_E3QCHT_ysil0lHfYBqXXxrlH$Qc@+}0 z2s%Usg{e{@xrv0RLuF=m?`*f9=6|)?O`(gxc_Z()_*j8 z@#oetfXQQ^K0@E0^}kMuej25*l~9}Xrzo}VA_V7hqPxR)8g0$sOt?Yc;=q~3DbFw94O|@o8J!n#C0#7>nvr>B5(|9C(*1%bej-w+uTQO}`8# zwpbcsli`DlF1su&;>z8ixQN=vmN!EC3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