Commit graph

22321 commits

Author SHA1 Message Date
Henrik Rydgård
65b71df963 Merge pull request #9768 from unknownbrackets/softgpu
SoftGPU: Fix separate mip cluts in linear jit
2017-06-02 09:17:07 +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
2d882b7370 Merge pull request #9760 from LunaMoo/sceJpegWidth
Fix jpeg's with width not matching psp buffer size.
2017-06-02 00:06:13 -04:00
LunaMoo
f10c9dfd8c Initialize pspWidth and increase the max size. 2017-06-01 16:52:36 +02:00
LunaMoo
7cee37c4e8 Needs to be square! O.o 2017-06-01 13:46:33 +02:00
LunaMoo
17d8eb19c5 Fix jpeg's with width not matching psp buffer size. 2017-06-01 13:31:25 +02:00
Henrik Rydgård
7822e5b57f Merge pull request #9755 from unknownbrackets/mipmaps
GPU: Block mipmap autogen for matching size
2017-06-01 09:04:36 +02:00
Henrik Rydgård
05b0acafbb Merge pull request #9754 from unknownbrackets/vulkan
Correct some crashes from Vulkan merge
2017-06-01 09:03:24 +02:00
Henrik Rydgård
ffa670a976 Merge branch 'master' into vulkan 2017-06-01 09:03:13 +02:00
Henrik Rydgård
ff17713106 Fix crash on macOS. Fixes #9751 2017-06-01 08:59:45 +02:00
Unknown W. Brackets
f1e9180676 Vulkan: Fix Cardboard rendering.
Mostly the Viewport2D flush issue, which may possibly have broken
something else.
2017-05-31 23:26:38 -07:00
Unknown W. Brackets
f66ffb9ffe GPU: Fix negative mip levels with const workaround.
Might've crashed if it hit a negative level before.
2017-05-31 21:42:07 -07:00
Unknown W. Brackets
b6375638f5 GPU: Block mipmap autogen for matching size.
If the mips don't get smaller, we can't autogen - the bias in that case is
used to select a different texture.  Fixes #9731.

This also may improve a minor performance issue on PowerVR in some games.
2017-05-31 21:23:20 -07:00
Unknown W. Brackets
01c973d0db GLES: Fix startup crash on desktop OpenGL < 4.
Most importantly, on Mac OS X.  Fixes #9751.  May help #9744.
2017-05-31 20:40:58 -07:00
Unknown W. Brackets
531c6682b7 Vulkan: Increment engine version.
Since we are kinda majorly different now.
2017-05-31 20:04:11 -07:00
Unknown W. Brackets
d1c9cb8c63 UI: Start a render pass while stepping.
We won't start one otherwise.  This fixes a crash when auto run is off.
2017-05-31 20:04:02 -07:00
Henrik Rydgård
7001b842e3 Merge pull request #9750 from LunaMoo/sceJpeg
Implement sceJpegDecodeMJpeg & sceJpegDecodeMJpegSuccessively
2017-05-31 20:04:08 +02:00
LunaMoo
0cdd55f450 Implement sceJpegDecodeMJpeg & sceJpegDecodeMJpegSuccessively 2017-05-31 18:46:19 +02:00
Henrik Rydgård
9687873417 Merge pull request #9749 from LunaMoo/byeHack
Remove obsolete workaround from 5xBR
2017-05-31 15:08:35 +02:00
LunaMoo
20aa1f8250 Remove obsolete workaround. 2017-05-31 15:00:30 +02:00
Henrik Rydgård
6bd1a16c35 Merge pull request #9748 from hrydgard/delete-clearbuffer
Delete obsolete function ClearBuffer
2017-05-31 14:11:12 +02:00
Henrik Rydgård
cae39adab3 Update submodule SPIRV-Cross, remove workarounds that are no longer needed 2017-05-31 14:09:47 +02:00
Henrik Rydgård
5b3ca89ee2 Update lang submodule 2017-05-31 14:03:07 +02:00
Henrik Rydgård
93d3c543f4 Update glslang submodule 2017-05-31 14:02:44 +02:00
Henrik Rydgård
cb9b63e75a Fix scaling post-shaders on OpenGL. See #9742 2017-05-31 13:57:57 +02:00
Henrik Rydgård
2b14c6b531 Delete obsolete function ClearBuffer 2017-05-31 13:38:22 +02:00
Henrik Rydgård
33d4f8c7ad Vulkan: Fix minor bug when clearing the back buffer (loaded stencil for no reason) 2017-05-31 13:37:47 +02:00
Henrik Rydgård
82df6af4c6 Merge pull request #9746 from LunaMoo/minorCWC
CWC: Respect _C2 as an activation.
2017-05-31 13:17:56 +02:00
Henrik Rydgård
8951d18647 Merge pull request #9747 from LunaMoo/pathFix
Remove unnecessary \ / conversion.
2017-05-31 13:05:30 +02:00
LunaMoo
3aae24aea5 Remove unnecessary \ / conversion. 2017-05-31 12:44:05 +02:00
LunaMoo
ce74423381 Simplify some cwc detection code, respect _C2 as activation. 2017-05-31 11:58:24 +02:00
Henrik Rydgård
7bfccfbb13 Merge pull request #9745 from hrydgard/android-backend-switch-restart
Android: Just like on Windows, prompt to restart when changing graphics backend
2017-05-31 11:53:03 +02:00
Henrik Rydgård
eff60ca575 Merge pull request #9735 from unknownbrackets/samplerjit
SoftGPU: Sampler jit
2017-05-31 11:18:00 +02:00
Henrik Rydgård
01635a5cd6 Android: Just like on Windows, prompt to restart when changing graphics backend. 2017-05-31 11:12:11 +02: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