summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-01-26 22:24:47 +0100
committer ImJezze <jezze@gmx.net>2016-01-26 22:24:47 +0100
commit8d5848718c30a960d07d569937cb1678f75f0463 (patch)
treea5a0a437ef41e253936c7a0a907d690ef166462f
parenta5fb4397056456d618c428c5cbda9614f977e36a (diff)
Fixed missing const (nw)
-rw-r--r--hlsl/artwork_support/post.fx1
1 files changed, 1 insertions, 0 deletions
diff --git a/hlsl/artwork_support/post.fx b/hlsl/artwork_support/post.fx
index f0c883fa69e..9a3b693cd61 100644
--- a/hlsl/artwork_support/post.fx
+++ b/hlsl/artwork_support/post.fx
@@ -66,6 +66,7 @@ struct PS_INPUT
static const float Epsilon = 1.0e-7f;
static const float PI = 3.1415927f;
+static const float PHI = 1.618034f;
static const float E = 2.7182817f;
static const float Gelfond = 23.140692f; // e^pi (Gelfond constant)
static const float GelfondSchneider = 2.6651442f; // 2^sqrt(2) (Gelfond-Schneider constant)