Henrik Rydgård
26884150d7
Remove the 0th descriptor set, move everything else back to 0
2022-12-16 13:05:40 +01:00
Jan Beich
6a9334e6f0
OpenXR - Correct NULL type for XrSession
...
Common/VR/VRBase.cpp:220:30: error: assigning to 'XrSession' (aka 'unsigned long long') from incompatible type 'nullptr_t'
engine->appState.Session = NULL;
^~~~
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
#define NULL nullptr
^~~~~~~
2022-12-15 15:31:09 +00:00
Henrik Rydgård
e6b7817cc6
Disable pre-rotation for 270 degree transform (inverse landscape).
...
Causes bizarre issues, see #15773
2022-12-15 11:29:11 +01:00
Henrik Rydgård
a44af59f3a
Use vendor instead of lazy memory to detect tiling GPUs.
2022-12-14 16:59:20 +01:00
Henrik Rydgård
11366a2ded
Don't refer directly to g_Config.iMultiSampleLevel, it can contain unsupported modes.
2022-12-14 16:43:37 +01:00
Unknown W. Brackets
8c1a247b7b
Vulkan: Cleanup some logspam.
2022-12-13 18:29:23 -08:00
Henrik Rydgård
00ebf4957f
Make shader cache loading a bit more lenient.
2022-12-13 23:06:57 +01:00
Henrik Rydgård
30e1bc0540
Some logging improvements
2022-12-13 16:29:07 +01:00
Henrik Rydgård
73cd9fac7d
Tiny optimization in PipelineDesc
2022-12-13 15:16:11 +01:00
Henrik Rydgård
630b7830fa
Improve background drag behavior on display layout screen
...
If you moved into and mouse-up-ed over one of the menus while dragging
the background, it stopped registering movement and "up events" which
felt really awkward.
This is not super pretty, better would be a win32-SetCapture-like
mechanism but works okay.
2022-12-13 00:27:22 +01:00
Henrik Rydgård
675c282286
Hides the D3D9 option on Intel Xe graphics.
...
For whatever reason, it really doesn't work for me, while all three other
backends work perfectly. So let's just hide it.
You can still enable it through the ini file for debugging purposes.
2022-12-11 20:55:09 +01:00
Henrik Rydgård
af59bc161b
Merge pull request #16488 from lvonasek/config_openxr_update
...
OpenXR - Fixes for release candidate
2022-12-11 13:37:09 +01:00
Unknown W. Brackets
1810692236
Global: Cleanup some type/range checks.
2022-12-10 21:13:37 -08:00
Unknown W. Brackets
9cfcbc46e6
Global: Cleanup initialization/pointer checks.
...
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
a7b7bf7826
Global: Set many read-only params as const.
...
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
e3fdb183f6
Common: Remove some unused color conv funcs.
...
We already have versions of these doing other conversions.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
f44852bb18
Global: Cleanup virtual/override specifiers.
...
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Lubos
28c115c4ba
OpenXR - Allow to put HUD out of the screen
2022-12-10 21:36:39 +01:00
Lubos
3cc979859c
OpenXR - Release keys on activation of camera adjust
2022-12-10 21:31:39 +01:00
Henrik Rydgård
31efd9565e
Merge pull request #16539 from unknownbrackets/gedebugger
...
GE Debugger: Fix src/dst stride formatting
2022-12-10 20:27:24 +01:00
Unknown W. Brackets
a800938604
Common: Fix worker thread names.
2022-12-10 10:40:32 -08:00
Henrik Rydgård
cdb830f390
Minor optimization/cleanup
2022-12-10 12:05:40 +01:00
Henrik Rydgård
4ec1e2a175
Some minor initialization fixes, and one potential crash found by static analysis
2022-12-10 11:28:19 +01:00
Unknown W. Brackets
0a4e3a3867
Merge pull request #16531 from hrydgard/last-frame-shaders
...
iota97's "Motion blur" - LCD persistence shader, plus fixes to make it work with OpenGL
2022-12-09 16:43:16 -08:00
Henrik Rydgård
e59b734b27
Fix case where we could write off the end of a buffer if texture width == 1 and 4-bit color.
2022-12-09 23:47:39 +01:00
Henrik Rydgård
b7a3cf56cc
OpenGL: Fix lifetime issue with uniform/sampler "locs" for thin3d pipelines
2022-12-09 20:52:19 +01:00
Henrik Rydgård
0ad6218dc4
Fix "usePrevFrame" shaders for OpenGL
2022-12-09 17:28:58 +01:00
Henrik Rydgård
7ff0030772
Added vertical layout for display layout screen
2022-12-08 16:04:20 +01:00
Henrik Rydgård
141e076f12
Merge pull request #16523 from hrydgard/post-shader-cleanup
...
Post shader cleanup
2022-12-08 13:45:03 +01:00
Henrik Rydgård
3e7f7ad8d7
Add CSS-style padding support to LinearLayout. Use to improve the look
2022-12-08 00:01:46 +01:00
Henrik Rydgård
42b74c6a9a
Add background to the scroll views. Not really pretty but more readable
2022-12-07 23:12:09 +01:00
Lubos
8ff1156c04
OpenXR - SDK updated
2022-12-07 21:19:33 +01:00
Henrik Rydgård
cd24d3edf9
Fix context menu translation support
2022-12-07 16:15:02 +01:00
Henrik Rydgård
241dd4093b
Change the Settings toggle to a specially styled checkbox
2022-12-07 11:12:29 +01:00
Henrik Rydgård
a83a3f9d5d
Declutter using a context menu, which I had to create from scratch.
2022-12-07 10:27:02 +01:00
Henrik Rydgård
39b627c0c1
Fix layout issues, misc cleanup and comments
2022-12-07 10:27:02 +01:00
Henrik Rydgård
aed5d76fbc
Make the post shader list more editable
2022-12-07 10:27:02 +01:00
Henrik Rydgård
82680633e7
More usability tweaks
2022-12-07 10:27:02 +01:00
Unknown W. Brackets
77c98441f4
softgpu: Expand fast path to all fb formats.
...
This should speed up 2D games not using 5551, and make it mroe likely any
regression is caught for Darkstalkers.
2022-12-06 18:43:21 -08:00
Henrik Rydgård
70b6733d0a
Minor alpha bit optimization in Darkstalkers rectangle code
2022-12-07 01:50:29 +01:00
Henrik Rydgård
93e5060137
Load and cache langValuesMapping on demand
2022-12-05 12:10:45 +01:00
Henrik Rydgård
5de3a7c252
Merge pull request #16500 from unknownbrackets/warnings
...
Fixes to recently introduced warnings and a couple older ones
2022-12-04 17:40:30 +01:00
Unknown W. Brackets
e49668eea7
SaveState: Correct missing switch case warnings.
2022-12-04 07:57:30 -08:00
Unknown W. Brackets
0556ee67fc
SaveState: Fix a format type error.
2022-12-04 07:57:09 -08:00
Henrik Rydgård
a8939f456a
Remove dead code, validation fix in GE debugger
...
See #16490
2022-12-04 00:49:48 +01:00
Henrik Rydgård
7e97ce1760
Merge pull request #16495 from unknownbrackets/vulkan-shutdown
...
Cleanup shader module lifetime handling for Vulkan
2022-12-04 00:16:58 +01:00
Unknown W. Brackets
3f620dba58
Vulkan: Reduce some logging when things are fast.
...
On startup especially this spams sometimes.
2022-12-03 14:56:58 -08:00
Unknown W. Brackets
78ed8d45a7
Vulkan: Defer deletion of shader module promises.
2022-12-03 14:53:10 -08:00
Unknown W. Brackets
53eedf06e3
Vulkan: Track pipeline desc using a refcount.
...
Not very safe to not allow deletes, and don't want to force Draw objects
on the deleter (this is referenced by them.)
2022-12-03 14:52:06 -08:00
Henrik Rydgård
f3ba8fb334
Address feedback, also sort texture shaders
2022-12-03 19:30:50 +01:00