dolphin/Source/Plugins/Plugin_VideoOGL
pierre 236f75aac3 Make shader for copying from depth buffer to texture more resilent against precision loss.
The theoretical result is slightly different to the original shader because the
final adjustment is to the range [0/255..255/255] instead of 
[0/16777215..16777215/16777215].

The real result is vastly different on some gpus that were giving incorrect results
of bits 23..16 (y-component) wrapping around while bits 31..24 (z-component)
stayed the same, and bits 31..24 changing while in the middle of the value range
for bits 23..16 for large depth values.

This should fix issue #3123.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6217 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-09-19 20:01:17 +00:00
..
Src Make shader for copying from depth buffer to texture more resilent against precision loss. 2010-09-19 20:01:17 +00:00
Plugin_VideoOGL.vcproj addendum to last commit: forgot files outside the /Externals/GLew directory... 2010-09-09 17:52:52 +00:00