diff options
| author | Yuriy O'Donnell <yuriyo@gmail.com> | 2014-10-25 02:59:02 +0200 |
|---|---|---|
| committer | Yuriy O'Donnell <yuriyo@gmail.com> | 2014-11-29 11:42:52 +0100 |
| commit | a886d8a8ee97ced9b8d4868d604d08b54886b06a (patch) | |
| tree | 6524f979ade565ec413bb4304297a315df86874c /Source/Core/VideoCommon/ShaderGenCommon.h | |
| parent | 1fe3d07cbdeda459527199bb9837f5f6ce9a2f5b (diff) | |
Renamed DEPTHPARAMS to PIXELCENTERCORRECTION
This shader constant was previously used for depth remapping in D3D and for pixel center correction. Now it only serves one purpose and the new name makes it clear.
Diffstat (limited to 'Source/Core/VideoCommon/ShaderGenCommon.h')
| -rw-r--r-- | Source/Core/VideoCommon/ShaderGenCommon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/ShaderGenCommon.h b/Source/Core/VideoCommon/ShaderGenCommon.h index 330b9f8ced..4d22048ee6 100644 --- a/Source/Core/VideoCommon/ShaderGenCommon.h +++ b/Source/Core/VideoCommon/ShaderGenCommon.h @@ -238,7 +238,7 @@ private: #define I_TRANSFORMMATRICES "ctrmtx" #define I_NORMALMATRICES "cnmtx" #define I_POSTTRANSFORMMATRICES "cpostmtx" -#define I_DEPTHPARAMS "cDepth" // farZ, zRange +#define I_PIXELCENTERCORRECTION "cpixelcenter" #define I_STEREOPARAMS "cstereo" static const char s_shader_uniforms[] = @@ -250,5 +250,5 @@ static const char s_shader_uniforms[] = "\tfloat4 " I_TRANSFORMMATRICES"[64];\n" "\tfloat4 " I_NORMALMATRICES"[32];\n" "\tfloat4 " I_POSTTRANSFORMMATRICES"[64];\n" - "\tfloat4 " I_DEPTHPARAMS";\n" + "\tfloat4 " I_PIXELCENTERCORRECTION";\n" "\tfloat4 " I_STEREOPARAMS";\n"; |
