Remove the per pixel depth option.

Depth calculations are always done in the pixel shader now.

Due to the unpredictability of our zcomploc hacks this commit probably changes the behavior of some games which use zcomploc.
This commit is contained in:
NeoBrainX
2013-01-08 16:40:15 +01:00
parent 876eee5e60
commit b06f30f845
7 changed files with 72 additions and 113 deletions

View File

@ -45,7 +45,7 @@
#define C_PMATERIALS (C_PLIGHTS + 40)
#define C_PENVCONST_END (C_PMATERIALS + 4)
#define PIXELSHADERUID_MAX_VALUES 70
#define PIXELSHADERUID_MAX_VALUES_SAFE 120
#define PIXELSHADERUID_MAX_VALUES_SAFE 119
// DO NOT make anything in this class virtual.
template<bool safe>