Commit Graph

841 Commits

Author SHA1 Message Date
Henrik Rydgård
122a0fa1f6 Oops, revert debugging commit 2022-06-19 18:10:27 +02:00
Henrik Rydgård
1d17b01c16 Workaround for strange driver hang on Raspberry Pi 3.
Strangely, this does not fix the text rendering in the UI, but might
still be enough for the libretro use case in #15469.

See #15469
2022-06-19 16:56:19 +02:00
Henrik Rydgård
d0ea3b3284 Work around the Mali stencil discard bug the same way as the Adreno one. 2022-06-18 14:23:09 +02:00
Henrik Rydgård
78ad81db9e Show detected GPU driver bugs in system info 2022-06-18 14:23:09 +02:00
Henrik Rydgård
18e70e67f9 Small struct layout optimization (stencil is never more than 8 bits, can sneak in next to the load actions) 2022-06-11 13:24:14 +02:00
Henrik Rydgård
acb84f0648 Rename Vulkan attachment operation variables. Prep for supporting specifying store op. 2022-06-11 13:22:40 +02:00
Unknown W. Brackets
6c08a7a121 Vulkan: Fix depth transition barrier. 2022-05-01 15:16:50 -07:00
Henrik Rydgård
c3f48ecd6f Remove log output 2022-05-01 11:56:18 +02:00
Henrik Rydgård
f54aa53a8b Combine barriers before blits/copies 2022-05-01 11:54:47 +02:00
Henrik Rydgård
9d0eaff48a Convert some barriers to use the new barrier framework. 2022-05-01 11:34:29 +02:00
Henrik Rydgård
3b9ab88b21 Add utility class VulkanBarrier 2022-05-01 10:20:11 +02:00
Henrik Rydgård
370b1dd38b Combine renderpass "pretransitions" for barriers. 2022-05-01 10:20:11 +02:00
Henrik Rydgård
73452b4743 Minor cleanups 2022-04-23 22:52:28 +02:00
Unknown W. Brackets
b71f17586e Switch: Avoid loading Vulkan. 2022-04-02 16:34:13 -07:00
Unknown W. Brackets
ffbd9bbe98 Global: Fix some int/size_t conversion warnings. 2022-03-13 12:03:48 -07:00
Henrik Rydgård
e98e48e2e9 Merge pull request #15416 from unknownbrackets/gles-invalidate
GLES: Remove old invalidation code
2022-02-21 22:03:01 +01:00
Unknown W. Brackets
1ba8f1fa0a GLES: Remove old invalidation code.
We must've changed something to a KEEP, this never seems to catch anything
now.
2022-02-21 09:34:16 -08:00
Unknown W. Brackets
c20f352be2 GLES: Add asserts for correct blend usage.
Also make sure we don't try to use ARB blending on GLES.
2022-02-21 08:57:21 -08:00
Unknown W. Brackets
bbce43684c GLES: Use EXT not GLES3 for dualsrc blend support.
See #15413, thanks icecream95.
2022-02-20 23:19:43 -08:00
Henrik Rydgård
981f5dd634 Make the untextured uniform buffer the same size. 2022-02-18 14:24:48 +01:00
Henrik Rydgård
ce2995f952 Add UI Tint/Saturation settings
Does the color tinting in the vertex shader.
2022-02-18 14:23:57 +01:00
Unknown W. Brackets
2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Henrik Rydgård
8dc8fae16d Vulkan: Add support for listing all the available surface formats in system info.
Enabling the EXT_swapchain_colorspace extension lets the driver expose
all the formats it really supports.

Used this to discover that my Galaxy S21 supports Display-P3 which is a wider
gamut than sRGB. Might be able to do some color boosting mode for fun.

Or, use this stuff to play around with HDR?
2022-01-25 19:22:49 +01:00
Henrik Rydgård
74f76e5ef1 Missing stdarg.h include 2021-12-20 00:11:51 +01:00
Unknown W. Brackets
fadf01dc7b Vulkan: Update profiler formatting for this. 2021-12-19 14:56:50 -08:00