Commit Graph
1649 Commits
Author SHA1 Message Date
vit9696 27d216ea25 Fix postprocessing shader support on macOS
Check GL_ARB_shading_language_420pack availability, which SPIRV-Cross assumes
present by default, causing explicit binding location generation during shader
translation.
2019-02-22 06:34:37 +03:00
Unknown W. Brackets bb6aa99b9e Qt: Correct text bind on first draw of string.
Previously, the first frame we drew a new string was using the UI texture,
typically.
2019-02-17 08:11:16 -08:00
Henrik RydgårdandGitHub 7e939802b5 Merge pull request #11787 from unknownbrackets/range-cull
GLES: Disable range culling on VideoCore/Vivante
2019-02-10 20:46:37 +01:00
Unknown W. Brackets 957c3d5b89 GLES: Disable range culling on VideoCore/Vivante.
Was only disabled before on Vivante GL3/GLES3 devices.
2019-02-10 11:36:23 -08:00
Henrik Rydgård c509650bec OpenGL: Disable the mapped buffer strategy for Adreno (Qualcomm).
It's a race during shutdown between the EmuThread writing commands, and
the render thread which just lost the buffer.
2019-02-10 20:13:39 +01:00
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 0aedf3755f Fix checkbox bug introduced in #11758. Fixes #11761. 2019-02-04 13:22:58 +01:00
Henrik RydgårdandGitHub 60bd2d8a60 Merge pull request #11758 from unknownbrackets/jitflags
Add flags to turn off parts of jit
2019-02-04 00:40:34 +01:00
Unknown W. Brackets 304c90934b UI: Add bitfield checkbox. 2019-02-03 14:57:08 -08: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 Rydgard add5e3c1fa DeleteDirRecursively: Don't leak the find handle on failure (win32)
Don't close invalid handles.
2019-01-25 20:18:53 +01:00
Henrik Rydgård b572dc52a5 Remove usage of deprecated function readdir_r (and ugly Blackberry hack diren_large) 2019-01-08 12:29:59 +01:00
Henrik Rydgård 5a1fa60087 Try to support Qt keyboard input directly. Partially fixes #11653 (nickname crash on mac) 2019-01-07 00:07:25 +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 809c0f3e2c http: Correct typo.
Oops, somehow deleted an important character when pushing up.
2018-12-29 08:16:56 -08:00
Henrik RydgårdandGitHub 127330feec Merge pull request #11700 from unknownbrackets/http-error
http: Report errors reading discs
2018-12-27 21:45:53 +01:00
Unknown W. Brackets 359afb2d6b http: Add timeout on no response.
Firewalls can cause this, by opening a connection but never responding.
2018-12-27 10:15:58 -08:00
Henrik RydgårdandGitHub 8e17caf351 Merge pull request #11694 from unknownbrackets/draw-bugs
Vulkan: Limit stencil workaround to Adreno 5xx
2018-12-26 20:46:09 +01:00
Unknown W. Brackets 58ef662a65 GLES: Remove FBO_UNUSABLE bug check.
Was no longer affecting behavior...
2018-12-23 20:27:22 -08:00
Unknown W. Brackets adeca2c3ba GLES: Move some vendor bug checks to Draw. 2018-12-23 20:27:22 -08:00
Unknown W. Brackets e46701dee6 GLES: Specify glsl version precisely in depal.
Should prevent more of #11588 on vertex shaders, and may help Apple
devices some too.
2018-12-23 20:08:08 -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
Unknown W. Brackets 99ed2e4722 http: Parse port in ipv6 addresses. 2018-12-21 22:31:47 -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 2c83574377 Finish up the test 2018-12-19 13:48:58 +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 8686960180 Delete some unused DNS code, just because. 2018-12-19 13:46:50 +01:00
Henrik RydgårdandGitHub 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
Henrik Rydgård 260fd3c9ee ActivateTopScissor doesn't belong in UIContext::Begin. 2018-12-18 10:37:39 +01:00
Henrik Rydgård 2d01db805e Remove no-op DrawBuffer::End() 2018-12-18 10:10:53 +01:00
Henrik Rydgård ab407a4a21 TWo warning fixes 2018-12-17 21:07:52 +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
pent0 4a53853f79 Update UWP port 2018-12-10 20:55:07 +07:00
xebra 070e29d921 Disable "Edit & Continue" with VS debug mode. 2018-12-07 13:01:16 +09: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årdandGitHub 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