diff options
| author | Rodolfo Osvaldo Bogado <rodolfoosvaldobogado@gmail.com> | 2011-01-29 04:31:56 +0000 |
|---|---|---|
| committer | Rodolfo Osvaldo Bogado <rodolfoosvaldobogado@gmail.com> | 2011-01-29 04:31:56 +0000 |
| commit | 4c58c7ea031d518f3bbb936fc8f97fa2aad878a3 (patch) | |
| tree | e3ba23a76be651db0277874a5d5e4d2d93aa52f0 /Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp | |
| parent | 64af8abcaebf48e183897908f434896f3432bb53 (diff) | |
initial implementation of fog range adjust, I don't think is correct or work right but is a start.
some tweaks and fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6957 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp b/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp index 285d9a4335..a61c8688a3 100644 --- a/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp +++ b/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp @@ -216,16 +216,16 @@ unsigned int ps_constant_offset_table[] = { 68, 72, // C_ZBIAS, 8 76, 80, // C_INDTEXSCALE, 8 84, 88, 92, 96, 100, 104, // C_INDTEXMTX, 24 - 108, 112, // C_FOG, 8 - 116, 120, 124, 128, 132, // C_PLIGHTS0, 20 - 136, 140, 144, 148, 152, // C_PLIGHTS1, 20 - 156, 160, 164, 168, 172, // C_PLIGHTS2, 20 - 176, 180, 184, 188, 192, // C_PLIGHTS3, 20 - 196, 200, 204, 208, 212, // C_PLIGHTS4, 20 - 216, 220, 224, 228, 232, // C_PLIGHTS5, 20 - 236, 240, 244, 248, 252, // C_PLIGHTS6, 20 - 256, 260, 264, 268, 272, // C_PLIGHTS7, 20 - 276, 280, 284, 288, // C_PMATERIALS, 16 + 108, 112, 116, // C_FOG, 12 + 120, 124, 128, 132, 136, // C_PLIGHTS0, 20 + 140, 144, 148, 152, 156, // C_PLIGHTS1, 20 + 160, 164, 168, 172, 176, // C_PLIGHTS2, 20 + 180, 184, 188, 192, 196, // C_PLIGHTS3, 20 + 200, 204, 208, 212, 216, // C_PLIGHTS4, 20 + 220, 224, 228, 232, 236, // C_PLIGHTS5, 20 + 240, 244, 248, 252, 256, // C_PLIGHTS6, 20 + 260, 264, 268, 272, 276, // C_PLIGHTS7, 20 + 280, 284, 288, 292 // C_PMATERIALS, 16 }; void SetPSConstant4f(unsigned int const_number, float f1, float f2, float f3, float f4) { |
