Henrik Rydgard
f38a6650b1
VK code cleanup: Just a little helper for handling dedicated allocation for images.
2019-02-07 14:56:29 +01:00
Henrik Rydgård
54c6c148fb
Detect PCI device ID where available (not in GL?)
2019-02-06 22:43:31 +01:00
Henrik Rydgard
e30daa8027
Remove unused API, assorted cleanup.
...
No longer enable the geometry shader feature, no plans to use it.
2019-02-05 21:31:43 +01:00
Henrik Rydgard
32f37723f9
Properly use VK_KHR_dedicated_allocation to make some drivers extra happy
2019-02-05 18:07:18 +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
Henrik Rydgård
bb4d91c958
If we lose the Vulkan device, recommend the user to switch to Direct3D11.
...
:-(
2019-01-30 17:57:20 +01:00
Henrik Rydgård
12f295c4a5
GLES: Detect Vivante GPU, disable vertex range culling
...
Should work-around #11703
2019-01-03 12:43:32 +01:00
Unknown W. Brackets
adeca2c3ba
GLES: Move some vendor bug checks to Draw.
2018-12-23 20:27:22 -08:00
Unknown W. Brackets
9a3de5cb1c
GPU: Move dual source blending bug check to Draw.
...
This also allows the ini setting to avoid it on Intel.
2018-12-23 14:11:57 -08:00
Unknown W. Brackets
f8ce9b08ba
Vulkan: Limit stencil workaround to Adreno 5xx.
2018-12-23 14:11:57 -08:00
Henrik Rydgård
d047955686
This should finally repro one of the Adreno bugs
2018-12-20 11:00:15 +01:00
Henrik Rydgård
c2319cd6d1
thin3d: Make the stencil ref value dynamic state (all APIs support this directly).
2018-12-19 13:48:58 +01:00
Henrik Rydgård
df98721e73
Write rough framework for GPU discard test screen
2018-12-19 13:48:54 +01:00
Henrik Rydgård
683a4e0fb2
Merge pull request #11676 from unknownbrackets/gles-depth
...
WIP - GLES: Download depth values via shader
2018-12-19 09:58:38 +01:00
Henrik Rydgård
a135dc1547
thin3d: Remove unused shader language support
2018-12-18 14:29:48 +01:00
Henrik Rydgård
956af61ff5
Fix ridiculous bug in thin3d.h. Only worked by accidental matchup between shader IDs..
2018-12-18 14:29:48 +01:00
Henrik Rydgård
637b6ce79a
Remove unused and unfinished SPIRV disassembler
2018-12-18 10:37:49 +01:00
Unknown W. Brackets
27e8720e14
GLES: Download depth values via shader.
...
Working on desktop, but not on mobile...
2018-12-16 17:34:16 -08:00
Unknown W. Brackets
2dc3912d0a
GLES: Actually support depthless FBOs.
...
We use these for temp buffers. This might at least save some VRAM.
2018-12-16 17:34:16 -08:00
Unknown W. Brackets
57767ba1f8
GLES: Use depth textures where possible.
2018-12-16 17:34:16 -08:00
Henrik Rydgård
d1910de166
GL: Realized we need another sanity check in the readback code
...
Added similar checks to Vulkan, just because.
2018-11-24 17:20:56 +01:00
Henrik Rydgård
d9493009c7
Merge pull request #11574 from unknownbrackets/lighting
...
Correct various light param issues based on tests
2018-11-22 20:04:46 +01:00
Unknown W. Brackets
c944063d03
Reporting: Ignore link error with bad shaders.
...
We only need the issue reported once.
2018-11-22 07:58:08 -08:00
Henrik Rydgård
442b57033f
Attempt to fix the last very common issue of #11493 by being paranoid
2018-11-21 22:40:54 +01:00
Henrik Rydgård
f2244f789e
VK: Add extra safety checks around font texture creation. Motivated by some Play crashes.
2018-11-21 17:34:54 +01:00
Unknown W. Brackets
caf5bb2789
Vulkan: Allow pre-transition from undefined.
...
This seems like it can happen when download/upload operations break up a
render, and happens now with dumps using the display at the right timing.
2018-11-17 10:01:38 -08: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
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
Henrik Rydgård
0134fc8739
Merge pull request #11513 from unknownbrackets/gpu-shutdown
...
Wait for orderly finish of cache before shutdown
2018-10-31 15:55:36 +01:00
Unknown W. Brackets
dcf71fc43f
GLES: Skip freeing program if not allocated.
...
This could cause a crash when skipGLCalls is true, if null.
2018-10-30 19:14:02 -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
Henrik Rydgård
c074d3c61f
Improve sanity checks for framebuffer readbacks
2018-10-28 14:30:39 +01:00
Henrik Rydgard
8883156e45
Yet another try at taking care of the GPD crashes in #11063 .
...
Thanks tiagao for all the testing.
2018-10-22 09:59:49 +02:00
Henrik Rydgård
292d2f44ee
GL: Also skip gl calls in ThreadEnd during shutdown on Android. May help #11063
2018-10-21 09:14:02 +02:00
Henrik Rydgård
aea5f38a15
Fix issue where skipGLCalls_ wasn't respected. May help #11063
2018-10-20 15:59:33 +02:00
xebra
0d7a5cd093
GLES: Fix to delete subimage data since #11447 .
2018-10-08 00:29:41 +09:00
xebra
03b9492f08
[spline/bezier]Sharing textures to avoid heavily textures creation/deletion in one frame. At least, it occurs about 1000 and very slow down in Pursuit Force.
2018-10-07 23:54:12 +09:00
xebra
3add123587
thin3d: Add support for texture subimage to GLRender.
2018-10-07 23:54:02 +09:00
Henrik Rydgård
f77975d79b
Address additional comments.
2018-10-06 21:36:47 +02:00
Henrik Rydgård
a3a94bdd33
Avoid calling any GL calls during shutdown on Android. Should help #11063
...
The context is already lost and we're really running shutdown when the process is woken
up again. Additionally, orderly shutdown through the button doesn't happen
on the render thread so remove a couple of asserts that are wrong.
2018-10-06 21:31:52 +02:00
Henrik Rydgård
9b7061b383
Vulkan: Apply Themaister's patch, removing illegal pre-transitions of swapchain images. Fixes #11417
2018-10-03 21:39:16 +02:00
Unknown W. Brackets
b7d84926fa
D3D11: Enable depth clamping.
...
Uses the same logic as Vulkan, improving #9545 on most D3D11 devices.
2018-09-18 21:49:17 -07:00
Henrik Rydgård
637a17a66c
Fix small and scary Vulkan bug (leftover from skinning-removal revert)
2018-09-18 23:38:38 +02:00
AreaScout
95556e8d03
Add: some helpers to compile on ODROID-XU4/XU3
2018-09-17 20:01:12 +00:00
Unknown W. Brackets
2388be544f
Debugger: Fix crash in softgpu with no texaddr yet.
2018-09-04 21:54:25 -07:00
Unknown W. Brackets
557748d65b
Merge pull request #11336 from hrydgard/android-text-crash-fix
...
Set a minimum of 1x1 for Android text bitmap measurement.
2018-08-30 19:02:40 -04:00
Henrik Rydgård
8e6a1bc849
Set a minimum of 1x1 for Android text bitmap measurement.
...
Should fix some crashes seen on Google Play
2018-08-30 19:49:33 +02:00
Unknown W. Brackets
1b79924038
Debugger: Fix texture readback in GLES.
...
Was using the wrong size, causing the buffer not to be allocated large
enough. This caused crashes sometimes.
2018-08-29 22:09:10 -07:00
Unknown W. Brackets
3f48e446b6
GPU: Fix texture handling on framebuf detach.
...
We were never creating/recreating the texture, so we ended up with null.
Caused all sorts of problems.
2018-08-25 09:57:37 -07:00