pcsx2/plugins/zerogs/dx
Jake.Stine 6c75ee61e5 ZeroGS: Add support for GSsetSettingsDir.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2371 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-12-20 15:29:38 +00:00
..
Windows ZeroGS: Add support for GSsetSettingsDir. 2009-12-20 15:29:38 +00:00
ZeroGSShaders Re-Added eol-style:native properties to the repository. The settings got lost when we merged from Playground to Official. 2009-02-09 21:15:56 +00:00
backup.bat git-svn-id: http://pcsx2.googlecode.com/svn/trunk@425 96395faa-99c1-11dd-bbfe-3dabce05a288 2009-02-06 19:52:59 +00:00
buildshaders.bat git-svn-id: http://pcsx2.googlecode.com/svn/trunk@425 96395faa-99c1-11dd-bbfe-3dabce05a288 2009-02-06 19:52:59 +00:00
common.h Re-Added eol-style:native properties to the repository. The settings got lost when we merged from Playground to Official. 2009-02-09 21:15:56 +00:00
GS.h ZeroGS: Add support for GSsetSettingsDir. 2009-12-20 15:29:38 +00:00
GSmain.cpp ZeroGS: Add support for GSsetSettingsDir. 2009-12-20 15:29:38 +00:00
Mem.cpp Renamed PCSX2_ALIGNED to __aligned and removed the need for excess parenthesis and oddball qualifiers. Left the old macros in Pcsx2defs.h for now, just in case. Redid some of the storage organization of microVU and iFPU consts and temporaries while I was at it, using structs instead of naked vars -- should improve cpu cache behavior a wee bit. 2009-10-05 02:15:49 +00:00
Mem.h Re-Added eol-style:native properties to the repository. The settings got lost when we merged from Playground to Official. 2009-02-09 21:15:56 +00:00
memcpy_amd.cpp Major Build System changes: 2009-06-18 08:20:19 +00:00
ps2hw_ctx0.fx git-svn-id: http://pcsx2.googlecode.com/svn/trunk@425 96395faa-99c1-11dd-bbfe-3dabce05a288 2009-02-06 19:52:59 +00:00
ps2hw_ctx1.fx git-svn-id: http://pcsx2.googlecode.com/svn/trunk@425 96395faa-99c1-11dd-bbfe-3dabce05a288 2009-02-06 19:52:59 +00:00
ps2hw.fx git-svn-id: http://pcsx2.googlecode.com/svn/trunk@425 96395faa-99c1-11dd-bbfe-3dabce05a288 2009-02-06 19:52:59 +00:00
README.txt git-svn-id: http://pcsx2.googlecode.com/svn/trunk@425 96395faa-99c1-11dd-bbfe-3dabce05a288 2009-02-06 19:52:59 +00:00
Regs.cpp ZeroGS: Remove compiler errors under DXSDK Aug 2009. 2009-09-19 13:15:14 +00:00
Regs.h Re-Added eol-style:native properties to the repository. The settings got lost when we merged from Playground to Official. 2009-02-09 21:15:56 +00:00
targets.cpp ZeroGS: Remove compiler errors under DXSDK Aug 2009. 2009-09-19 13:15:14 +00:00
targets.h Re-Added eol-style:native properties to the repository. The settings got lost when we merged from Playground to Official. 2009-02-09 21:15:56 +00:00
x86-32.asm git-svn-id: http://pcsx2.googlecode.com/svn/trunk@425 96395faa-99c1-11dd-bbfe-3dabce05a288 2009-02-06 19:52:59 +00:00
x86-64.asm git-svn-id: http://pcsx2.googlecode.com/svn/trunk@425 96395faa-99c1-11dd-bbfe-3dabce05a288 2009-02-06 19:52:59 +00:00
x86.cpp Renamed PCSX2_ALIGNED to __aligned and removed the need for excess parenthesis and oddball qualifiers. Left the old macros in Pcsx2defs.h for now, just in case. Redid some of the storage organization of microVU and iFPU consts and temporaries while I was at it, using structs instead of naked vars -- should improve cpu cache behavior a wee bit. 2009-10-05 02:15:49 +00:00
x86.h Re-Added eol-style:native properties to the repository. The settings got lost when we merged from Playground to Official. 2009-02-09 21:15:56 +00:00
zerogs.cpp ZeroGS: Remove compiler errors under DXSDK Aug 2009. 2009-09-19 13:15:14 +00:00
zerogs.h Yay more header file cleanup chores! Removed most of the Windows.h dependencies from non-Win32 specific files, and fixed the annoying ARRAYSIZE warnings. Let's say it together: "We all should love C's archaic include system, because it makes Jake and Arcum work really hard for no good reason." 2009-02-28 20:55:53 +00:00

ZeroGS DirectX
--------------
author: zerofrog (@gmail.com)

ZeroGS heavily uses GPU shaders. All the shaders are written in Microsoft's HLSL language and can be found in ps2hw.fx, ps2hw_ctx0.fx and ps2hw_ctx1.fx.

'Dev' versions of ZeroGS directly read ps2hw.fx
'Release' versions of ZeroGS read a precompiled version of ps2hw.fx from ps2hw.dat. In order to build ps2hw.dat, compile ZeroGSShaders and execute:

./ZeroGSShaders ps2hw.fx ps2hw.dat

For Windows users, once ZeroGSShaders is built, run buildshaders.bat directly. It will update all necessary resource files.
Note that ZeroGSShaders has only been tested in Windows so far, but the Windows ps2hw.dat can be used in linux builds.