Commit Graph

33741 Commits

Author SHA1 Message Date
Herman Semenov
29b87e0c0b
Merge branch 'master' into master 2022-10-03 07:49:13 +00:00
Unknown W. Brackets
09f0c0c8fd Fixed syntax accessing method reviewed by Unknown W. Brackets <checkins@unknownbrackets.org>
Signed-off-by: lainon <GermanAizek@yandex.ru>
2022-10-03 10:47:55 +03:00
Henrik Rydgård
bc1975bc99
Merge pull request #16142 from unknownbrackets/geo-shader
Implement geometry shader for range culling
2022-10-02 17:06:55 +02:00
Henrik Rydgård
33f24efb2b
Merge pull request #16146 from unknownbrackets/debugger
UI: Prevent rendering during reboot
2022-10-02 16:43:58 +02:00
Unknown W. Brackets
4df7a8f357 Vulkan: Cleanup unused geometry shader vars.
Without clipping, these aren't used (but could be in the future with
manual clipping.)
2022-10-02 07:43:35 -07:00
Unknown W. Brackets
2832edcc37 Vulkan: Allow configuring geometry shaders on/off. 2022-10-02 07:42:22 -07:00
Unknown W. Brackets
8df956b036 Vulkan: Block geometry shaders on older Mali.
They're too slow to be usable.
2022-10-02 07:42:22 -07:00
Unknown W. Brackets
36eb0d9ad5 Vulkan: Use geo clip distance only where supported.
It might be supported without cull or GS.  Otherwise we may need to clip
the triangles manually.
2022-10-02 07:42:22 -07:00
Unknown W. Brackets
2ce0cda333 Vulkan: Enable geo shader for culling.
The compat setting was really for some previously buggy cases that
couldn't work without cull.
2022-10-02 07:42:22 -07:00
Unknown W. Brackets
bfaa304461 Vulkan: Correct geometry shader culling. 2022-10-02 07:42:17 -07:00
Henrik Rydgård
ac248338be Vulkan: Cull in geoshader, hack to on for now. 2022-10-02 07:42:17 -07:00
Henrik Rydgård
cdee10fe86 Vulkan: Basic geoshader code generation. 2022-10-02 07:42:17 -07:00
Unknown W. Brackets
fbdb278168 Vulkan: Update shader cache format for geo shaders. 2022-10-02 07:42:16 -07:00
Unknown W. Brackets
d16caa71af Vulkan: Add geometry shader ID tracking.
We're still not generating them, yet.  But this tracks the objects and
IDs through the pipeline.
2022-10-02 07:42:16 -07:00
Unknown W. Brackets
38e16324f0 Vulkan: Clean up shader module tag. 2022-10-02 07:42:16 -07:00
Unknown W. Brackets
878a049f60 GPU: Add dirtying for geo shader state.
Not yet used, but dirtied at the right times.
2022-10-02 07:42:16 -07:00
Unknown W. Brackets
a8c12385c1 UI: Prevent rendering during reboot.
Can sometimes crash.
2022-10-02 07:25:31 -07:00
Henrik Rydgård
d3f6b9b7e4
Merge pull request #16145 from gucio321/polish-translation
assets/lang: translate some key phrases in pl_PL.ini
2022-10-02 15:40:16 +02:00
Henrik Rydgård
b36bfc37d5
Merge pull request #16139 from hrydgard/tighten-up-format-checks
Tighten up some color format checks with displays and copies
2022-10-02 15:39:51 +02:00
gucio321
5caa43d05a
assets/lang: translate some key phrases in pl_PL.ini
I've switched into polish language for a while and noticed
that some parts of settings are not translated... It was a bit...
harmful ;-)
2022-10-02 15:19:54 +02:00
Henrik Rydgård
10b2263673
Merge pull request #16143 from unknownbrackets/edram-trans
Report, save, and frame dump the Edram translation value
2022-10-02 09:25:45 +02:00
Henrik Rydgård
19f4ffef60
Merge pull request #16141 from unknownbrackets/debugger
Debugger: Fix game.reset by adding a reboot status
2022-10-02 09:13:47 +02:00
Unknown W. Brackets
4a64a863e7 headless: Update tests. 2022-10-01 23:51:30 -07:00
Unknown W. Brackets
fcc877a0f3 GE Debugger: Fix memcpy/memset recording.
Uhh, oops.  I'm surprised I didn't notice these were broken for so long.
2022-10-01 23:48:23 -07:00
Unknown W. Brackets
978fd9fc60 GE Debugger: Record the Edram translation value. 2022-10-01 23:48:06 -07:00
Unknown W. Brackets
24999e792a Ge: Report and save Edram translation value.
See #16126 for some details on its usage and effects.
2022-10-01 23:18:42 -07:00
Henrik Rydgård
d2ce6f513d
Merge pull request #16140 from unknownbrackets/debug-32
Build: Fix debug build on Windows 32-bit
2022-10-02 08:15:19 +02:00
Unknown W. Brackets
753ac95307 Debugger: Fix game.reset by adding a reboot status.
We don't want EmuScreen to auto-exit, and we don't want to double-lock the
debugger lifecycle lock.  Let's just handle reboot specifically.
2022-10-01 18:13:22 -07:00
Unknown W. Brackets
a268b9d1c9 Build: Ignore no symbols link warning.
This is just because we ifdef some files out for certain platforms.
2022-10-01 17:14:12 -07:00
Unknown W. Brackets
80cccd7abb Build: Fix debug build on Windows 32-bit. 2022-10-01 17:07:27 -07:00
Henrik Rydgård
ab08db6fca Tighten up some color format checks with displays and copies
Now that we allow multiple color format buffers to overlap, and don't
just take one and change its format during copy for example, we could
use some additional checking.

Additionally, do a simple heuristic to reject "obviously" wrong copies
copies to framebuffers.

Fixes #15959, should also help #16124
2022-10-02 00:10:19 +02:00
Henrik Rydgård
f12a5101e6
Merge pull request #16137 from unknownbrackets/armips-update
Update to latest libarmips
2022-10-01 22:47:13 +02:00
Henrik Rydgård
151db69a32
Merge pull request #16138 from unknownbrackets/geo-shader-2
Basic groundwork for geometry shaders
2022-10-01 22:23:48 +02:00
Unknown W. Brackets
87171cef98 GPU: Add geometry path for shader writer.
Not yet used.
2022-10-01 12:45:43 -07:00
Unknown W. Brackets
e5fbc1d39d unittest: Cleanup stage/glsl version. 2022-10-01 12:18:26 -07:00
Unknown W. Brackets
59a489f883 Draw: Add COLOR1 semantic. 2022-10-01 12:14:46 -07:00
Henrik Rydgård
9ec41436d1 ES2 crash fix: Don't draw depth if lacking fragment shader depth write. 2022-10-01 19:28:52 +02:00
Unknown W. Brackets
c3e2e1c13d Build: Raise macOS/iOS min version for c++17. 2022-10-01 09:13:41 -07:00
Unknown W. Brackets
2b884de585 armips: Use native std::filesystem on Windows/UWP. 2022-10-01 08:13:57 -07:00
Unknown W. Brackets
559fdd167f armips: Also update UWP and ARM64, etc. 2022-09-30 20:16:34 -07:00
Unknown W. Brackets
ac335ad61a armips: Update to UTF-8/c++17 armips. 2022-09-30 19:48:14 -07:00
Unknown W. Brackets
8b7ccfeca5 Core: Remove disallowed register. 2022-09-30 19:48:14 -07:00
Unknown W. Brackets
faf7fc7aea Build: Update zstd to latest dev.
Fixes attribute issue in newer c++ standards.
2022-09-30 19:31:06 -07:00
Unknown W. Brackets
c49b91c62b armips: Update to latest. 2022-09-30 17:47:43 -07:00
lainon
3cdf72b68b Better readability and optimization insertion into container by replacing 'insert' -> 'emplace', 'push_back' -> 'emplace_back' 2022-09-30 12:35:28 +03:00
lainon
c953bf7fc7 Fixed bug and memleaks 2022-09-30 12:32:49 +03:00
lainon
b304551747 Code readability, vec reserve() and remove excess c_str() 2022-09-30 12:31:32 +03:00
lainon
fec708489a Correct cleaning string and remove unused vars 2022-09-30 12:26:30 +03:00
Henrik Rydgård
16f93a2684
Merge pull request #16133 from unknownbrackets/softgpu-debugger
GE Debugger: Correct rounded coords in vertex list
2022-09-30 10:45:31 +02:00
Unknown W. Brackets
77696573f4 GE Debugger: Correct rounded coords in vertex list.
Were previously rounding to pixel, not subpixel.  Also, show out of range
values for clarity on clamping/culling.
2022-09-30 00:19:21 -07:00