Unknown W. Brackets
10bf375712
softjit: Use BMI2 to speed up dst color loads.
...
This is about 1% overall gain in some games.
2022-01-31 21:27:51 -08:00
Unknown W. Brackets
16dca4f69b
x86jit: Use BMI2 for variable shifts.
...
We don't actually regalloc ECX, but this still saves a copy, and on modern
CPUs these seem to be pretty fast.
2022-01-31 19:38:17 -08:00
Unknown W. Brackets
2479d52202
Global: Reduce includes of common headers.
...
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
3df6cb704f
Global: Fix some type conversion warnings.
...
Hidden by some warning disables.
2022-01-30 16:09:33 -08:00
Unknown W. Brackets
5e185f3d87
Common: Remove some unused files.
2022-01-30 15:11:57 -08:00
Unknown W. Brackets
e266eb78ad
Common: Avoid assert hang in CI.
2022-01-29 18:39:21 -08:00
ANR2ME
171e2b5713
Added another attempt to detect GETIFADDRS availability, which is more common on newer OS
2022-01-29 05:43:07 +07:00
ANR2ME
c37a58d39c
We might be missing the SIOCGIFADDR
2022-01-29 05:43:06 +07:00
ANR2ME
cdea71e901
Added logs for error within SIOCGIFCONF section.
2022-01-29 05:43:06 +07:00
ANR2ME
7aa3b1398e
Change a confusing variable naming
2022-01-29 05:43:06 +07:00
Unknown W. Brackets and GitHub
49a17e9ab8
Merge pull request #15349 from hrydgard/list-hdr-formats
...
Vulkan: Add support for listing all the available surface formats in system info.
2022-01-26 06:48:55 -08:00
Henrik Rydgård
8dc8fae16d
Vulkan: Add support for listing all the available surface formats in system info.
...
Enabling the EXT_swapchain_colorspace extension lets the driver expose
all the formats it really supports.
Used this to discover that my Galaxy S21 supports Display-P3 which is a wider
gamut than sRGB. Might be able to do some color boosting mode for fun.
Or, use this stuff to play around with HDR?
2022-01-25 19:22:49 +01:00
Unknown W. Brackets
c1e657ed47
samplerjit: Better vectorize UV linear calc.
...
Gives about 1-2% when mips are used.
2022-01-24 20:42:07 -08:00
Unknown W. Brackets
b4eab72015
Common: Fix conversion of 4444 to BGRA.
...
This was affecting tests emitting screenshots in 4444 as well as Direct3D
backends.
2022-01-23 19:22:32 -08:00
Henrik Rydgård and GitHub
b5e8c21042
Merge pull request #15334 from unknownbrackets/headless
...
Update pspautotests, require passing in GitHub Actions
2022-01-22 09:36:30 +01:00
Unknown W. Brackets
6c013cec96
Common: Print assert failures to stderr.
2022-01-22 00:14:15 -08:00
Unknown W. Brackets
8573c34f85
x86jit: Check CALL dist for safe memory funcs.
2022-01-22 00:14:15 -08:00
Unknown W. Brackets
55c11425e4
softgpu: Use persistent bin task state.
...
It's constant, so it's better to avoid the copying and allocation. A
small win, but removes new from the profile.
2022-01-20 16:58:43 -08:00
Unknown W. Brackets
0ba2d05da5
samplerjit: Simplify AVX shift-copies.
...
These have been the most common and the fallback is safe. Let's just add
a helper.
2022-01-17 15:15:36 -08:00
Unknown W. Brackets
dffc333120
softgpu: Avoid thread ordering hazard.
...
Must run the primitives in the right order. No shortcutting allowed.
2022-01-13 23:03:42 -08:00
Cameron Cawley
26203552b4
Use System_GetPropertyInt to report the keyboard layout
2022-01-10 00:11:08 +00:00
Unknown W. Brackets
8a00c2d233
GPU: Allow gcc/clang/icc runtime SSE4 usage.
...
All our builds before were only using SSE4 in jit...
2022-01-08 17:09:09 -08:00
Unknown W. Brackets
ce6ea8da11
samplerjit: Apply gather lookup to all CLUT4.
2022-01-02 17:19:18 -08:00
Unknown W. Brackets
22f770c828
samplerjit: Use VPGATHERDD for simple CLUT4 loads.
...
Planning to expand this to more paths.
2022-01-02 17:19:17 -08:00
Unknown W. Brackets
1addf84e90
samplerjit: Use SSSE3/SSE4 in linear filtering.
2021-12-30 23:22:56 -08:00
Unknown W. Brackets
7aa9664d20
x64jit: Add AVX2-only instructions.
2021-12-29 19:46:26 -08:00
Unknown W. Brackets
7508fcc22d
x64jit: Add AVX-only instructions.
2021-12-29 19:46:26 -08:00
Unknown W. Brackets
147b81d6f7
x64jit: Add AVX/AVX2 encodings.
...
Also fix the FMA double ones, which were passing W wrongly.
2021-12-29 19:46:26 -08:00
Unknown W. Brackets
bf06342f9d
samplerjit: Minor SSE4 optimizations.
...
These seem to be a bit faster.
2021-12-29 07:07:35 -08:00
Unknown W. Brackets
820361f34b
samplerjit: Calculate texel byte offset as vector.
2021-12-27 11:37:32 -08:00
Henrik Rydgård
74f76e5ef1
Missing stdarg.h include
2021-12-20 00:11:51 +01:00
Unknown W. Brackets and GitHub
fadf01dc7b
Vulkan: Update profiler formatting for this.
2021-12-19 14:56:50 -08:00
Henrik Rydgård
df2f0df155
Make the Vulkan GPU log profiler a runtime developer setting.
...
I keep forgetting to disable the define on commit, this is a better
solution.
2021-12-19 22:50:14 +01:00
Henrik Rydgård
748b8287a6
Add format string support to Vulkan log-profiler
2021-12-19 22:21:34 +01:00
Unknown W. Brackets and GitHub
148ca08047
Vulkan: Disable profiler by default again.
2021-12-19 09:12:58 -08:00
Henrik Rydgård
a9dcf482c6
Improve the check for "slow" GPUs (with regards to tex scaling). See #15238
2021-12-18 21:51:33 +01:00
Henrik Rydgård and GitHub
1e9e3376be
Merge pull request #15238 from hrydgard/hardware-texscale-limits
...
Vulkan: Be more restrictive about hardware texture upscaling on "slow" GPUs
2021-12-18 16:47:43 +01:00
Henrik Rydgård and GitHub
2851065889
Merge pull request #15237 from unknownbrackets/path-case
...
Path: Check for PSP case insensitively
2021-12-17 09:35:19 +01:00
Unknown W. Brackets
3e73ce87ee
Path: Check for PSP case insensitively.
...
This allows a game to look up ms0:/psp/ eve with the PSP special case path
handling.
2021-12-16 15:06:15 -08:00
Henrik Rydgård
80ae4b039c
Vulkan: Be more restrictive about texture upscaling on "slow" devices.
...
Applies the same rules as for software upscaling in this case.
Should fix the stutters seen in #15109
2021-12-16 21:00:49 +01:00
Henrik Rydgård
9755781704
Oops, accidentally enabled the logging GPU profiler by default.
2021-12-13 09:01:13 +01:00
Henrik Rydgård
b99a5b6613
Minor fixes
2021-12-12 23:21:28 +01:00
Henrik Rydgård
dc9816ceac
Add hardcoded bool toggle for upscaling video, fix log, remove a comment, minor opt
2021-12-12 23:20:57 +01:00
Henrik Rydgård
10db19efc4
Add a 2x2 downsampled version of 4xBRZ as 2xBRZ (save memory bandwidth)
...
fmt
2021-12-12 23:19:29 +01:00
Henrik Rydgård
3833d935f4
Fixes when profiler is disabled.
...
Typo, validation fix
More fixes
Fix mipgen logging
Disable the logging profiler by default again
Important to use the macro
2021-12-12 12:42:40 +01:00
Henrik Rydgård
9945620504
Switch to macros to easily disable the new profiling. Add missing scope
2021-12-12 12:11:59 +01:00
Henrik Rydgård
55fe21db1e
Add a simple GPU profiler to profile individual events, rather than full passes.
2021-12-12 12:11:54 +01:00
Henrik Rydgård and GitHub
e1ff73061a
Merge pull request #15223 from hrydgard/multi-atlas
...
Split off the fonts from the atlas
2021-12-12 09:10:27 +01:00
Unknown W. Brackets
63e623ecb2
Build: Fix some format truncation warnings.
...
Generally all should be safe already, but better to be sure.
2021-12-11 10:45:27 -08:00
Unknown W. Brackets
0d4af49590
UI: Clarify error message.
...
Include both files, even if the platform only uses one of the two.
2021-12-11 09:01:15 -08:00