Henrik Rydgard
273c266b78
Silence a perf warning
2017-05-30 09:36:17 +02:00
Henrik Rydgard
fd4ef48971
Windows debug builds: Only break on Vulkan validation warnings if a debugger is attached.
2017-05-07 18:09:09 +02:00
Henrik Rydgard
42a694368e
Vulkan: Remove obsolete warning suppressions. Increase descriptor pool sizes.
2017-05-07 11:14:25 +02:00
Henrik Rydgard
ff6fcc9179
More vulkan fixes
2017-05-07 10:53:04 +02:00
Unknown W. Brackets
0b16899f67
Windows: Init with OpenGL 4.5 if possible.
...
Also, try more versions if older.
2017-04-29 17:38:18 -07:00
Unknown W. Brackets
ccd9a17235
D3D11: Free swapchain on graphics reset.
2017-04-27 20:04:30 -07:00
Unknown W. Brackets
bf02f7d98b
Vulkan: Detect swapchain init failure.
...
This seems to be a driver bug, and occurs on NVIDIA when OpenGL has
previously been inited. Or we're not cleaning something up properly...
but there's a driver error logged to debug output.
2017-04-15 16:26:26 -07:00
Henrik Rydgard
db89bced86
Remove unused code
2017-04-06 09:57:55 +02:00
Henrik Rydgård
c0f6a24a21
Fix issue where we were a little too aggressive when eliminating calls to SetRenderTarget
2017-03-23 10:02:28 +01:00
Unknown W. Brackets
4514af9d6e
Windows: Improve core context init.
...
This clears the error from glewInit(), and ensures we check GL extensions
only after selecting the desired GL profile.
Also, consistently use the core profile flag to select the context.
2017-03-18 13:47:15 -07:00
Henrik Rydgård
f4a0c4504f
Fixes to GPU system information. Fixes #9434
2017-03-16 09:48:10 +01:00
Henrik Rydgard
5d5844632a
Fix shader issues with D3D11 feature level 9
2017-03-05 22:56:33 +01:00
Henrik Rydgard
042d09a049
Fix #9390 , also unbreak D3D11 screenshots
2017-03-05 20:30:39 +01:00
Henrik Rydgard
85717a981c
Show feature levels in System Info, allow lower D3D11 feature levels
2017-03-05 11:05:36 +01:00
Henrik Rydgard
7b3f84aae8
More buildfixes for Windows on ARM
2017-03-05 10:52:08 +01:00
Henrik Rydgard
5de190a45f
D3D11: Move the responsibility for the swapchain out of the DrawContext so it can be used with differently-managed D3D like with UWP.
...
Minor cleanups.
2017-02-27 10:10:24 +01:00
Henrik Rydgard
fa80cfa4aa
Additional UWP preparations
2017-02-25 09:57:14 +01:00
Henrik Rydgard
acde17e3ce
Improvements to D3D11 detection and error handling.
2017-02-23 10:40:55 +01:00
Henrik Rydgard
5a0ee6cc36
Add some plumbing to be able to reach DX11.1 features.
2017-02-18 01:54:28 +01:00
Henrik Rydgard
522ac5c739
Add an escape route to D3D9 in case D3D11 fails to initialize. Cleanups.
2017-02-17 19:53:24 +01:00
Henrik Rydgard
e83dd2b524
Minor cleanup, elimintate some bind ordering hazards that D3D11 warns about
2017-02-17 14:31:02 +01:00
Henrik Rydgard
77d087776c
D3D11: Support window resize
2017-02-14 11:21:53 +01:00
Henrik Rydgård
bbdb0ee195
Fix the stencil buffer initialization stuff (not sure it's 100% working et)
2017-02-12 13:55:49 +01:00
Henrik Rydgård
6efdde9ea4
D3D11: Fix build issue in Release mode. Triangle fan workaround.
2017-02-12 12:12:36 +01:00
Henrik Rydgård
f7717063a8
Assorted fixes for memory leaks etc
2017-02-10 14:41:32 +01:00