pcsx2/plugins/zzogl-pg/opengl
gregory.hainaut 4a23585a55 [zzogl]: asm work. Asm was totally broken. At least in release build.
* use volatile keyword to avoid gcc removing the function...
* Use name variable in asm code instead of %n
* Fix constraint on s_clut16mask. There are input, not output...

Arcum can you look at this 2 things thanks.
-> code is still broken in one place. s_clut16mask & s_clut16mask2 
re null in the code generated by gcc ! To fix it (do not know why), we can declare them as static. But I'm not sure
on the impact and I can not test windows...
-> s_clut16mask is declared as a 256bits numbers instead of 128 !


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3494 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-15 16:32:59 +00:00
..
Linux zzogl-pg: Removed some redundant code in the new register code. 2010-07-11 03:30:35 +00:00
Win32 zzogl-pg: A few Windows changes, and fix an incorrect variable type. 2010-07-10 12:41:49 +00:00
ZeroGSShaders zzogl-pg: Hack and slash at zerogs.h. 2010-07-03 07:57:56 +00:00
ctx0 zzogl-pg: Create a local fork of ZZOgl to play with. Currently just ZZOgl 211 with name and version changes. 2010-03-19 00:31:15 +00:00
ctx1 zzogl-pg: Create a local fork of ZZOgl to play with. Currently just ZZOgl 211 with name and version changes. 2010-03-19 00:31:15 +00:00
CMakeLists.txt [cmake] 2010-07-13 09:16:13 +00:00
CRC.h zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
GLWin32.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
GLWinX11.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
GS.h zzogl-pg: A few Windows changes, and fix an incorrect variable type. 2010-07-10 12:41:49 +00:00
GSmain.cpp zzogl-pg: A few Windows changes, and fix an incorrect variable type. 2010-07-10 12:41:49 +00:00
GifTransfer.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
GifTransfer.h zzogl-pg: A few Windows changes, and fix an incorrect variable type. 2010-07-10 12:41:49 +00:00
HostMemory.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
Makefile.am zzogl-pg: Separate out some profile code. 2010-05-02 03:09:20 +00:00
Mem.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
Mem.h zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
Mem_Swizzle.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
Mem_Swizzle.h zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
Mem_Tables.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
Mem_Transmit.h zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
NewRegs.cpp zzogl-pg: Bug fig on new register code. 2010-07-11 04:53:09 +00:00
NewRegs.h zzogl-pg: Removed some redundant code in the new register code. 2010-07-11 03:30:35 +00:00
Profile.cpp zzogl-pg: A few Windows changes, and fix an incorrect variable type. 2010-07-10 12:41:49 +00:00
Profile.h zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
README.txt zzogl-pg: Create a local fork of ZZOgl to play with. Currently just ZZOgl 211 with name and version changes. 2010-03-19 00:31:15 +00:00
Regs.cpp zzogl-pg: Add some register logging code. Fix a bug in the new register code I noticed. 2010-07-10 10:25:48 +00:00
Regs.h zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
Util.h zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
ZZGl.h zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
ZZKeyboard.cpp zzogl-pg: Removed some redundant code in the new register code. 2010-07-11 03:30:35 +00:00
ZZLog.cpp zzogl-pg: Add some register logging code. Fix a bug in the new register code I noticed. 2010-07-10 10:25:48 +00:00
ZZLog.h zzogl-pg: Add some register logging code. Fix a bug in the new register code I noticed. 2010-07-10 10:25:48 +00:00
ZZoglCRTC.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
ZZoglCRTC.h zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
ZZoglCreate.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
ZZoglFlush.cpp zzogl-pg: Removed some redundant code in the new register code. 2010-07-11 03:30:35 +00:00
ZZoglSave.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
ZZoglShaders.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
ZZoglShoots.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
ZZoglVB.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
buildshaders.bat zzogl-pg: Create a local fork of ZZOgl to play with. Currently just ZZOgl 211 with name and version changes. 2010-03-19 00:31:15 +00:00
common.h zzogl-pg: Got rid of the logging macros. Changed the text of some of the messages a bit. 2010-04-25 08:33:05 +00:00
compile zzogl-pg: Create a local fork of ZZOgl to play with. Currently just ZZOgl 211 with name and version changes. 2010-03-19 00:31:15 +00:00
configure.ac zzogl-pg: Remove old 64 bit code. 2010-03-19 01:17:42 +00:00
depcomp zzogl-pg: Create a local fork of ZZOgl to play with. Currently just ZZOgl 211 with name and version changes. 2010-03-19 00:31:15 +00:00
glprocs.c [copyright] 2010-07-08 18:59:44 +00:00
glprocs.h [copyright] 2010-07-08 18:59:44 +00:00
install-sh zzogl-pg: Create a local fork of ZZOgl to play with. Currently just ZZOgl 211 with name and version changes. 2010-03-19 00:31:15 +00:00
memcpy_amd.cpp Removed all trailing whitespace in *.c *.cpp *.h because it irritates me. 2010-04-25 00:31:27 +00:00
missing zzogl-pg: Create a local fork of ZZOgl to play with. Currently just ZZOgl 211 with name and version changes. 2010-03-19 00:31:15 +00:00
ps2hw.dat zzogl-pg: Create a local fork of ZZOgl to play with. Currently just ZZOgl 211 with name and version changes. 2010-03-19 00:31:15 +00:00
ps2hw.fx [copyright] 2010-07-08 16:51:56 +00:00
rasterfont.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
rasterfont.h zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
shaders.sh zzogl-pg: Create a local fork of ZZOgl to play with. Currently just ZZOgl 211 with name and version changes. 2010-03-19 00:31:15 +00:00
targets.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
targets.h zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
x86-32.S [asm] * Set a good default GNU-stack note. Need to properly support the nx bits (security concerns) 2010-07-05 15:56:38 +00:00
x86-32.asm zzogl-pg: Stop the plugin from crashing under windows. 2010-03-26 04:40:21 +00:00
x86.cpp [zzogl]: asm work. Asm was totally broken. At least in release build. 2010-07-15 16:32:59 +00:00
x86.h zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
zerogs.cpp zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
zerogs.h zzogl-pg: Be more consistant about the plugin name and years in the headers. 2010-07-10 08:20:50 +00:00
zerogsmath.h zzogl-pg: Shuffle things around a bit. 2010-06-11 11:48:07 +00:00
zpipe.cpp * Apply a co-patch of Air and me to use linux friendly include path 2010-06-11 13:51:43 +00:00
zpipe.h zzogl-pg: Create a local fork of ZZOgl to play with. Currently just ZZOgl 211 with name and version changes. 2010-03-19 00:31:15 +00:00

README.txt

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

ZeroGS heavily uses GPU shaders. All the shaders are written in nVidia's Cg language and can be found in ps2hw.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.