Unknown W. Brackets
7a9fe955f8
softgpu: Only check clear mode once for depthtest.
...
Small, small optimization. It's only called outside clear mode.
2013-11-17 19:32:21 -08:00
Unknown W. Brackets
dfadb67ea1
Avoid some operator overloads.
...
Causing ambiguity.
2013-11-17 14:42:58 -08:00
Unknown W. Brackets
1311d71455
softgpu: Fix reversed stencil test funcs.
...
LESS applies to the ref compared to the stencil, not the stencil compared
to the ref.
With this, stencil testing is finally being done properly in Star Ocean.
2013-11-10 03:21:01 -08:00
Unknown W. Brackets
2db98b8669
softgpu: Don't apply logic op to stencil value.
...
Also, they were not at all applying correctly.
2013-11-10 03:21:00 -08:00
Unknown W. Brackets
438928de40
softgpu: Apply stencil op even when depth disabled.
2013-11-10 03:21:00 -08:00
Unknown W. Brackets
5327ce80d5
softgpu: throughmode doesn't disable any tests.
2013-11-10 03:20:59 -08:00
Unknown W. Brackets
5751e0a0a4
softgpu: Simplify color clamping.
2013-11-10 03:20:58 -08:00
Unknown W. Brackets
21deaef35a
Invert gstate.getClearModeColorMask().
...
It makes more sense matching gstate.getColorMask().
2013-11-10 03:20:58 -08:00
Unknown W. Brackets
5817684e28
softgpu: Never write alpha, only stencil.
2013-11-10 03:20:57 -08:00
Unknown W. Brackets
be9fe9ad9a
softgpu: Fix stencil read/write in some formats.
2013-11-10 03:20:56 -08:00
Unknown W. Brackets
c1897b9e54
Compare stencil correctly based on bitdepth.
...
All sorts of funny rules. See comments here:
https://github.com/hrydgard/ppsspp/pull/4150
2013-10-12 22:20:38 -07:00
Unknown W. Brackets
b9811c7c97
Use the slow way to get the softgpu texture.
...
So that it actually shows what the softgpu is using.
2013-10-07 01:26:48 -07:00
Unknown W. Brackets
5c2d418d95
Read softgpu stencil using existing funcs.
...
Slower but at least it's the same.
2013-10-07 01:02:58 -07:00
Unknown W. Brackets
b9453f82ca
Use the full alpha bits for stencil in softgpu.
...
It works to increment and set the stencil, so it can't be high bits only.
2013-10-07 01:00:43 -07:00
Unknown W. Brackets
013e3f3be2
Add very basic and slow DXT decoding to softgpu.
2013-10-05 12:25:18 -07:00
Unknown W. Brackets
e79781b1a3
softgpu: Skip the stencil/depth tests in a clear.
2013-09-28 12:15:07 -07:00
Henrik Rydgard
82a2f6443d
Oops (last commit)
2013-09-21 21:05:15 +02:00
Henrik Rydgard
34341b0373
Minor optimization in swrast
2013-09-21 21:03:43 +02:00
Henrik Rydgard
48aac7cf9f
Softgpu: Wrap textures in through mode to avoid crashes in texturing.
2013-09-21 20:28:26 +02:00
The Dax
d102baacd0
Prep PPSSPP for Visual Studio 2013.
2013-09-17 10:27:06 -04:00
Unknown W. Brackets
ad4bd8ed74
softgpu: small optimization, precompute tex info.
2013-09-15 21:39:28 -07:00
Unknown W. Brackets
f43997a47f
Update bufw handling in all gpus.
...
This fixes the softgpu as well, at least.
2013-09-15 21:27:13 -07:00
Unknown W. Brackets
dc81547d32
Use less pointer math in softgpu buffer access.
2013-09-14 11:36:56 -07:00
Unknown W. Brackets
40e3e8e930
Use a gstate enum, report unhandled blend mode.
2013-09-14 07:36:43 -07:00
Unknown W. Brackets
1a7e0e40cf
Refactor the logic op into a func like the others.
2013-09-14 07:21:58 -07:00
Unknown W. Brackets
c3839a53e5
Fix some minor warnings.
2013-09-07 22:40:08 -07:00
Henrik Rydgard
78d3ee3d6a
Misc cleanup, mostly logging code
2013-09-07 13:01:19 +02:00
raven02
59599a62d3
Build fix
2013-09-05 16:00:11 +08:00
Unknown W. Brackets
2006bdc6a3
Fix negative texel wrapping in softgpu.
...
No longer crashes in Jeanne d'Arc, still looks awful.
Also faster on x64 at least.
2013-09-02 21:29:19 -07:00
Unknown W. Brackets
8d16b76c15
Add some reporting to the software GPU.
2013-09-01 01:15:07 -07:00
Unknown W. Brackets
7349de55d1
Fix some initialization/sprintf warnings.
2013-09-01 01:15:07 -07:00
raven02
eca79d35a7
softgpu : use switch case for texture format
2013-08-27 16:26:01 +08:00
raven02
bfd60e95a4
softgpu: Use switch case for different texture mapping mode
2013-08-27 16:15:53 +08:00
Henrik Rydgård
99c1ab38d7
Merge pull request #3224 from raven02/patch-5
...
softgpu : Fix depth issue in FF Type-0
2013-08-24 16:10:33 -07:00
Unknown W. Brackets
6e8d318322
Bugger typo.
2013-08-24 11:36:01 -07:00
Unknown W. Brackets
cd70250d8c
Use more accessors, simplify softgpu colortest.
2013-08-24 11:34:38 -07:00
Unknown W. Brackets
5ab04a3076
Centralize CLUT handling form gstate values.
2013-08-24 11:34:37 -07:00
Unknown W. Brackets
7f6cf3ec29
Add a few gstate accessors for texture type stuff.
2013-08-24 11:34:37 -07:00
Unknown W. Brackets
55e02369a5
Workaround an ICE in some versions of gcc.
2013-08-24 11:33:49 -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
raven02
87434e8dad
softgpu : Fix depth issue in FF Type-0
2013-08-18 22:58:23 +08:00
Henrik Rydgard
9f3848b49c
swrast warning fixes
2013-08-17 12:37:47 +02:00
Tony Wasserka
74eafcab1a
softgpu: Process rasterization in screen space, rather than drawing space.
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
6b90aa250d
softgpu: Polish some helper function signatures.
2013-08-16 23:49:13 +02:00
Tony Wasserka
f6feb874ed
softgpu/Rasterizer: Structure some code more clearly.
2013-08-16 23:49:12 +02:00
Tony Wasserka
1450157e09
softgpu: Implement environment mapping.
2013-08-16 23:49:12 +02:00
Tony Wasserka
d2f30961af
softgpu: Make perspective correct uv mapping code more readable and implement projection mapping.
2013-08-16 23:49:12 +02:00
Tony Wasserka
104feea8eb
softgpu: Restructure texture sampling code a bit.
2013-08-16 23:49:12 +02:00
Tony Wasserka
bacadefde4
softgpu: Optimization, part 3.
2013-08-16 23:49:12 +02:00