Commit Graph

1235 Commits

Author SHA1 Message Date
Unknown W. Brackets
1ed8edb0d3 Avoid some dangerous hex constant widths. 2013-08-22 23:23:48 -07:00
Henrik Rydgard
772f9cc585 Adapt the basic spline code from the softgpu to the GL code.
Fixes (but not perfectly) games that make simple use of splines like LocoRoco.
(The locos are a little jagged)
2013-08-23 00:33:18 +02:00
Henrik Rydgard
416f0c56e8 Experiment: Use glBlendFuncSeparate to not change dest alpha when blending.
Fixes Persona blending issues.
2013-08-22 19:14:04 +02:00
raven02
a3cd8743ba Scisscor small fix 2013-08-22 22:21:03 +08:00
raven02
7245164604 Change to AttachFramebufferValid() for suboffset textures 2013-08-22 11:31:39 +08:00
Henrik Rydgard
3cd80e1c51 GLES: Discard "AA" lines, we can't do anything that makes sense with them anyway.
Should fix the "wireframe look" in one game, I can't test it though.
2013-08-21 20:45:22 +02:00
Unknown W. Brackets
a217cefa11 Tone down some less needed reporting. 2013-08-21 08:40:29 -07:00
Henrik Rydgård
07a41e3432 Merge pull request #3287 from unknownbrackets/fbo-minor
Compare the right fb address for suboffset textures
2013-08-21 00:38:29 -07:00
Unknown W. Brackets
5b5bee86dd Compare the right fb address for suboffset textures.
If that case is changed to AttachFramebufferValid(), fixes Valkyrie Profile's graphics mostly.

Still seems to hang somewhat into the game...
2013-08-21 00:34:47 -07:00
Henrik Rydgard
d9cd0d1fe9 Been meaning to rename DisplayListInterpreter->GLES_GPU forever 2013-08-20 22:34:47 +02:00
raven02
9931e5c5cc Fragment : Set doTextureAlpha = gstate.isTextureAlphaUsed(); 2013-08-20 21:32:07 +08:00
raven02
282d072793 Add isTextureAlphaUsed() 2013-08-20 21:28:16 +08:00
Henrik Rydgård
d9897719b7 Merge pull request #3260 from raven02/patch-8
Treat light type 3 as GE_LIGHTTYPE_SPOT
2013-08-20 05:13:26 -07:00
raven02
4899f67fa1 Missing one case type == GE_LIGHTTYPE_UNKNOWN 2013-08-20 19:43:26 +08:00
Henrik Rydgård
6bf448bcee Merge pull request #3261 from raven02/patch-9
Use GETexProjMapMode constants for GE_TEXMAP_TEXTURE_MATRIX
2013-08-20 00:33:32 -07:00
Unknown W. Brackets
5461d63889 Backpeddle a bit on tex bufw alignment.
Maybe they're just minimums?
2013-08-19 23:57:29 -07:00
raven02
77090143a0 SW : use GETexProjMapMod constants 2013-08-20 11:58:34 +08:00
raven02
a328bc968c HW: Use GETexProjMapMode constants 2013-08-20 11:56:43 +08:00
raven02
1981195c5b SW : Treat light type 3 as light type 2 2013-08-20 11:45:09 +08:00
raven02
4e533adf52 HW : Treat light type 3 as light type 2 2013-08-20 11:43:18 +08:00
raven02
2820e5303f Add GE_LIGHTTYPE_UNKNOWN 2013-08-20 11:41:24 +08:00
Kingcom
f85d56a882 Use reverse order framebuffer pixel types on AMD GPUs 2013-08-19 20:18:32 +02:00
raven02
9e10239c9b Revert part of #3108 to avoid rendering garbage memory 2013-08-19 21:39:56 +08:00
Henrik Rydgård
61d2042083 Merge pull request #3243 from unknownbrackets/uv-gen
Treat UV gen mode 3 as GE_TEXMAP_TEXTURE_COORDS.
2013-08-19 00:55:03 -07:00
Unknown W. Brackets
12c5f5e1e6 Use constants for other uv gen mode usages.
And also change them to treat 3 as coords as well.
2013-08-19 00:43:54 -07:00
Unknown W. Brackets
a5cf284c1b Treat UV gen mode 3 as GE_TEXMAP_TEXTURE_COORDS.
Fixes Riviera, #2214.
2013-08-19 00:33:15 -07:00
Unknown W. Brackets
e96a825743 Align non-compressed textures to 16 bytes. 2013-08-18 22:43:26 -07:00
The Dax
8efb5280d5 Fix Gran Turismo's warped text. 2013-08-18 19:13:48 -04:00
Henrik Rydgard
f443fae780 Disable a few things that should not be changable at runtime 2013-08-18 23:11:47 +02:00
Henrik Rydgard
f4c05392e2 GLES: Disable logic op while alpha blend is enabled. Having them both enabled at the same time makes no sense, and this seems like the safest possible fix for #3220 as logic op usage is rare. 2013-08-18 13:00:14 +02:00
Henrik Rydgård
0f1d8f82df Merge pull request #3217 from unknownbrackets/softgpu
Fix softgpu's 4444 color conversion
2013-08-18 01:34:03 -07:00
Sacha
8908ec22a8 Small changes. Symbian buildfix. 2013-08-18 18:17:23 +10:00
Sacha
e7cf9361ff Symbian can't compile Software GPU (internal compiler error). Probably can't run it well either. So, disabled. 2013-08-18 18:07:15 +10:00
Unknown W. Brackets
ff9cff08ed Fix softgpu's 4444 color conversion.
And use the standard 4->8 swizzling funcs (more self documenting.)
2013-08-17 17:33:10 -07:00
Henrik Rydgård
52940abf31 Merge pull request #3212 from unknownbrackets/softgpu
Software GPU width tweak
2013-08-17 10:58:54 -07:00
Unknown W. Brackets
92dbfd177a Render the display width properly in softgpu. 2013-08-17 10:57:08 -07:00
Unknown W. Brackets
90affa2203 Remove very questionable DrawSync override. 2013-08-17 09:53:10 -07:00
Unknown W. Brackets
a4bea9c878 Add support for multithreading in softgpu. 2013-08-17 09:52:35 -07:00
Unknown W. Brackets
f501c98a5d Report "Software" for sw GPU engine. 2013-08-17 09:48:06 -07:00
raven02
758cc878fb softgpu : should be vreader.ReadColor1 2013-08-17 22:21:14 +08:00
raven02
8ff2a1bb35 softgpu : fix v_color0 to use MaterialAmbient 2013-08-17 22:05:50 +08:00
Henrik Rydgard
9f3848b49c swrast warning fixes 2013-08-17 12:37:47 +02:00
Henrik Rydgård
fa59ba4e3d Merge pull request #3197 from neobrain/softgpu2
Software Renderer
2013-08-17 02:22:22 -07:00
neobrain
edc0dd9e48 GPU: Remove unncessary flags in the VC project file. 2013-08-17 10:50:17 +02:00
Unknown W. Brackets
52f1de8f1d Use xxHash instead of CityHash, it's faster.
At least on Windows it's definitely got the edge.
2013-08-16 23:48:42 -07:00
Tony Wasserka
74eafcab1a softgpu: Process rasterization in screen space, rather than drawing space. 2013-08-16 23:49:15 +02:00
Tony Wasserka
c707140512 softgpu: Implement normal reversal. 2013-08-16 23:49:15 +02:00
Tony Wasserka
d0c05b78d6 softgpu: Fix some stencil testing related bugs. 2013-08-16 23:49:15 +02:00
Tony Wasserka
67f95d38e5 softgpu: Some cleanups in SoftGpu.cpp 2013-08-16 23:49:15 +02:00
Tony Wasserka
45577507f3 softgpu: Disable clipping if it's not requested by the game. Also fix some clipping-related bugs. 2013-08-16 23:49:14 +02:00