Commit Graph

21 Commits

Author SHA1 Message Date
NeoBrainX
c84cddc83a Revert r7078.
Downgrades Cg to 3.0.0007 again since the November release caused too much trouble for some users.
Fixes issue 4107.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7595 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-06-13 11:17:36 +00:00
Shawn Hoffman
7fc40de8c7 update Cg on windows to 3.0 November 2010...I tested it and didn't see the problems mentioned in issue 4009.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7078 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-05 05:55:12 +00:00
Soren Jorvang
25716f067c Revert to Cg.framework 3.0.0007. 3.0.0015 has problems.
Fixes issue 4009.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6982 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-30 02:27:44 +00:00
Soren Jorvang
e53c8188c0 Update Cg.framework to version 3.0.0015.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6900 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-24 00:26:39 +00:00
Soren Jorvang
70f4dd9df3 Lipo the ppc fat out of Cg to save some space.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6799 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-01-09 21:05:34 +00:00
Shawn Hoffman
00327b0494 Update Cg for windows to 3.0.0007
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6195 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-09-09 17:11:51 +00:00
Soren Jorvang
a1de442ed8 Update the Cg framework for OS X to version 3.0.17.
Tested with ATI 2600 and NVidia 9400 graphics.

I have not updated the header files. There doesn't appear to be any
obvious interface changes for OS X, but the same might not be true
for Windows.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6194 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-09-09 13:25:43 +00:00
NeoBrainX
da4c3a5f29 Committing some cleanups by avindra:
- fix numerous warnings
- make some variables unsigned
- remove redundant code and header inclusions
- make code more compact in lots of cases

Committing some additional changes by myself:
- additional header cleanups
- cleanup DX11 initialization/shutdown process (hinted at by avindra)
- Remove the cgD3D9 stuff from Externals since it's no longer needed

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5903 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-18 10:11:34 +00:00
Soren Jorvang
3e383aa8eb Maintaining Leopard binary compatibility turns out be a a bit cumbersome.
For a typical OS X app, one only needs to specify the SDK version and the
target OS version range.

Because we use OpenCL which is new in 10.6, however, we must be somewhat
more verbose in order to make use of the forward compatibility facilities.

Unfortunately, the critical bit that is required to have binaries built
on 10.6 work on 10.5, namely disabling the new compact __LINKEDIT format,
causes stack alignment crashes at emulation time on 10.6, so for now
Leopard users still have to build Dolphin themselves.

Hopefully, this stack alignment problem will turn out to be coincident
with lingering alignment issues.

Include the OS X version of the Cg framework in Externals as with the
Windows one. The header files appear to be the same in the Windows and the
OS X builds of the February 2.2 Cg toolkit, although they are differently
munged by what appears to be some automatic process, so no new duplicates.

Any upgrades to the Cg libraries will of course need to be done in sync.

I do hope that Sonicadvance1's GLSL work will enable us to get rid of Cg.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5893 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-17 19:43:26 +00:00
Shawn Hoffman
4a0c8fc0c9 Hg:
enable newline normalization
get revision number via `hg svn info` for svnrev.h
ignore incremental/generated binary files (windows/VS at least)
leave a comment if some files need native eol set in svnprops

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5637 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-09 01:37:08 +00:00
Shawn Hoffman
4fe3924d54 Update Cg to 2.2 Feb 2010
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5315 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-10 16:22:45 +00:00
death2droid
2a6973f390 Update CG 2.2 April to CG 2.2 October
Release Notes:(COPY AND PASTED)
The October 2009 version of Cg 2.2 contains the following improvements:
 Allow compiler options in effect compile statements
 e.g. VertexProgram = compile vp40 "-po PosInv=1" shader();
 Better performance when running on multicore CPUs
 Choosing the "latest" profile is now deferred until effect validation
 Improved the inverse matrix computation in cgGLSetStateMatrixParameter
 Better memory behavior when a program is repeatedly recompiled
 Fixed an issue when using PSIZE semantic with ps_3_0 and ps_4_0 profiles
 cgCombinePrograms now works with CG_OBJECT programs
 cgGetNextProgram was always returning 0
 Fixed a problem with effect parameters and cgGLGetTextureEnum
 Allow comments prior to the shader version in D3D asm blocks of an effect
 HLSL10: Mark globally scoped temporaries 'static' to keep them out of constant
 buffers
 HLSL10: Allow any semantic for varyings provided the semantics match
 between stages
 HLSL10: Fix handling of TEXUNITn semantic
 HLSL10: Added support for arrays of samplers
 HLSL10: Empty structs for uniform parameters crashed the D3D compiler
 Fixed a problem when connecting parameters of type string
 Corrected issues in the fp20 profile on Solaris
 Now using MesaGLUT-7.5 for GLUT on Windows

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4648 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-06 00:41:17 +00:00
Shawn Hoffman
1d62782d89 upgrade to nvidia Cg 2.2
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3145 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-03 18:46:18 +00:00
XTra.KrazzY
63590b8879 Finished downgrade to Cg 2.0.0016
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2519 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 09:43:37 +00:00
XTra.KrazzY
76cbdf8694 Finished the reverting of Cg.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2518 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 08:40:49 +00:00
XTra.KrazzY
e1850ae0f7 Reverted entire Cg to 2.0.0016 due to reported black screen issues.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2517 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-02 08:36:38 +00:00
XTra.KrazzY
3234bca193 Direct3D + Cg progress, the plugin is still not working due to some missing features.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2494 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01 01:09:32 +00:00
Shawn Hoffman
bebd610c9f update cg to 2.1.0.17
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2471 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28 17:22:08 +00:00
bushing
e6fe5ec42f set svn:eol-style=native for Externals/**.h
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1437 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-08 04:36:27 +00:00
Shawn Hoffman
a3abeed4f2 remove Binary/win32 and Binary/x64 from the svn, and auto copy everything there. Also fix a bug with padsimple where if you stopped emulation while the pad was rumbling, it would do so indefinitely.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1157 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-11-12 21:29:28 +00:00
hrydgard
775dc8a9c0 Initial megacommit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-07-12 17:40:22 +00:00