Commit Graph

2005 Commits

Author SHA1 Message Date
Henrik Rydgård
431395eceb Merge pull request #4905 from raven02/patch-23
Bind framebuffer to 0 if framebuffer status is incomplete
2014-01-03 03:47:42 -08:00
Henrik Rydgård
9281fccacd Merge pull request #4939 from unknownbrackets/texcache
Add two options to adjust the texture cache
2014-01-02 08:32:59 -08:00
raven02
164a6846b0 Indentation fix 2014-01-02 20:24:57 +08:00
raven02
5f5220b608 Revert acf4562 2014-01-02 20:17:58 +08:00
Henrik Rydgård
946b4c4a60 Merge pull request #4974 from raven02/patch-31
Exclude viewport restore for PowerVR GPU
2014-01-02 03:22:52 -08:00
raven02
6467c70f08 Exclude PowerVR chipset only 2014-01-02 19:21:22 +08:00
raven02
e84a7b1586 Viewport restore only for Adreno GPU 2014-01-02 12:17:41 +08:00
Tony Wasserka
4c720ee375 softgpu: Fix typo in TransformUnit. 2014-01-02 02:10:12 +01:00
Unknown W. Brackets
0f5aae9c49 Cleanup differences in DirectX9 texcache code. 2014-01-01 15:49:10 -08:00
Unknown W. Brackets
e477c50ea1 Fix #4922, kill age checks in texcache. 2014-01-01 15:49:10 -08:00
Unknown W. Brackets
e24f45b9a4 Add ini options to configure the texture cache. 2014-01-01 15:49:09 -08:00
Henrik Rydgard
91531a9792 Get rid of "ATIClampBug", it's not a bug, it's just lack of full non-pow-2 texture support 2014-01-02 00:09:01 +01:00
Henrik Rydgard
a9832fb79a Set cleardepth the traditional way on desktop. 2014-01-01 23:40:35 +01:00
W.MS/王京
032f40b5a1 fix the typo, maybe
LOL
2014-01-02 01:30:24 +08:00
raven02
5d05b4f16a ClearBuffer(): Clear depth to 1.0 2014-01-01 22:49:50 +08:00
Henrik Rydgård
e5e17fbc6e More include cleanup. Hoping for very slightly faster compile times.. 2013-12-30 10:49:05 +01:00
Henrik Rydgård
079d9c04dd Merge pull request #4942 from unknownbrackets/warnings
Fix some warnings, possibly fix Symbian
2013-12-30 00:28:48 -08:00
raven02
d59351d3b0 Mipmapping only enable when texture scaling disable 2013-12-30 14:28:28 +08:00
Unknown W. Brackets
ca78f49e5b Attempt to fix Symbian compilation. 2013-12-29 16:21:16 -08:00
Unknown W. Brackets
db77dcd149 Fix some includes on Windows/etc. 2013-12-29 15:59:36 -08:00
Henrik Rydgård
87f203a5b8 More include untangling 2013-12-29 23:44:35 +01:00
Henrik Rydgård
79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
Unknown W. Brackets
e6b2d00a2f Avoid reseved identifiers like _SP, etc.
R_SP is not that bad.
2013-12-29 14:25:34 -08:00
Henrik Rydgård
5dbc26aec8 Merge pull request #4937 from unknownbrackets/gpu-minor
Ignore material update when no vertex color, softgpu vertex preview
2013-12-29 13:49:24 -08:00
Unknown W. Brackets
8f73ae07c0 softgpu: Fix preview region y1 in ge debugger. 2013-12-29 13:45:10 -08:00
Unknown W. Brackets
473fb866e6 softgpu: Implement vertex preview.
And move ConvertMatrix4x3To4x4() into a common place since there were
differing implementations, which was only confusing.
2013-12-29 13:45:10 -08:00
Unknown W. Brackets
eb0ea71f24 softgpu: Use region for debugger buffer previews.
It's fine if it resizes or etc., but this should generally be the
interesting area of vram to show, without any confusing noise on the
side/etc.
2013-12-29 13:02:04 -08:00
Unknown W. Brackets
9f86959826 Fix typesafety (ScreenCoords not DrawingCoords.) 2013-12-29 12:59:26 -08:00
Unknown W. Brackets
25bc394284 Ignore the material update flag w/o vertex color.
Instead of using materialambient for all of them.

Fixes #3918, and seems to match tests with 3dstudio.
2013-12-29 12:57:30 -08:00
raven02
b44542abb7 Fix #4913 2013-12-29 22:30:56 +08:00
Henrik Rydgård
64717d1b02 Shaders: Make sure to always use matching versions.
Really should unify this somehow.
2013-12-29 12:27:19 +01:00
Henrik Rydgård
c277fe3019 Don't declare fragColor0 unless we will use it. See #4877 2013-12-29 11:26:56 +01:00
Henrik Rydgård
acf4562130 Merge pull request #4913 from raven02/patch-25
Set alpha mask based on ReplaceAlphaWithStencil()
2013-12-29 02:19:34 -08:00
Henrik Rydgård
0952674b37 Merge pull request #4898 from raven02/patch-21
GLES3: enable PSP-based mipmapping generation
2013-12-29 02:07:31 -08:00
raven02
d1327822d1 ReplaceAlphaWithStencil() has been checked for gstate.isStencilTestEnabled() 2013-12-26 11:33:53 +08:00
raven02
40efc5fb4d Regroup Stencil Testing 2013-12-26 11:18:16 +08:00
raven02
e5059d2c96 Set amask based on ReplaceAlphaWithStencil() 2013-12-25 19:42:08 +08:00
raven02
0a44bff7fa GLES3: Try to re-enable PSP-based mipmapping generation 2013-12-25 17:17:10 +08:00
raven02
9676f6943f Restore Alpha/ColorDoubling to do before color test 2013-12-25 15:39:37 +08:00
raven02
f97aacce45 Reformat stencilToAlpha a bit 2013-12-24 22:36:57 +08:00
raven02
cf50ace328 bind framebuffer to 0 if framebuffer status is incomplete 2013-12-22 16:03:39 +08:00
raven02
8a9ba716a0 GLES3: uses GL_MIN/MAX as supported 2013-12-22 15:20:04 +08:00
Henrik Rydgard
fe472b4255 Update native, setting ATIClampBug on Tegra as it has the same behaviour.
Fixes black screen in GTA on Tegra.
2013-12-21 13:47:49 +01:00
Henrik Rydgard
9e109e16d9 Android buildfix.
Also, this warning flag appears not supported. (4.6?)
2013-12-21 13:06:29 +01:00
raven02
4f81d97624 emnu fix#2 2013-12-21 16:18:38 +08:00
raven02
ad720b31e0 emnu fix#1 2013-12-21 16:17:40 +08:00
Henrik Rydgård
b2d0f37d96 Fix crashing on some OpenGL versions 2013-12-18 12:00:23 +01:00
Henrik Rydgard
0a1514161d GLSL 3.0 fix 2013-12-18 11:22:31 +01:00
Henrik Rydgard
832c933cb8 Some shader fixes 2013-12-17 23:38:58 +01:00
Henrik Rydgård
6432451334 Merge pull request #4864 from unknownbrackets/io-minor
Implement some ioctl commands for disc0:/ files
2013-12-17 00:38:04 -08:00