diff options
Diffstat (limited to 'hlsl/distortion.fx')
-rw-r--r-- | hlsl/distortion.fx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/hlsl/distortion.fx b/hlsl/distortion.fx index f9dd51b697b..63d35789393 100644 --- a/hlsl/distortion.fx +++ b/hlsl/distortion.fx @@ -59,11 +59,6 @@ static const float GelfondSchneider = 2.6651442f; // 2^sqrt(2) (Gelfond-Schneide // Functions //----------------------------------------------------------------------------- -bool xor(bool a, bool b) -{ - return (a || b) && !(a && b); -} - // www.stackoverflow.com/questions/5149544/can-i-generate-a-random-number-inside-a-pixel-shader/ float random(float2 seed) { @@ -122,8 +117,6 @@ uniform float SmoothBorderAmount = 0.0f; uniform float VignettingAmount = 0.0f; uniform float ReflectionAmount = 0.0f; -uniform bool OrientationSwapXY = false; // false landscape, true portrait for default screen orientation -uniform bool RotationSwapXY = false; // swapped default screen orientation due to screen rotation uniform int RotationType = 0; // 0 = 0°, 1 = 90°, 2 = 180°, 3 = 270° float2 GetRatioCorrection() |