Unknown W. Brackets
8aac734547
d3d: Correct texcoord scale.
...
Very obvious in for example LittleBigPlanet.
2014-09-08 21:00:46 -07:00
Unknown W. Brackets
b45711ba94
d3d: Centralize parts of the texture cache.
...
Should merge these.
2014-09-08 20:55:56 -07:00
Unknown W. Brackets
375e102647
d3d: Fix some shader issues with tex projection.
2014-09-08 19:33:12 -07:00
Unknown W. Brackets
ee6960ff7a
Hook the saveicon creation func in Growlanser IV.
2014-09-08 19:10:46 -07:00
Unknown W. Brackets
04147827ee
Account for texel offsets in the frag test lookup.
...
Darn, thought this wouldn't be necessary but it is is for 1/255 and other
values.
Without cache:
PowerVR: temp, add, mul, fract, mul, compare
Other: mul, add, floor, compare
With cache: mul, add, texture lookup, compare
2014-09-08 19:04:44 -07:00
Henrik Rydgard
aaa0180114
D3D: Always decode U16 coords to floats as there's no good corresponding vertex format that works on all GPUs.
...
Fixes Burnout and probably many more games.
2014-09-09 00:42:12 +02:00
Henrik Rydgard
ef0ae77e98
D3D: some cleanup and a crashfix on shutdown
2014-09-09 00:29:01 +02:00
Henrik Rydgard
338c7668be
Update native
2014-09-08 23:25:15 +02:00
Unknown W. Brackets
923c535deb
Merge pull request #6861 from hrydgard/depth-d3d
...
Improve depth buffering in D3D by computing a depth-flipped proj matrix but only when needed.
2014-09-08 14:17:19 -07:00
Henrik Rydgard
0a74243b61
Remove lying comment
2014-09-08 23:14:33 +02:00
Henrik Rydgard
01a1438dce
Improve depth buffering in D3D by computing a depth-flipped proj matrix but only when needed.
2014-09-08 23:10:23 +02:00
Henrik Rydgård
43ce2a188c
Merge pull request #6859 from unknownbrackets/gpu-minor
...
Keep track of size and format as of last draw per framebuf
2014-09-08 17:46:32 +02:00
Unknown W. Brackets
796bfb1160
Fix a crash when icon data fails to decode.
2014-09-08 07:50:01 -07:00
Unknown W. Brackets
ac97f1ed96
Avoid a very unlikely fbo leak.
2014-09-08 07:41:23 -07:00
Unknown W. Brackets
7e248376f8
Track the last drawn width/height/format.
...
This way we can apply render-to-self effects more correctly.
2014-09-08 07:40:43 -07:00
Unknown W. Brackets
76d5f67796
Arg, fix color testing from frag test cache.
2014-09-07 23:21:22 -07:00
Unknown W. Brackets
2532639f70
Refactor fbo binding into DrawPixels().
2014-09-07 21:53:22 -07:00
Unknown W. Brackets
32cc6bc845
Disable the PC/LR buttons outside a game.
...
They don't want and can cause hangs if clicked after a game is stopped.
2014-09-07 20:44:55 -07:00
Unknown W. Brackets
5d313d1af4
Fix crash in GE debugger when game quit.
...
Fixes #6856 .
2014-09-07 20:38:51 -07:00
Henrik Rydgård
1985e6db9a
Merge pull request #6853 from unknownbrackets/testcache
...
Cache fragment test results using a texture
2014-09-07 23:55:53 +02:00
Unknown W. Brackets
072e9c3a0d
Use a more logical name for the test tex creator.
2014-09-07 14:52:22 -07:00
Henrik Rydgård
d98480085a
Merge pull request #6854 from unknownbrackets/d3d9
...
Report shader errors in Direct3D 9, plug some leaks
2014-09-07 23:38:35 +02:00
Unknown W. Brackets
17ca3b8b36
Update native (reduce d3d9 leaks.)
2014-09-07 14:08:12 -07:00
Unknown W. Brackets
9f3deddef6
d3d: Release on shutdown in headless.
...
Could sync it up, just want to be able to run tests without major leaks.
2014-09-07 13:34:14 -07:00
Unknown W. Brackets
858df90dff
d3d: Release shaders and fbos on shutdown.
2014-09-07 13:15:39 -07:00
Unknown W. Brackets
34b1d13c29
d3d: Release vertex decls on shutdown.
2014-09-07 13:07:12 -07:00
Unknown W. Brackets
564ae9f184
d3d: Report shader compilation failures.
2014-09-07 11:01:19 -07:00
Unknown W. Brackets
4d54cad9bd
d3d: Reduce D3DX leaks.
2014-09-07 10:38:49 -07:00
Henrik Rydgård
dc209ff74c
Merge pull request #6852 from unknownbrackets/gpu-minor
...
Clear stencil/alpha when switching from 565, minor frag shader simplication
2014-09-07 19:11:09 +02:00
Unknown W. Brackets
c0908421ba
Skip binding when the test won't be used.
2014-09-07 10:06:57 -07:00
Unknown W. Brackets
95a620695b
Actually cache the last bound test texture.
2014-09-07 10:06:23 -07:00
Unknown W. Brackets
94c1271761
Add an experiment with using a texture for tests.
...
Using an option for now so it's easy to test, if it works well we can
maybe remove the option.
2014-09-07 10:04:57 -07:00
Unknown W. Brackets
b20cd3cba2
Clear stencil on switch from 565 buffer.
...
Fixes #2094 , shadows in Kingdom Hearts in some scenes.
Not a complete solution, but should be a relatively safe one.
2014-09-07 08:47:46 -07:00
Unknown W. Brackets
47e98f972d
Try to simplify alpha replace for poor compilers.
2014-09-07 08:25:39 -07:00
Henrik Rydgard
780ed765c7
Update dx9sdk (got rid of redundant headers)
2014-09-07 10:45:38 +02:00
Henrik Rydgård
6b751a03e2
Merge pull request #6851 from unknownbrackets/d3d9
...
Use PS 2.0 and VS 2.0 on Direct3D 9
2014-09-07 10:00:12 +02:00
Unknown W. Brackets
ebe71e3ec4
d3d: Properly initialize cullmode.
2014-09-06 23:01:04 -07:00
Unknown W. Brackets
5639b056b3
d3d: Use 0 texcoord when not specified.
2014-09-06 23:01:04 -07:00
Unknown W. Brackets
a29c2f4f2f
d3d: Use 2.0 vertex and pixel shaders.
2014-09-06 23:01:03 -07:00
Unknown W. Brackets
07ccc37689
d3d: Use drawPixelsTex as a non-dynamic texture.
2014-09-06 23:01:03 -07:00
Unknown W. Brackets
f2c50f5315
Update native (Linux buildfix.)
2014-09-06 08:13:26 -07:00
Henrik Rydgard
0264ff62f0
Update native with GL-lost-management (UI comes back on Android after switching away)
2014-09-06 13:50:50 +02:00
Henrik Rydgard
78e9a25d59
Increase android version to 0.9.9.2 (as I pushed out a recompile of 0.9.9.1 with an older SDK with that version, there are no additional changes)
...
Should have done this a little while ago but whatever.
2014-09-06 13:50:49 +02:00
Henrik Rydgård
a272255671
Merge pull request #6844 from unknownbrackets/rtc-minor
...
Implement the sceRtc formatting and reincarnated time funcs
2014-09-06 11:14:33 +02:00
Henrik Rydgard
215abfb951
Some cleanup in /Common
2014-09-06 10:47:25 +02:00
Henrik Rydgard
995da23425
XInput: Try a different mapping of circular stick values to square psp stick values. May help #6772 ?
2014-09-05 23:31:25 +02:00
Henrik Rydgard
ab0b999010
Add really basic test screen for mapped analog sticks. Only works with the first mapped axis if several.
2014-09-05 23:21:07 +02:00
Unknown W. Brackets
cddc289675
Use fixed dates for rtc adjusted and reincarnated.
...
This may be safer in case a game thinks funny business is going on if the
user changed the clock very recently, which wouldn't be the case on a
real PSP.
2014-09-05 09:34:09 -07:00
Unknown W. Brackets
1e31fd54eb
Implement rtc date formatting funcs.
2014-09-05 09:13:33 -07:00
Unknown W. Brackets
0180d18449
Correct sceRtcGetDayOfWeek() for odd years.
2014-09-05 09:13:08 -07:00