diff options
| author | degasus <wickmarkus@web.de> | 2014-03-17 17:00:11 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2014-05-05 17:06:37 +0200 |
| commit | 2bc2b73e03a7a08addd6797f2fc4976fbaac0299 (patch) | |
| tree | c3e82d582401923e088b2c803fdb9384d77cd977 /Source/Core/VideoCommon/PixelShaderGen.cpp | |
| parent | c82991df5ba360986f18cfee32c34405f65df09f (diff) | |
PixelShaderGen: drop fmod as it isn't used any more
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PixelShaderGen.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index 3ce0403f6c..b79e802715 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -195,14 +195,6 @@ static inline void GeneratePixelShader(T& out, DSTALPHA_MODE dstAlphaMode, API_T if (ApiType == API_OPENGL) { - // Fmod implementation gleaned from Nvidia - // At http://http.developer.nvidia.com/Cg/fmod.html - out.Write("float fmod( float x, float y )\n"); - out.Write("{\n"); - out.Write("\tfloat z = fract( abs( x / y) ) * abs( y );\n"); - out.Write("\treturn (x < 0.0) ? -z : z;\n"); - out.Write("}\n"); - // Declare samplers for (int i = 0; i < 8; ++i) out.Write("uniform sampler2D samp%d;\n", i); |
