Commit graph

25555 commits

Author SHA1 Message Date
Unknown W. Brackets
ec1dae57eb interp: Fix vbfy prefix handling. 2019-03-31 10:09:18 -07:00
Henrik Rydgård
2d2c0fab49
Merge pull request #11949 from unknownbrackets/vfpu-chunk1
Skip IR for many unhandled prefixes, small interp correctness fixes
2019-03-31 19:06:16 +02:00
Unknown W. Brackets
d5273f589a interp: Mask value in vpfxd.
The actual register ends up with only the lower 12 bits, which makes sense
since those are the only ones that do anything.
2019-03-31 08:23:36 -07:00
Unknown W. Brackets
9d1d4473e8 interp: Confirm vi2f/vf2i prefix handling. 2019-03-31 08:22:52 -07:00
Unknown W. Brackets
30223cb17f interp: Apply T prefix to D in vcmov. 2019-03-31 08:22:15 -07:00
Unknown W. Brackets
fef8e71b8f interp: Correct behavior for matrixes with size=1.
Games don't (shouldn't?) actually use 1x1 matrices, but they seem to have
predictable behavior in matrix ops.
2019-03-31 08:21:29 -07:00
Unknown W. Brackets
cfab70f149 interp: Handle abs/neg on nan values better.
`fabsf` was altering other bits.
2019-03-31 08:18:49 -07:00
Unknown W. Brackets
7dc775e54f IR: Use interp for unhandled prefix cases.
The interpreter is not changed yet, so in theory this shouldn't change
behavior.
2019-03-31 08:17:11 -07:00
Unknown W. Brackets
62928e13d8
Merge pull request #11942 from jeeeyul/master
Fixes iOS exit freezing, Selective PTRACE syscall
2019-03-27 19:14:34 -07:00
Jeeeyul Lee
53e254d352 Disables iOS exit animation to prevent freezing.
Selective PTRACE sys call.
2019-03-27 11:01:20 +09:00
Henrik Rydgård
ed1aa74827 Address feedback from #11936 (support memory types without CACHED as a backup) 2019-03-26 10:39:51 +01:00
Henrik Rydgård
87c7f2f534
Merge pull request #11938 from LunaMoo/texture_hotkeys
Add texture dump/replace hotkeys.
2019-03-26 10:37:21 +01:00
LunaMoo
1fa7bbc816 Add texture dump/replace hotkeys. 2019-03-26 06:13:05 +01:00
Henrik Rydgård
0b5909c09a
Merge pull request #11936 from hrydgard/vulkan-readback-cached-mem
Vulkan: Request cached memory for readbacks.
2019-03-25 22:43:26 +01:00
Henrik Rydgård
60889767bf Vulkan: Request cached memory for readbacks. First try coherent too but also support non-coherent cached memory.
Should speed up readbacks slightly.

This is just a common sense optimization, I haven't measured it. Writes to
coherent non-cached memory is OK due to hardware write combining, but for
reads you really want cached to avoid a memory transaction for every
single read (instead reading full cache lines).
2019-03-25 21:40:25 +01:00
Henrik Rydgård
47ce2fcbb8
Merge pull request #11933 from unknownbrackets/texcache
TexCache: Align bufw properly even for VRAM
2019-03-25 08:10:32 +01:00
Unknown W. Brackets
1199008641 TexCache: Align bufw properly even for VRAM.
Fixes minimap arrows in Manhunt 2 (see #9615.)
2019-03-24 19:21:08 -07:00
Henrik Rydgård
8f4bafea9c
Merge pull request #11932 from unknownbrackets/funchash
Debugger: Prevent saving a -1 sized func
2019-03-24 21:19:43 +01:00
Unknown W. Brackets
f53ea7e44f Debugger: Prevent saving a -1 sized func. 2019-03-24 13:00:05 -07:00
Henrik Rydgård
8adb0dfd61 Vulkan validation: INFO level has gotten too spammy, turn it off. 2019-03-24 11:56:51 +01:00
Henrik Rydgård
d3c0a010a0 Fix invalid argument string for kuKernelLoadModule. Fixes #11895. 2019-03-24 11:56:35 +01:00
Henrik Rydgård
6cd7615cb0
Merge pull request #11924 from unknownbrackets/kernel-minor
Allow kernel threads to beget kernel threads
2019-03-24 11:19:01 +01:00
Henrik Rydgård
703fdc5561 MSVC project files: Fix silly search/replace error from #11883 2019-03-24 11:17:47 +01:00
Henrik Rydgård
85fcac20d9
Merge pull request #11926 from unknownbrackets/vfpu-ir
IR: Correct vmmul optimizations
2019-03-24 11:17:22 +01:00
Henrik Rydgård
4fce6784b3
Merge pull request #11925 from unknownbrackets/android-audio
Android: Allow less common sample rates
2019-03-24 10:56:02 +01:00
Unknown W. Brackets
4c3aa841d3 IR: Correct vmmul optimizations.
It's a bit confusing since it's not D = S*T, but rather D = S'*T.
2019-03-23 15:31:10 -07:00
Unknown W. Brackets
812e84e4a7 Android: Allow less common sample rates.
Just assume anything we received is a valid one.
2019-03-23 12:12:13 -07:00
Unknown W. Brackets
f244b390ae Kernel: Kernel threads can beget kernel threads.
Fixes #7687.
2019-03-23 12:05:06 -07:00
Henrik Rydgård
50a5153c71
Merge pull request #11923 from unknownbrackets/rpi
Fix build of Raspberry Pi with toolchain
2019-03-23 18:34:00 +01:00
Unknown W. Brackets
f042dc1773 SDL: Make it clear Vulkan check is not an error. 2019-03-23 08:32:51 -07:00
Unknown W. Brackets
3e4faea6ad cmake: Automatically disable Wayland for Raspbian.
Also add a shortcut to b.sh since it has its own toolchain file.
2019-03-23 08:25:39 -07:00
Unknown W. Brackets
ff9911deb5 SDL: Fix compile error when not using FBDEV. 2019-03-23 07:26:47 -07:00
Unknown W. Brackets
c7c45f0aca http: Fix warning on compare in url decode. 2019-03-23 07:25:58 -07:00
Henrik Rydgård
737be61f9a
Merge pull request #11916 from unknownbrackets/debugger
UI: Allow deletion of GE dumps from UI
2019-03-22 09:13:45 +01:00
Unknown W. Brackets
926b9e66da UI: Allow deletion of GE dumps from UI. 2019-03-21 19:49:32 -07:00
Henrik Rydgård
d83fe7f53c Update lang (with ES spelling error fix, etc). Fixes #11912 2019-03-21 20:16:13 +01:00
Henrik Rydgård
b0048525a1
Merge pull request #11884 from hrydgard/vulkan-buffer-usage
Vulkan: Tighten up push buffer usage flags a little bit.
2019-03-18 11:17:49 +01:00
Henrik Rydgård
7790e61b12
Merge pull request #11866 from unknownbrackets/keyup
UI: Pass touch/button releases to all screens
2019-03-18 11:16:35 +01:00
Henrik Rydgård
1ab9f6cc95
Merge pull request #11883 from hrydgard/windows-fp-precise
Windows: Change FP model to Precise. See #11382
2019-03-18 11:16:19 +01:00
Henrik Rydgård
e159a4c667
Merge pull request #11902 from unknownbrackets/gpu-stencil
GPU: Respect stencil write mask on clear
2019-03-18 11:15:48 +01:00
Henrik Rydgård
b6c170f4df
Merge pull request #11907 from unknownbrackets/ui-savedata
UI: Avoid using game info cache in savedata sort
2019-03-17 15:14:30 +01:00
Unknown W. Brackets
a99549c451 UI: Avoid using game info cache in savedata sort.
It can change mid-sort causing the sorting results to be inconsistent,
which will crash many implementations of std::stable_sort.

Also, fix an issue where it kept resorting after it didn't need to and
make it strictly ordered for equal dates/sizes.

Fixes #11892.
2019-03-17 06:34:21 -07:00
Unknown W. Brackets
c5b844cc98 GPU: Respect stencil write mask on clear.
Actually identified this for the softgpu in #11319, but applying it for
RGBA is a problem in most renderers.  Forgot to at least apply it to
stencil.

Fixes #11901.
2019-03-16 19:42:18 -07:00
Unknown W. Brackets
0b48c6d066 SoftGPU: Apply color doubling only to RGB.
Broken in #11379 - accidentally applied to the alpha value.  See #11901
for an example where this caused issues with blending.
2019-03-16 19:40:33 -07:00
Henrik Rydgård
d6d6dbb772 Finish up the fix attempt for #11882 2019-03-14 15:15:13 +01:00
Henrik Rydgård
06b04f65a0 Vulkan: Narrow down buffer usage flags a little bit. 2019-03-14 12:41:39 +01:00
Henrik Rydgård
7f1e10a934
Merge pull request #11885 from hrydgard/vulkan-pushbuffer-fix
Correctly handle memory types in VulkanPushBuffer. Should help #11882.
2019-03-14 12:20:46 +01:00
Henrik Rydgård
036aeda512 Correctly handle memory types in VulkanPushBuffer. Should help #11882. 2019-03-14 11:43:44 +01:00
Henrik Rydgård
4d5af330a7 Windows: Change FP model to Precise. See #11384 2019-03-14 10:59:35 +01:00
Henrik Rydgård
e66f019ffa Update the version number in AndroidManifest.xml (pretty sure we don't really still need to do this, but whatever). 2019-03-14 09:00:50 +01:00