PCSX2 - The Playstation 2 Emulator
Go to file
sudonim1@gmail.com 1df5b7ef7a GSDX: Probably fix D3D10 and maybe D3D9 (might be working anyway but I think I have it addressing texel centres now) palette lookups. I noticed that this was broken in D3D10 while fixing the Realta Nua issue in r5273.
Explanation, because this gives me a headache and this might save someone else one (or I might be wrong and they might see why): in D3D10, 0.0 points to the centre of the leftmost texel and 1.0 points one texel to the right of the rightmost texel, so to map a UNORM uniformly across a texel we need to multiply the input by (w-1)/w.  In D3D9 0.0 points to the left edge of the leftmost texel and 1.0 to the right edge of the rightmost texel so after the multiplication we add 1/2w.

Actual texture sampling is probably not right for at least one of D3D9 and D3D10, but this headache is killing me.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5279 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-06-08 21:36:44 +00:00
3rdparty gsdx-ogl: sync from trunk 5179:5091 2012-04-26 19:51:07 +00:00
bin zzogl: 2012-06-08 18:14:47 +00:00
cmake zzogl: rework dump test, to avoid bad mix between u32/u8 2012-05-27 08:13:27 +00:00
common Handle exceptions raised inside the access violation exception filter which we use for various emulation tasks. 2012-04-07 15:35:53 +00:00
debian-unstable-upstream debian: don't ship null plugins 2012-06-02 08:01:04 +00:00
fps2bios Removed all trailing whitespace in *.c *.cpp *.h because it irritates me. 2010-04-25 00:31:27 +00:00
linux_various zzogl: 2012-06-08 18:14:47 +00:00
locales i18n: 2012-06-03 11:29:13 +00:00
nsis NSIS Un/Installer: updates (for both full/web installers): 2012-06-06 14:55:15 +00:00
pcsx2 Revert original fix for Realta Nua as Pseudonym found the proper fix. This should get rid of the regression on Agressive Inline and one of the Matt Hoffman games having textureless graphics. 2012-06-07 21:41:00 +00:00
plugins GSDX: Probably fix D3D10 and maybe D3D9 (might be working anyway but I think I have it addressing texel centres now) palette lookups. I noticed that this was broken in D3D10 while fixing the Realta Nua issue in r5273. 2012-06-08 21:36:44 +00:00
tools GSdx: CRC hacks: "Aggressive" mode (and related stuff). 2012-05-23 06:38:37 +00:00
CMakeLists.txt cmake: apply some updated pathes of Micove 2012-05-07 16:29:06 +00:00
COPYING.GPLv2 copyright again: 2012-04-18 14:09:18 +00:00
COPYING.GPLv3 copyright again: 2012-04-18 14:09:18 +00:00
COPYING.LGPLv2.1 copyright again: 2012-04-18 14:09:18 +00:00
COPYING.LGPLv3 copyright again: 2012-04-18 14:09:18 +00:00
build.sh debian: don't ship null plugins 2012-06-02 08:01:04 +00:00
clean_msvc.cmd Minor fixes to selecting isos and changing cdvd source types. 2010-04-27 16:20:49 +00:00
pcsx2-codeblocks.workspace zzogl: painfully merge the zzogl-dev branch 2012-04-19 21:22:08 +00:00
pcsx2_suite_2008.sln zzogl & VS: thanks Micove for the patch. 2012-04-21 16:13:45 +00:00
pcsx2_suite_2010.sln zzogl & VS: thanks Micove for the patch. 2012-04-21 16:13:45 +00:00
rebuild.sh copyright again: 2012-04-18 14:09:18 +00:00