Commit Graph

11674 Commits

Author SHA1 Message Date
c8c062fa96 [AArch64] Add support for MMIO loads.
Should give a small performance benefit.
2015-01-29 06:06:54 -06:00
8c53b88cc3 [AArch64] Implement a way to call lambdas in the emitter 2015-01-29 01:50:11 -06:00
5203c4ef7b Silence -Wunused-variable warning. 2015-01-28 18:09:07 +00:00
109fa8c2c8 Merge pull request #1800 from randomstuff/jit-register
Add support of more JIT-compiled code for profiling
2015-01-28 13:23:32 +01:00
c3777bbd69 JitRegister: TrampolineCache 2015-01-28 10:41:45 +01:00
329834f653 JitRegister: JitAsm 2015-01-28 10:41:03 +01:00
3c14930a0a JitRegister: JitAsmCommon
Allows profiling/debugging tools to know about JITed code.
2015-01-28 10:40:05 +01:00
a4adfe194a JitRegister: overload Register with a [start,end) variant 2015-01-28 09:50:19 +01:00
a957f93532 Use printf-like format in JitRegister::Register
The API is cleaner (no more magic default parameter) and more
extensible like this.
2015-01-28 09:47:08 +01:00
eedc7bb582 Merge pull request #1975 from Tilka/fix_warning
CoreTiming: fix warning
2015-01-28 09:33:39 +01:00
257deb7886 CoreTiming: fix warning 2015-01-28 08:27:14 +01:00
0030ad9ecf Fix D3D regression from PR1948.
Make sure we don't have a texture bound as both an ShaderResourceView and
a RenderTargetView; this causes rendering glitches.

This isn't really the right place to do this... but I'm not sure
how the code should be structured.
2015-01-27 18:25:35 -08:00
beaa9905a6 Merge pull request #1966 from magumagu/unify-efb-encode
Unify EFB encoding shader generation
2015-01-27 23:14:18 +01:00
da31314775 Merge pull request #1970 from magumagu/d3d-cleanup
D3D: delete unnecessary code.
2015-01-27 22:26:46 +01:00
43605f8716 Merge pull request #1948 from magumagu/remove-efb-cache
Remove EFB to RAM cache, and simplify code.
2015-01-27 09:42:15 +01:00
8eda3ca844 Merge pull request #1956 from Tilka/vertex_loader_jit
VertexLoader: clean up and fix some problems
2015-01-27 09:15:09 +01:00
c20ef8bb8c Merge pull request #1919 from skidau/AGP
Added support for AGP. Original patch by GreyRogue.
2015-01-27 13:25:14 +11:00
3dbd6cd384 VertexLoaderX64: save XMM0 if the ABI requires it 2015-01-26 22:24:06 +01:00
8416a86b6d VertexLoaderBase: fix crash on invalid formats 2015-01-26 22:24:06 +01:00
66f28707e7 VertexLoader: small clean up 2015-01-26 22:24:06 +01:00
897b678d24 D3D: delete unnecessary code. 2015-01-26 10:58:32 -08:00
7df55d220f Merge pull request #1967 from Sonicadvance1/Android_settings
[Android] Change some configuration options.
2015-01-26 05:30:35 -06:00
53a9df10f9 Merge pull request #1817 from Armada651/custom-anaglyph
PostProcessing: Add support for user-supplied anaglyph shaders.
2015-01-26 11:08:29 +01:00
9dbb9bf3b5 Make sure EFB2RAM buffer is wide enough for new coordinate system. 2015-01-25 23:32:32 -08:00
b56025e6eb Don't use boolean negation. 2015-01-25 23:28:59 -08:00
33259c272b Remove some debugging junk. 2015-01-25 23:11:36 -08:00
cb05730127 Use linear sampling in ScaleByHalf mode. 2015-01-25 23:05:23 -08:00
92189823f3 Fix RGBA8 encoding. 2015-01-25 22:53:30 -08:00
983c7f4f21 [Android] Select the AArch64 recompiler core by default if shown to support ARMv8. 2015-01-26 00:50:25 -06:00
1ee09ced0a Fix OpenGL coordinate computation. 2015-01-25 21:38:30 -08:00
cb5d3fce4f Fix stupid mistake. 2015-01-25 21:20:25 -08:00
5ba1319abb Merge pull request #1953 from Sonicadvance1/AArch64_fix_paired_loadstores
[AArch64] Fix all of the paired store instructions.
2015-01-25 23:07:44 -06:00
c340a324bc Merge pull request #1947 from Sonicadvance1/AArch64_tu_tl_merge
[AArch64] Implement TU/TL merging.
2015-01-25 23:07:32 -06:00
b0b99b6922 Fix shader so it's possible to use with D3D Map().
Well, that's not strictly true, but trying to memcpy between two buffers
using different row lengths and different strides is at minimum extremely
unintuitive.
2015-01-25 19:57:09 -08:00
6c1bdfe04c More work. 2015-01-25 19:57:07 -08:00
51b27c5481 Fix building with PCH disabled. 2015-01-25 21:40:31 -06:00
1e809d9c11 Revert "Merge pull request #1903 from RisingFog/libav"
This reverts commit 34079a0037, reversing
changes made to 3274df7158.
2015-01-26 02:35:29 +01:00
34079a0037 Merge pull request #1903 from RisingFog/libav
Use ffmpeg for Windows Video Dumping instead of VFW
2015-01-26 12:03:44 +11:00
3274df7158 Merge pull request #1961 from Sonicadvance1/AArch64_game_fixes
[AArch64] Fix a load of games.
2015-01-25 18:26:42 -06:00
b1fc18cbaa Merge pull request #1958 from Sonicadvance1/Rearchitect_asmcommon
Rearchitect a bit of our AsmCommon routines.
2015-01-25 18:26:17 -06:00
d291148016 [AArch64] Implement TU/TL merging.
Basically stolen from the x86 recompiler. Works well on AArch64 as well!
2015-01-25 18:05:33 -06:00
ef75f3005d WIP. 2015-01-25 15:49:35 -08:00
f24c466e7e [AArch64] Fix AArch64 instruction encoding. 2015-01-25 17:26:18 -06:00
5c4ee2f71e PostProcessing: Move default pixel shader to PostProcessingShaderConfiguration.
Reduces code complexity and fixes a bug where the shader is not properly invalidated.
2015-01-25 23:08:49 +01:00
98fe869e39 Merge pull request #1962 from rohit-n/build-pch
Fix building with PCH disabled.
2015-01-25 15:38:20 -06:00
fc46d460f9 VideoConfigDiag: Allow anaglyph shader to be turned off.
Also hard-code the default shader.
2015-01-25 22:27:17 +01:00
262c3b19ec PostProcessing: Add support for user-supplied anaglyph shaders.
There are lots of different anaglyph glasses out there and there may be even more creative uses for stereoscopic post-processing shaders.
2015-01-25 22:07:03 +01:00
d10b4d9b8b Fix building with PCH disabled. 2015-01-25 11:34:22 -06:00
a93433a860 Merge pull request #1960 from phire/zfreeze-buffer-underrun
Fix a buffer underrun in CalculateZSlope.
2015-01-25 18:18:49 +01:00
e4e08b0596 [AArch64] Make sure to load the full destination register on float instructions.
With the float instructions that only affect the lower 64bits of the destination register, we need to make sure to load the full 128bit register.
This ensures that we aren't saving garbage in to the top 64bits.
2015-01-25 03:17:46 -06:00