Commit graph

483 commits

Author SHA1 Message Date
Unknown W. Brackets
cd6b1f73c1 SoftGPU: Drop verts only when depth not clamped.
Depth clamping bypasses the 4096x4096 box check.
2018-08-05 17:17:55 -07:00
Unknown W. Brackets
77f0499f7f GPU: Rename clipping flag to depth clamp.
It seems to just to depth clamp.  When depth clamp happens, it affects
clipping a little, but only for vertices that needed clamping.
2018-08-05 17:11:51 -07:00
Unknown W. Brackets
e2c217ab29 Core: More consistently use config enums. 2018-06-23 10:59:18 -07:00
Unknown W. Brackets
b4496f1975 Core: Move config enums to separate file.
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
395ac32d63 Debugger: Run memory breakpoints on mobile. 2018-06-06 17:31:56 -07:00
aliaspider
17259b87ea softgpu: remove RIP addressing from SamplerX86 2018-05-04 17:37:46 +01:00
Henrik Rydgård
36fd2711d6 Revert "Remove further remains of hardware skinning."
This reverts commit 40db61a680.
2018-04-10 12:22:41 +02:00
Unknown W. Brackets
99d16b2202 Vulkan: Add tags to UI textures too. 2018-04-06 21:43:18 -07:00
Henrik Rydgård
4cf5999bc8 Move the vertTypeID calculation out of DrawEngine. Need to shorten SubmitPrim as much as possible. 2018-03-05 12:28:10 +01:00
Henrik Rydgård
40db61a680 Remove further remains of hardware skinning. Fixes #10661 2018-03-05 00:03:47 +01:00
Henrik Rydgård
a8a34fef9c Virtualize CheckGPUFeatures 2018-02-26 11:35:37 +01:00
Unknown W. Brackets
544344f505 GPU: Improve some bezier logging.
Meant to do this when splines were changed.
2018-01-07 21:06:03 -08:00
Henrik Rydgård
b5e5d72a0a Complete the separation of depth and stencil renderpass flags 2017-12-30 22:52:22 +01:00
Unknown W. Brackets
b94ca6e75e Vulkan: Use depth clamping, where available.
This fixes, for example, Shadow of Destiny, even without the hack.
2017-12-26 16:54:39 -08:00
Unknown W. Brackets
206979fed6 Software: Execute bounding box tests.
Fixes #10148.
2017-12-24 11:05:52 -08:00
Unknown W. Brackets
a0e4b6ad0b Reporting: Improve bezier/spline morph/skin data.
Most of these are probably garbage?
2017-12-01 09:50:31 -08:00
Unknown W. Brackets
d99685cd96 SoftGPU: Oops, fix silly typo. 2017-11-12 23:07:37 -08:00
Unknown W. Brackets
ed34cf06b8 SoftGPU: Add a clear mode fast path.
This skips a lot of extra work for clears, which are pretty common.
2017-11-11 21:04:32 -08:00
Unknown W. Brackets
176283c3f1 SoftGPU: Thread by width for wide polygons.
This improves performance a little in some areas.
2017-11-11 18:16:55 -08:00
Unknown W. Brackets
ffbdb15975 SoftGPU: Fix crash when stride is 0.
This happens in Star Ocean 1.
2017-11-11 17:45:47 -08:00
Henrik Rydgård
8c69be9bfa Get rid of GPUCommon's "Internal" functions. 2017-11-05 23:21:52 +01:00
Henrik Rydgård
bb68906d88 Delete ProcessEvent and the GPUEvent enum 2017-11-05 23:21:51 +01:00
Henrik Rydgård
26e52ca5e8 Get rid of a bunch of sync stuff that's no longer needed. 2017-11-05 23:21:49 +01:00
Henrik Rydgård
be2ba4ffb3 Remove the setting to run the display list interpreter on a separate thread. 2017-11-05 23:21:26 +01:00
Henrik Rydgård
c403edfa89 Avoid re-binding pipelines. 2017-10-26 10:57:00 +02:00
Henrik Rydgård
22e65ba80d Get rid of ugly alignment macros and some other cruft, we now have alignas(16) from C++11 2017-08-31 01:14:51 +02:00
Henrik Rydgård
8d0498303a Fix a PIC compliance bug in the VFPU. Comment other cases properly (for easy searching). 2017-08-29 11:45:12 +02:00
Unknown W. Brackets
a6f56769a8 SoftGPU: Avoid some compile warnings.
Remove some no-longer used funcs, add some switch default logs.
2017-06-06 19:49:42 -07:00
Unknown W. Brackets
4a56e6ff83 GE Debugger: Fix recording in softgpu. 2017-06-04 10:38:58 -07:00
Unknown W. Brackets
37a894a558 GE Debugger: Record memcpy/memset too. 2017-06-03 15:29:10 -07:00
Unknown W. Brackets
dca75437c3 GPU: Refactor common frame dumping code. 2017-06-03 15:29:07 -07:00
Henrik Rydgård
dba22e255a Merge pull request #9766 from unknownbrackets/screenshot
Fix Take Screenshot
2017-06-02 09:19:20 +02:00
Unknown W. Brackets
41c378ec71 SoftGPU: Fix separate mip cluts in linear jit. 2017-06-01 21:34:49 -07:00
Unknown W. Brackets
1cc488aef4 SoftGPU: Support Take Screenshot partially.
This doesn't capture the FPS etc. as other backends do, but at least it
takes a screenshot.
2017-06-01 20:40:45 -07:00
Unknown W. Brackets
2d6b8c645a SoftGPU: Correct linear filter rounding issue.
Using 16-bit slots just lost too much precision.  Jit already doesn't use
this.
2017-05-30 22:57:47 -07:00
Unknown W. Brackets
fdf5f2ab54 SoftGPU: Support separate mip CLUTs with linear. 2017-05-30 22:57:46 -07:00
Unknown W. Brackets
cb3db559bd SoftGPU: Jit the linear sampling too.
For now, just reducing overhead.  Could be smarter.
2017-05-30 22:57:46 -07:00
Unknown W. Brackets
fa0ded4a76 SoftGPU: Reduce sampler id fuzz. 2017-05-30 22:57:45 -07:00
Unknown W. Brackets
c05ecfc6f1 SoftGPU: Implement separate CLUT in samplerjit. 2017-05-30 22:57:44 -07:00
Unknown W. Brackets
ffcfa0a824 SoftGPU: Specialize CLUT4 jit.
This version is a bit faster and cleaner.
2017-05-30 22:57:44 -07:00
Unknown W. Brackets
9a82ae3425 SoftGPU: Reduce overhead in sampler jit. 2017-05-30 22:57:43 -07:00
Unknown W. Brackets
2233ab073d SoftGPU: Expose jit cache for profiling. 2017-05-30 22:57:42 -07:00
Unknown W. Brackets
744736b926 SoftGPU: Jit 16 bit texel decode. 2017-05-30 22:57:42 -07:00
Unknown W. Brackets
cf32949183 SoftGPU: Jit CLUT lookup. 2017-05-30 22:57:41 -07:00
Unknown W. Brackets
a8a6b2cd8a SoftGPU: Jit swizzled texel lookup. 2017-05-30 22:57:40 -07:00
Unknown W. Brackets
c9a4679096 SoftGPU: Stop calling bufw pixels bytes.
This was never even bits, it was just 8 * pixels before.
2017-05-30 22:57:40 -07:00
Unknown W. Brackets
5491e1dbbb SoftGPU: Jit texel fetch for non-clut/non-swizzle. 2017-05-30 22:57:39 -07:00
Unknown W. Brackets
fd4c64d43d SoftGPU: Refactor out texture format logic.
This could actually be shared, nothing x86 specific...
2017-05-30 22:57:38 -07:00
Unknown W. Brackets
94920ec156 SoftGPU: Implement basic jit structure. 2017-05-30 22:57:38 -07:00
Unknown W. Brackets
1b491fe156 SoftGPU: Stub a jit for texel fetch. 2017-05-30 22:57:30 -07:00