diff --git a/shaders/cAbberation.fx b/shaders/cAbberation.fx index ef22536..e051583 100644 --- a/shaders/cAbberation.fx +++ b/shaders/cAbberation.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* diff --git a/shaders/cAutoExposure.fx b/shaders/cAutoExposure.fx index 196f4d7..3be7bf4 100644 --- a/shaders/cAutoExposure.fx +++ b/shaders/cAutoExposure.fx @@ -1,3 +1,4 @@ + #include "shared/cMacros.fxh" #include "shared/cGraphics.fxh" diff --git a/shaders/cBilateral.fx b/shaders/cBilateral.fx index 7771182..aabbb70 100644 --- a/shaders/cBilateral.fx +++ b/shaders/cBilateral.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" #include "shared/cConvolution.fxh" diff --git a/shaders/cBlending.fx b/shaders/cBlending.fx index da947d0..19fd841 100644 --- a/shaders/cBlending.fx +++ b/shaders/cBlending.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* diff --git a/shaders/cCensusTransform.fx b/shaders/cCensusTransform.fx index 70fba1c..1e4ac40 100644 --- a/shaders/cCensusTransform.fx +++ b/shaders/cCensusTransform.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* diff --git a/shaders/cCheckerBoard.fx b/shaders/cCheckerBoard.fx index fc6a596..495433e 100644 --- a/shaders/cCheckerBoard.fx +++ b/shaders/cCheckerBoard.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* diff --git a/shaders/cChromaticity.fx b/shaders/cChromaticity.fx index afa8d09..5076099 100644 --- a/shaders/cChromaticity.fx +++ b/shaders/cChromaticity.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" #include "shared/cColorSpaces.fxh" diff --git a/shaders/cCircles.fx b/shaders/cCircles.fx index 9d50212..e27326c 100644 --- a/shaders/cCircles.fx +++ b/shaders/cCircles.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" #include "shared/cMacros.fxh" diff --git a/shaders/cColorBand.fx b/shaders/cColorBand.fx index a51721d..3bd3446 100644 --- a/shaders/cColorBand.fx +++ b/shaders/cColorBand.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" #include "shared/cProcedural.fxh" diff --git a/shaders/cColorBlendOp.fx b/shaders/cColorBlendOp.fx index 5d5eca7..ced39a3 100644 --- a/shaders/cColorBlendOp.fx +++ b/shaders/cColorBlendOp.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* diff --git a/shaders/cDiscBlur.fx b/shaders/cDiscBlur.fx index e3c5e7d..c800936 100644 --- a/shaders/cDiscBlur.fx +++ b/shaders/cDiscBlur.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" #include "shared/cConvolution.fxh" @@ -86,4 +87,4 @@ namespace cDiscBlur PixelShader = PS_VogelBlur; } } -} \ No newline at end of file +} diff --git a/shaders/cFrameBlending.fx b/shaders/cFrameBlending.fx index 8f55046..fd5eda4 100644 --- a/shaders/cFrameBlending.fx +++ b/shaders/cFrameBlending.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* diff --git a/shaders/cGaussianBlur.fx b/shaders/cGaussianBlur.fx index 22f4db2..6f0e617 100644 --- a/shaders/cGaussianBlur.fx +++ b/shaders/cGaussianBlur.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" #include "shared/cConvolution.fxh" diff --git a/shaders/cGrain.fx b/shaders/cGrain.fx index f244fd0..f4c4883 100644 --- a/shaders/cGrain.fx +++ b/shaders/cGrain.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" #include "shared/cConvolution.fxh" diff --git a/shaders/cGrayscale.fx b/shaders/cGrayscale.fx index 00d67cb..f3f1420 100644 --- a/shaders/cGrayscale.fx +++ b/shaders/cGrayscale.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* diff --git a/shaders/cLetterBox.fx b/shaders/cLetterBox.fx index 1fb87c2..fb28fb8 100644 --- a/shaders/cLetterBox.fx +++ b/shaders/cLetterBox.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* diff --git a/shaders/cMedian.fx b/shaders/cMedian.fx index ea72178..ee4b97c 100644 --- a/shaders/cMedian.fx +++ b/shaders/cMedian.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* diff --git a/shaders/cMotionBlur.fx b/shaders/cMotionBlur.fx index a60ff7b..d70d2f8 100644 --- a/shaders/cMotionBlur.fx +++ b/shaders/cMotionBlur.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" #include "shared/cColorSpaces.fxh" #include "shared/cConvolution.fxh" @@ -221,4 +222,4 @@ namespace cMotionBlur PixelShader = PS_MotionBlur; } } -} \ No newline at end of file +} diff --git a/shaders/cNoiseBlur.fx b/shaders/cNoiseBlur.fx index 581bc31..147a2a6 100644 --- a/shaders/cNoiseBlur.fx +++ b/shaders/cNoiseBlur.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" #include "shared/cProcedural.fxh" #include "shared/cCamera.fxh" diff --git a/shaders/cOpticalFlow.fx b/shaders/cOpticalFlow.fx index d92c013..7e0c591 100644 --- a/shaders/cOpticalFlow.fx +++ b/shaders/cOpticalFlow.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" #include "shared/cColorSpaces.fxh" #include "shared/cConvolution.fxh" diff --git a/shaders/cOverlay.fx b/shaders/cOverlay.fx index 2380c19..24d2289 100644 --- a/shaders/cOverlay.fx +++ b/shaders/cOverlay.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* @@ -109,4 +110,4 @@ technique CShade_Overlay VertexShader = VS_Overlay; PixelShader = PS_Overlay; } -} \ No newline at end of file +} diff --git a/shaders/cPixelate.fx b/shaders/cPixelate.fx index f23f01f..f79eef6 100644 --- a/shaders/cPixelate.fx +++ b/shaders/cPixelate.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* diff --git a/shaders/cPyramidBlur.fx b/shaders/cPyramidBlur.fx index bee8b88..eee83ef 100644 --- a/shaders/cPyramidBlur.fx +++ b/shaders/cPyramidBlur.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" namespace cPyramidBlur @@ -234,4 +235,4 @@ namespace cPyramidBlur PixelShader = PS_Upscale0; } } -} \ No newline at end of file +} diff --git a/shaders/cShard.fx b/shaders/cShard.fx index 023b5cb..3d2e20b 100644 --- a/shaders/cShard.fx +++ b/shaders/cShard.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* diff --git a/shaders/cTemplateMatching.fx b/shaders/cTemplateMatching.fx index 88c5de9..582d9a0 100644 --- a/shaders/cTemplateMatching.fx +++ b/shaders/cTemplateMatching.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" namespace cTemplateMatching diff --git a/shaders/cThreshold.fx b/shaders/cThreshold.fx index b20cec6..4470f36 100644 --- a/shaders/cThreshold.fx +++ b/shaders/cThreshold.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* @@ -63,4 +64,4 @@ technique CShade_Threshold VertexShader = VS_Quad; PixelShader = PS_Threshold; } -} \ No newline at end of file +} diff --git a/shaders/cTransform.fx b/shaders/cTransform.fx index c1629b1..2ab2884 100644 --- a/shaders/cTransform.fx +++ b/shaders/cTransform.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* diff --git a/shaders/kContour.fx b/shaders/kContour.fx index 175e27c..4dc6159 100644 --- a/shaders/kContour.fx +++ b/shaders/kContour.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* diff --git a/shaders/kDatamosh.fx b/shaders/kDatamosh.fx index 3a8fcf8..57f458d 100644 --- a/shaders/kDatamosh.fx +++ b/shaders/kDatamosh.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" #include "shared/cColorSpaces.fxh" #include "shared/cConvolution.fxh" diff --git a/shaders/kMirror.fx b/shaders/kMirror.fx index 61cc40b..0ef0fe6 100644 --- a/shaders/kMirror.fx +++ b/shaders/kMirror.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" /* diff --git a/shaders/kVignette.fx b/shaders/kVignette.fx index 3a91dad..60e4c79 100644 --- a/shaders/kVignette.fx +++ b/shaders/kVignette.fx @@ -1,3 +1,4 @@ + #include "shared/cGraphics.fxh" #include "shared/cCamera.fxh" diff --git a/shaders/shared/cColorSpaces.fxh b/shaders/shared/cColorSpaces.fxh index ce173d1..caca2c6 100644 --- a/shaders/shared/cColorSpaces.fxh +++ b/shaders/shared/cColorSpaces.fxh @@ -204,4 +204,4 @@ return float3(H, S, I); } -#endif \ No newline at end of file +#endif diff --git a/shaders/shared/cConvolution.fxh b/shaders/shared/cConvolution.fxh index 37a62a2..001b967 100644 --- a/shaders/shared/cConvolution.fxh +++ b/shaders/shared/cConvolution.fxh @@ -146,4 +146,5 @@ OutputColor0.y = ((A + B) - (C + D)) / 4.0; return OutputColor0; } -#endif \ No newline at end of file + +#endif diff --git a/shaders/shared/cGraphics.fxh b/shaders/shared/cGraphics.fxh index f656d94..7da89cd 100644 --- a/shaders/shared/cGraphics.fxh +++ b/shaders/shared/cGraphics.fxh @@ -1,3 +1,4 @@ + #include "cMacros.fxh" #if !defined(INCLUDE_GRAPHICS) @@ -83,4 +84,5 @@ float Ly = dot(Iy, Iy); return float2(0.0, 0.5) * max(0.0, log2(max(Lx, Ly))); } -#endif \ No newline at end of file + +#endif diff --git a/shaders/shared/cMacros.fxh b/shaders/shared/cMacros.fxh index 78eec69..0b2a1af 100644 --- a/shaders/shared/cMacros.fxh +++ b/shaders/shared/cMacros.fxh @@ -82,4 +82,5 @@ AddressV = ADDRESS; \ SRGBTexture = READ_SRGB; \ }; + #endif diff --git a/shaders/shared/cMotionEstimation.fxh b/shaders/shared/cMotionEstimation.fxh index f910540..77ca509 100644 --- a/shaders/shared/cMotionEstimation.fxh +++ b/shaders/shared/cMotionEstimation.fxh @@ -1,3 +1,4 @@ + #include "cGraphics.fxh" #if !defined(INCLUDE_MOTIONESTIMATION) @@ -265,4 +266,5 @@ Vectors += NormalizeMotionVectors(SearchArea(SampleImage, B, Template), B.PixelSize); return PackMotionVectors(Vectors); } + #endif diff --git a/shaders/shared/cProcedural.fxh b/shaders/shared/cProcedural.fxh index e7e068e..687fa3e 100644 --- a/shaders/shared/cProcedural.fxh +++ b/shaders/shared/cProcedural.fxh @@ -1,5 +1,4 @@ - #if !defined(INCLUDE_PROCEDURAL) #define INCLUDE_PROCEDURAL @@ -122,4 +121,4 @@ return saturate((Noise * 0.5) + 0.5); } -#endif \ No newline at end of file +#endif