Commit Graph

2054 Commits

Author SHA1 Message Date
Henrik Rydgård
ff7a85cc2f
Merge pull request #12032 from driver1998/d3dcompiler
POC: D3DCompiler on D3D9
2019-05-14 22:54:30 +02:00
driver1998
cdaa8d2609 fix git-version-gen on normal commits (without tag) 2019-05-13 19:05:57 +08:00
LunaMoo
2da9de9fe7 Fix typo which disabled GEDebugger 2019-05-12 17:50:25 +02:00
driver1998
21d2008676 Use D3DCompiler_47.dll for D3D9 context. 2019-05-12 11:17:10 +08:00
Henrik Rydgård
ff65b813d9 Assorted warning fixes 2019-05-10 23:26:34 +02:00
Henrik Rydgård
2f26297062 Clean up some more ifdefs 2019-05-10 23:25:57 +02:00
Henrik Rydgård
20d666ff55 Remove DbgNew.h forced include in ARM debug builds, doesn't work for some reason. 2019-05-10 23:18:31 +02:00
Henrik Rydgård
1f40aa4828 Add WindowsSDKDesktopARM64Support to vcxproj files 2019-05-10 22:44:12 +02:00
Henrik Rydgård
c3fab33354 Revert "Remove default SDK version from project files"
Seems to have been the wrong thing to do, see:
https://developercommunity.visualstudio.com/content/problem/140294/windowstargetplatformversion-makes-it-impossible-t.html

Though due to the bug described there, there's no perfect solution, just
some ugly ones (which I might try later). Anyway, I guess most people
will move on to VS 2019 anyway..

This reverts commit 056494522e.
2019-05-09 23:58:23 +02:00
driver1998
7b7dede420 Fix D3D11 context on Windows ARM Debug
debug layers are not available on ARM32/ARM64 (D3D*SDKLayers.dll not available), so disable it.
2019-05-05 01:19:16 +08:00
driver1998
e3213b14ee Remove unnecessary ifdefs 2019-05-05 01:15:32 +08:00
driver1998
87f43d51ef Fix UnixTests and HeadlessHost on ARM 2019-05-04 23:56:55 +08:00
driver1998
0aa33d53c0 Disable features not available on Windows ARM32/ARM64
ARM32: OpenGL & DirectInput
ARM64: OpenGL
2019-05-04 22:45:16 +08:00
driver1998
763b85d723 Update Visual Studio project files for Windows ARM32/ARM64 2019-05-04 22:45:15 +08:00
LunaMoo
056494522e Remove default SDK version from project files 2019-04-27 23:01:41 +02:00
LunaMoo
280f7fec39 Fix VS2019 builds and remove _xp dependency
(drops Win XP support, allows latest SDK etc.)
2019-04-25 23:56:55 +02: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
4d5af330a7 Windows: Change FP model to Precise. See #11384 2019-03-14 10:59:35 +01:00
Henrik Rydgård
c77af182af
Merge pull request #11867 from unknownbrackets/ui-menu
Fix Windows help menu
2019-03-04 08:11:52 +01:00
Unknown W. Brackets
f2206158b2 UI: Update more browser links to https://. 2019-03-03 21:39:21 -08:00
Unknown W. Brackets
c821ad1d51 Windows: Link to https://. 2019-03-03 21:35:05 -08:00
Unknown W. Brackets
7428216063 Windows: Clear help menu correctly. 2019-03-03 21:34:32 -08:00
Henrik Rydgård
e74be9c492 DPI fixes in the old Win32 debugger. Fixes #11856.
Also some general cleanup of it but decided it wasn't worth it to continue.
2019-03-03 09:19:44 +01:00
Henrik Rydgård
0cd3ac06d0 Avoid trying to create a FileLoader for empty filenames
Assorted cleanup
2019-02-25 21:35:51 +01:00
Henrik Rydgård
d91f706206 Log why the config is being saved (we seem to do it a bit much at times) 2019-02-23 11:55:44 +01:00
Henrik Rydgård
4d8f3c48ad
Merge pull request #11809 from unknownbrackets/ui-minor
Windows: Hide accelerators when they are disabled
2019-02-17 22:58:55 +01:00
Unknown W. Brackets
6bc596d3a7 Windows: Hide accelerators when they are disabled.
Currently, mapping something to load state / save state / etc. causes the
default accelerators to become disabled.  In this case, it can be
confusing when the menu still shows them.

Fixes #11395.
2019-02-17 12:17:41 -08:00
Unknown W. Brackets
d19e59dde7 Windows: Browse for folder like Qt.
Better to separate out the platform specific stuff.
2019-02-17 08:03:10 -08:00
Unknown W. Brackets
bc84571f0f Windows: Detect Vulkan in separate process.
This should avoid crashes with broken AMD drivers that can't initialize
Vulkan properly.  Instead, Vulkan will show up as unavailable.

Disabled during debug to allow for debugging.
2019-02-16 10:14:54 -08:00
Henrik Rydgård
23dd47ab77 Make "Show FPS Counter" in the Windows menu actually show fps, not just speed 2019-02-09 11:23:14 +01:00
Henrik Rydgård
d15e71915a Add missing break statement fixing bizarre language menu issue from #7929 2019-02-06 19:57:44 +01:00
Henrik Rydgard
478b0b4278 Further improve VK extension loading. Switch to VK_EXT_debug_utils (but fallback to VK_EXT_debug_report if only that is available). 2019-02-05 21:31:38 +01:00
Henrik Rydgard
8e1a5ef3d6 Minor refactor of physical device property/feature detection, to allow for more extension use. 2019-02-05 18:07:17 +01:00
Henrik Rydgard
f339a0c15b VK: Minor cleanup, turn off unfinished and probably wrong use of dedicated allocation feature 2019-01-31 14:09:21 +01:00
Cody Tilkins
cb9a946f1e
Merge pull request #2 from tilkinsc/patch-2
Update build-x64.cmd
2019-01-16 11:43:35 -05:00
Cody Tilkins
05f53a0fe3
Update build-x64.cmd 2019-01-16 11:41:01 -05:00
Cody Tilkins
1771cea5a3
Added " guards to if not exists
The reason why I added this is a just-in-case due to the nature that cmd explodes when something isn't set properly... it can start executing code that shouldn't be obtained.

I also fixed a minor formatting error
2019-01-16 11:39:34 -05:00
Unknown W. Brackets
adeca2c3ba GLES: Move some vendor bug checks to Draw. 2018-12-23 20:27:22 -08:00
xebra
4b2c18bb23 GE Debugger: Minor fix step count dialog. 2018-12-24 04:23:03 +09:00
Unknown W. Brackets
00051fd628
Merge pull request #11641 from xebra/improve_stepcount
GE Debugger: Add step count dialog.
2018-12-20 19:26:44 -08:00
xebra
f64156c8e7 GE Debugger: Improve step count dialog. 2018-12-18 00:27:02 +09:00
Henrik Rydgård
60a81a6144
Merge pull request #11658 from unknownbrackets/ui-minor
Windows: Hide Vulkan/D3D11 if not available
2018-12-11 12:13:00 +01:00
Unknown W. Brackets
02d2aa4069 Windows: Hide Vulkan/D3D11 if not available.
We only were doing this in the settings screen before.  Fixes #11657.
2018-12-10 23:05:15 -08:00
xebra
070e29d921 Disable "Edit & Continue" with VS debug mode. 2018-12-07 13:01:16 +09:00
xebra
21bdc2b4c9 GE Debugger: Add step count dialog. 2018-12-06 18:16:54 +09:00
Unknown W. Brackets
f88dc9e821 GE Debugger: Allow relative prim counts. 2018-12-01 15:50:20 -08:00
Unknown W. Brackets
e029168be2 GE Debugger: Allow jumping to a specific prim.
This will make the most sense when frames are relatively stable, and works
great for GE dumps.
2018-12-01 06:40:27 -08:00
Unknown W. Brackets
4d5c8fcff4 GE Debugger: Track a counter of prims. 2018-12-01 06:26:35 -08:00
Unknown W. Brackets
db7cdce27c Windows: Define menu item text in menu only.
Except Run/Stop which changes, let's not use this parameter.
2018-11-28 22:06:47 -08:00
Unknown W. Brackets
46063961a8 Windows: Translate all items by id, not position.
Fixes #11571.
2018-11-28 21:46:55 -08:00
Henrik Rydgård
c1e1076c68
Merge pull request #11577 from unknownbrackets/lighting
Correct provoking vertex for lighting when flat shading
2018-11-23 09:32:16 +01:00
Unknown W. Brackets
529efded1c GE Debugger: Fix display of raw normals. 2018-11-22 17:53:36 -08:00
Henrik Rydgård
429a1fce01 Assert even in release mode if preset shaders fail to compile. This is just to help track down a Play crash. 2018-11-21 18:14:26 +01:00
Unknown W. Brackets
184ae2f93c GE Debugger: Fix type conversion warning. 2018-11-17 08:57:59 -08:00
Henrik Rydgård
7561af3735
Merge pull request #11523 from mrfixit2001/master
Add frameskip setting by percent of current FPS
2018-11-04 19:35:03 +01:00
Henrik Rydgård
22c066515e
Merge pull request #11425 from xebra/refactor_spline_bezier
[Refactoring] Improve spline/bezier.
2018-11-04 17:04:29 +01:00
root
42c50a0ab0 Fixes for Unknown 2018-11-04 01:59:37 +00:00
root
c19d3fe06a MRFIXIT2001: This patch adds a second frameskip setting, one for setting the # of frames to skip, one for setting the % of frames to skip based off fps 2018-11-03 01:33:41 +00:00
Henrik Rydgård
e7ac302384
Merge pull request #11488 from dl471/memview-show-offsets
Windows: Option to show offset scale in memory view
2018-11-02 11:30:33 +01:00
Henrik Rydgård
f74f6083a7
Merge pull request #11509 from unknownbrackets/desktop-gles
GLES: Add disabled code to run GLES on desktop
2018-11-02 11:09:46 +01:00
Unknown W. Brackets
d30d75ab38 Windows: Check for devices on Windows events only.
A user reported stuttering after the periodic checks, and devices failing
until unplug/replug.  Presumably, this is caused by poor drivers reacting
badly to periodic DirectInput queries, so less queries should help.
2018-11-01 21:42:12 -07:00
Unknown W. Brackets
dc54ed6855 GLES: Add disabled code to run GLES on desktop.
Helps when testing certain extensions, etc.
2018-10-28 14:29:44 -07:00
dl471
f68fed7da5 Fix whitespace 2018-10-24 00:15:51 +01:00
dl471
7f3aaaa0f7 Readability improvements
-Change variable names related to offsets for consistency

-Add a few comments
2018-10-22 15:56:37 +01:00
dl471
b25adc7ba8 Implement drawing of offset scale
-Add function to draw offset

-Add checkbox to allow toggling of offset writing

-Set writeOffsets default value to Off

-Ensure the drawing and user input is not affected by the offset
2018-10-22 03:31:10 +01:00
dl471
c11cfe37f8 Implement saner making space for offsets
-Adjust the y coordinates of the rows as they are drawn

-Adjust visible rows

-Adjust clicks
2018-10-22 03:31:02 +01:00
dl471
f52b888186 Make space for offsets (dirty implementation) 2018-10-22 03:30:30 +01:00
Henrik Rydgård
0ad166d204 Make sure to save the config while changing backends using the menu bar. Should help #11465 2018-10-10 21:55:10 +02:00
Unknown W. Brackets
52e2e0763a Windows: Detect DirectInput devices after launch. 2018-10-08 21:21:37 -07:00
xebra
5f9022ae14 [spline/bezier]minor fix 2018-10-07 23:54:29 +09:00
xebra
ef53195ae8 [spline/bezier]Surround with namespace Spline. 2018-10-07 23:54:28 +09:00
xebra
10afcf2dbb [spline/bezier]Improve basic spline/bezier structures. 2018-10-07 23:54:26 +09:00
xebra
019e276798 [spline/bezier]Modify ControlPoints and fix VertexPreview. 2018-10-07 23:54:20 +09:00
xebra
0cb63318bc [spline/bezier]Fix to build for GE debugger. 2018-10-07 23:54:00 +09:00
Henrik Rydgård
07e99d614d
Merge pull request #11437 from xebra/step_to_curve
GE Debugger: Step to curved surface.
2018-10-03 14:39:19 +02:00
Henrik Rydgård
669079454a
Merge pull request #11438 from unknownbrackets/wasapi-switch
Allow WASAPI device switching
2018-10-01 09:15:36 +02:00
Unknown W. Brackets
c571924765 Windows: Support WASAPI default device switching.
No support for specifying a certain device.
2018-09-30 21:47:00 -07:00
Unknown W. Brackets
ae5ff4bf71 Windows: Support non-extensible float in WASAPI.
The DualShock 4's headphone jack uses this, for example.
2018-09-30 20:29:44 -07:00
Henrik Rydgård
f7c96651e6 Listen to WASAPI events 2018-09-30 20:29:44 -07:00
Henrik Rydgård
f8ea364371 Cleanup: Split out the WASAPI code into its own file. 2018-09-30 20:29:39 -07:00
xebra
64cf6f2755 GE Debugger:Step to curved surface. 2018-10-01 11:41:19 +09:00
Unknown W. Brackets
7ee4d2d5a1 UI: Ask for restart when changing graphics device.
Only for D3D11 and Vulkan.

Also, makes Vulkan follow D3D11 in not changing the setting if the device
is not found on startup.
2018-09-30 00:53:21 -07:00
Unknown W. Brackets
e90ffdb8e1 GE Debugger: Fix tex preview race condition.
If we redraw the tex preview first, we need this for the VAO.  Oops.
2018-09-20 20:33:20 -07:00
Henrik Rydgård
5d64107b0f Add some links to Discord where appropriate. 2018-09-16 20:04:10 +02:00
Unknown W. Brackets
f906fbed35 Core: Track graphics startup failures and cycle.
If the graphics driver segfaults, or some plugin segfaults, let's try a
different one next time.  This gives better hope of starting up next time.
2018-09-01 19:59:13 -07:00
Unknown W. Brackets
a004196d43 Qt: Buildfix with removed debugger methods. 2018-09-01 14:29:23 -07:00
Unknown W. Brackets
f1afc51994 GE Debugger: Refactor out stepping callback.
In case we have multiple connected debuggers, we don't want just a
callback.  A counter works fine.
2018-09-01 09:41:20 -07:00
Unknown W. Brackets
a4c0640f01 GE Debugger: Factor out host calls some.
Moving more of this to cross platform for the web debugger.
2018-09-01 08:32:03 -07:00
Henrik Rydgård
6f173b9134 Harmonize some VS project settings. 2018-08-14 22:41:39 +02:00
Henrik Rydgård
0684068c81
Merge pull request #11296 from hrydgard/discord-presence
Discord presence - show the current game
2018-08-14 08:40:09 +02:00
Henrik Rydgård
c0ba66cf3c Revert some of the sln and vcxproj changes, hoping to appease Travis 2018-08-13 23:08:46 +02:00
Henrik Rydgård
785858dbf8 Basic Discord presence integration. 2018-08-13 00:20:09 +02:00
Unknown W. Brackets
c32ffa1db0 GE Debugger: Rename depth clamp more places.
Was still showing clip enable in disasm.
2018-08-11 16:33:39 -07:00
Unknown W. Brackets
44be615cf5 GE Debugger: Arrange matrices properly.
They were all off before for 4x3.
2018-08-05 19:52:20 -07:00
Unknown W. Brackets
921727f163 GE Debugger: Fix preview crash.
In some cases on first draw (e.g. from a test), this might be null and
crash.  It was supposed to be the other program.
2018-08-05 17:12:46 -07:00
xebra
55b9daa736 GE Debugger:Fix indices memory allocation of bezier. 2018-06-27 01:25:08 +09:00
Henrik Rydgård
4cfc6ee272
Merge pull request #11187 from unknownbrackets/alt-speed
Add second alternate speed and buttons for alt speed
2018-06-24 13:41:12 +02:00
Unknown W. Brackets
95f270778e Core: Allow toggle between 2 custom speeds.
In addition to virtual keys for each speed separately.
2018-06-23 10:59:18 -07:00