Henrik Rydgard
30028439b6
Must set the EXECUTEONCHANGE since we dirty.
2013-12-03 00:55:09 +01:00
Henrik Rydgard
39b632b279
Copy the stencil value in REPLACE mode to fragment alpha (but only when it's safe)
...
This is cheap but incomplete.
To do it more "right", we need multipass when blending or alpha test is enabled, ugh. That's for later.
Anyway, this improves the glow situation in Wipeout somewhat. Still lots of stuff that glows that shouldn't, but a little less overwhelmingly bright.
2013-12-03 00:13:21 +01:00
Unknown W. Brackets
d35717f5a8
Also report the vertex decoder jit to verysleepy.
...
Can use the same methods to support other platforms.
2013-11-30 19:20:22 -08:00
Henrik Rydgard
eea8413a82
Make the texcoord speedhack a bit less aggressive at eliminating uvscaleoffset uniform updates.
...
Should fix #4688 and the new problem in #2919 while keeping Frontier Gate Boost working.
2013-11-30 15:54:20 +01:00
Unknown W. Brackets
41a7157aa6
Eat some cycles when changing thread priority.
...
Some games call this a lot.
2013-11-28 01:01:22 -08:00
Unknown W. Brackets
d2bccfeba5
Omit a few commands from "DL Unknown" in debug.
2013-11-18 07:51:10 -08:00
Unknown W. Brackets
fcc77f525f
Implement some basic vertex previews on prim.
...
3D doesn't work correctly (sometimes it does...) 2D should be working.
2013-11-17 13:27:50 -08:00
Henrik Rydgård
cd511cc43c
In Freeze-Frame mode, don't wipe GPU resources when loading save states.
2013-11-15 16:30:55 +01:00
Henrik Rydgard
3b63ef7005
Remove the SubmitPrim param forceIndexType, optimize BBOX more.
2013-11-14 14:03:03 +01:00
Henrik Rydgard
6221dbaf5d
Optimize software skinning for x86.
...
Can't seem to get a win on Windows vs hardware skinning though, even though
draw calls drop by 2/3rd...
2013-11-13 18:10:58 +01:00
Henrik Rydgard
f0cacf46d0
No reason to involve the FPU when loading matrices
2013-11-13 18:10:58 +01:00
Henrik Rydgard
6976d6a3a0
Enable the softskinning optimizations that let us merge drawcalls
2013-11-13 18:10:57 +01:00
Henrik Rydgard
7e67476b00
Simple unoptimized software skinning.
...
Does not take advantage of the possible reduction in state changes yet.
2013-11-13 18:10:57 +01:00
Henrik Rydgard
cf15ec8a53
Add BBOX support (very conservative test)
2013-11-12 17:06:03 +01:00
Henrik Rydgard
84f20a1cad
Small optimizations
2013-11-12 14:05:50 +01:00
raven02
2bca62b26e
Don't reset texture width/height unless the size is different
2013-11-11 21:12:43 +08:00
raven02
d2546bed5b
Regression fix c69ac64
2013-11-11 08:53:47 +08:00
Henrik Rydgard
c69ac64d83
Don't reconvert light colors if they don't change.
...
Also prepare for a possible further optimization in GLES_GPU::FastRunLoop
2013-11-10 11:18:58 +01:00
Unknown W. Brackets
1633aa689c
Remove the extra process queues hack.
...
It seems like it's not helping anymore so it could be hurting.
2013-11-09 23:08:44 -08:00
Unknown W. Brackets
385f9a457e
Use GetPointerUnchecked in how, pre-checked areas.
2013-11-08 11:39:24 -08:00
Henrik Rydgard
64bdb5e21d
Tiny optimization (32-bit) in GLES_GPU::FastRunLoop
2013-11-07 01:34:43 +01:00
Unknown W. Brackets
78400fd460
Avoid some dereferencing in gpu FastRunLoop.
2013-11-06 07:50:16 -08:00
Henrik Rydgård
357b133ff6
No need to dirty the PROJ_THROUGH when only the proj matrix is being
...
changed.
2013-10-30 22:47:36 +01:00
Sacha
2c74693f6c
VSync codepath only works on _WIN32 so only show it and check it there.
2013-10-27 23:09:46 +10:00
Unknown W. Brackets
f9352ad0b8
Update fbos even if they're not the display.
...
But only when coming from a video or other safe source, to ensure we don't
hurt speed. Although, might be interesting to do it always?
With the previous commit, fixes #4273 .
2013-10-26 00:36:37 -07:00
Unknown W. Brackets
deaaa99763
Exclude 0xFF from logging, happens a lot.
2013-10-24 22:03:10 -07:00
Sacha
b0d7f758be
Remove QCOM binning control detection. Qualcomm suggests not to use it and it causes crashes on my Adrenos anyway.
2013-10-23 15:02:48 +10:00
Sacha
78d6ad6f80
Clean up GLES3init. Pass Blackberry version through to defines. Update QCOM binning comment.
2013-10-23 15:02:48 +10:00
Henrik Rydgard
a88ab80477
Only clear the shader cache when toggling "Disable alpha test"
2013-10-22 14:34:16 +02:00
Henrik Rydgard
bf59f3db73
Add ugly hack setting for PowerVR to disable alpha test
...
Causes glitches but the speedup is truly massive in some games so I relent :/
Please do not report graphics bugs when this is enabled...
Future: Maybe remove this setting except on PowerVR?
2013-10-22 13:00:19 +02:00
Henrik Rydgard
492fcb261b
Reset viewport in CopyDisplayToOutput. Fixes flickering video in non-1:1 resolutions in some games.
2013-10-22 11:19:06 +02:00
Sacha
d49b4fad9a
Miscellaneous changes for Blackberry.
2013-10-12 17:19:02 +10:00
Henrik Rydgård
e7a9661cad
Fix stupidest crash bug ever. How the hell did this work on any platform?
2013-10-10 23:32:04 +02:00
Henrik Rydgård
ae94e5c078
Must reset lastShader after swtiching shaders outside the "framework".
2013-10-10 20:11:57 +02:00
Henrik Rydgard
5c3f6bae25
Prescale UV bugfixes
2013-10-09 23:09:16 +02:00
Henrik Rydgård
39d28c27e2
Update native with gl shutdown fix (helps orientation change).
...
This also adds some logging that helped me figure things out.
2013-10-09 16:09:16 +02:00
Henrik Rydgård
ab759a9350
If bPrescaleUV is enabled, no need to flush on change of these params.
...
Also disable the QCOM hint, not sure it does any good at all.
2013-10-09 10:44:12 +02:00
Henrik Rydgard
4c2c015774
Expose the experimental "bPrescaleUV" as "Texture Coord Speedhack"
...
It's actually quite beneficial in some games, can substantially reduce
glUniform4fv calls.
Also throw in a second shot at glDrawRangeElements.
2013-10-08 22:59:40 +02:00
Henrik Rydgård
2362640346
Merge pull request #4072 from raven02/patch-25
...
GLES: Add GE_CMD_ZWRITEDISABLE to ZTEST section
2013-10-08 01:53:00 -07:00
Unknown W. Brackets
f1f526f8cd
Add some additional unknown cmds to reporting.
2013-10-08 00:34:17 -07:00
raven02
bf64df71f9
GLES: Add GE_CMD_ZWRITEDISABLE to ZTEST section
2013-10-08 09:29:51 +08:00
Henrik Rydgard
f645988b8f
More precision annotations in shader generators, other microoptimizations
2013-10-07 20:15:00 +02:00
Unknown W. Brackets
a0d84d45cc
Flip the texture preview when it's a framebuffer.
2013-10-07 00:38:46 -07:00
Unknown W. Brackets
01c84caffc
Skip bounding box when set to 0.
...
VectorTD does this, for example, and it seems innocent, just resetting all
cmds. Not sure what it should set the flag to, though.
2013-10-05 15:41:44 -07:00
raven02
90e77f8c30
Remove duplicate comment
2013-10-01 14:04:48 +08:00
Unknown W. Brackets
9e1e64d62e
Swap render targets when drawing spline/beziers.
2013-09-29 23:31:07 -07:00
Unknown W. Brackets
0aa263511d
Don't clear the GPU caches on savestate, just load.
...
And maybe it's not even fully necessary on load...
2013-09-29 13:19:32 -07:00
Unknown W. Brackets
14efcbcc9b
Add an interface to grab the depth/stencil buffers.
...
Not sure yet how to show in UI, not well tested...
2013-09-28 02:23:07 -07:00
Unknown W. Brackets
81e71dd8d7
Add a way to get to the current texture as well.
2013-09-27 22:46:08 -07:00
Henrik Rydgard
bd8cb4b02d
Start work on implementing bbox, add a comment with some thoughts..
2013-09-24 14:14:05 +02:00