summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan
AgeCommit message (Collapse)Author
2017-11-18VideoConfig: Make StereoMode an enum classLioncash
Makes for more strongly-typed identifiers (and doesn't pollute surrounding namespaces)
2017-11-18VideoConfig: Make AspectMode an enum classLioncash
Makes for more strongly-typed identifiers (and doesn't pollute surrounding namespaces)
2017-11-17Hybrid XFB: Fix lint errorsiwubcode
2017-11-17Video Backends: Remove the right of the xfb region for games where theiwubcode
VI stride does not match the VI width
2017-11-17HybridXFB: Fix lint errorsiwubcode
2017-11-17Software Backend: Force EFB/XFB to copy to ramiwubcode
2017-11-17Video Common: Add XFB decoding via the GPUiwubcode
2017-11-17Remove old XFB logiciwubcode
2017-11-17Video Backends: Implement vertical scaling for xfb copies. This fixes theiwubcode
display of PAL games that run in 50hz mode.
2017-11-17Add an additional flag fo 'XFB Copy'iwubcode
2017-11-17Add new GUI option to skip XFBToRam and remove old XFB optionsiwubcode
2017-11-17Add ability to dump xfb copies to texture for debugging purposesiwubcode
2017-11-17Support frame and video dumping from VideoCommoniwubcode
2017-11-17Add support for hybrid XFBiwubcode
2017-11-06Merge pull request #6165 from JosJuice/auto-ir-handlingAnthony
Fix incorrect handling of auto IR
2017-11-04Merge pull request #6111 from stenzek/enable-vk-nv-glslPierre Bourdon
Vulkan: Use VK_NV_glsl extension where available, and skip glslang
2017-11-03Fix incorrect handling of auto IRJosJuice
Some lines of code in Dolphin just plainly grabbed the value of g_ActiveConfig.iEFBScale, which resulted in Auto being treated as 0x rather than the actual automatically selected scale.
2017-10-27Fixed fog, lava, water in Mario Galaxy (and possibly other games) in higher ↵Tommaso Checchi
IRs by detecting & fixing the mipmaps that aren't just used for downscaling, but are handmade to create a gradient.
2017-10-18Vulkan: Fix crash on shutdown with Virtual XFB enabledStenzek
2017-10-11Vulkan: Improve readability of device/instance extension checksStenzek
2017-10-11Vulkan: Use VK_NV_glsl extension where available, and skip glslangStenzek
2017-10-11Merge pull request #6066 from stenzek/vulkan-resizeStenzek
Vulkan: Fixes for window resizing
2017-10-10Vulkan: Only use oldSwapchain in response to VK_ERROR_OUT_OF_DATE_KHRStenzek
Seems to be required on the latest NV driver, otherwise the presented images are never shown.
2017-10-10Vulkan: Set a flag to resize the swap chain when presenting failsStenzek
Drivers can return VK_ERROR_OUT_OF_DATE_KHR from vkQueuePresentKHR, and we should resize the image in this case, as well as when getting it back from vkAcquireNextImageKHR.
2017-10-10Vulkan: Fix bug where command buffer wouldn't be started after resizeStenzek
2017-10-08Vulkan: Fix crash when Core initialisation failsLéo Lam
The Vulkan backend was not shutting down the AsyncShaderCompiler and some other instances, causing asserts to hit, followed by a hard crash.
2017-09-11VideoBackends: Move SamplerState to commonStenzek
2017-09-11VideoCommon: Add helpers for generating common render statesStenzek
2017-09-11Vulkan: Clear contents of EFB convert framebuffer at create timeStenzek
Fixes a validation layer warning when converting pixel formats.
2017-09-11Vulkan: Fix interface mismatch in RGB->YUYV shaderStenzek
2017-09-11Renderer: Move cull mode to a rasterization state objectStenzek
Also moves logic for primitive handling to VideoCommon.
2017-09-11Renderer: Move depth state to VideoCommon and seperate from bpmemStenzek
2017-09-09Common: Move version strings to their own headerLioncash
Ideally Common.h wouldn't be a header in the Common library, and instead be renamed to something else, like PlatformCompatibility.h or something, but even then, there's still some things in the header that don't really fall under that label This moves the version strings out to their own version header that doesn't dump a bunch of other unrelated things into scope, like what Common.h was doing. This also places them into the Common namespace, as opposed to letting them sit in the global namespace.
2017-09-07Vulkan: Extend the NVIDIA MSAA bug to render-pass based clearsStenzek
Calling vkCmdClearAttachments with a partial rect, or specifying a render area in a render pass with the load op set to clear can cause the GPU to lock up, or raise a bounds violation. This only occurs on MSAA framebuffers, and it seems when there are multiple clears in a single command buffer. Worked around by back to the slow path (drawing quads) when MSAA is enabled.
2017-09-06Merge pull request #6012 from stenzek/drop-nv-glslJules Blok
Vulkan: Drop VK_NV_glsl extension support
2017-09-06Merge pull request #6026 from stenzek/d3d-ubershader-logicopStenzek
ShaderGen: Output uint when logic op is enabled for D3D ubershaders
2017-09-05Vulkan: Use a separate queue for presenting.spxtr
Before this change, we simply fail if the device does not expose one queue family that supports both graphics and present. Currently this is fine, since devices tend to lay out their queues in this way. NV, for instance, tends to have one queue family for all graphics operations and one more for transfer only. However, it's not a hard requirement, and it is cheap to use a separate queue, so we might as well.
2017-09-05VideoBackends: Clear uid bits that are unused for the current backendStenzek
Currently, this is only the logic op bit, but this will be extended to the framebuffer fetch/blend modes. In the future, when/if we move to VideoCommon pipelines, this state will be part of the pipeline UID anyway, and we can mask it out in the backend by using a two-level map, so the shaders/programs are shared.
2017-09-03Revert "Vulkan: Use VK_NV_glsl extension where available, and skip glslang"Stenzek
This reverts commit d23fd17e1a2c7c617731d619020af021a7658e93. Dynamic sampler indexing is broken in VK_NV_glsl as of 385.41. The performance gap doesn't seem to be as wide with the updated driver, so to save maintaining two code paths, it's easier to just drop the extension support completely.
2017-09-03Renderer: Change SetBlendState to accept a BlendingStateStenzek
This decouples the state generation (from the emulated GPU) from the management of internal backend state.
2017-09-03Merge pull request #6009 from lioncash/asyncStenzek
AsyncShaderCompiler: Make WorkItem-derived class constructors explicit
2017-09-02VideoBackends: Add the explicit keyword to WorkItem-derived class constructorsLioncash
Prevents implicit conversions
2017-08-28Add Bug to Disable "LoadOp" clear renderpass in vulkanJonathan Hamilton
This optimisation doesn't work on PowerVR's Vulkan implementation. We (incorrectly) disallow Framebuffer objects to be used with a different load or store op than that which they were created with, despite the spec allowing such. This fixes the windwaker intro "smearing"
2017-08-23Fix vulkan crash on drivers without atomic load/store supportJonathan Hamilton
This would not allocate a SSBO buffer, but still try to update the descriptor said with a NULL buffer. Which naturally crashed.
2017-08-14Merge pull request #5478 from stenzek/vulkan-nvidiaAnthony
Vulkan: Don't use vkCmdClearAttachments on NVIDIA with MSAA
2017-08-08Remove non-integer IRsJosJuice
2017-08-03Video: Clearly separate Texture and EFB Copy formatsN.E.C
Improve bookkeeping around formats. Hopefully make code less confusing. - Rename TlutFormat -> TLUTFormat to follow conventions. - Use enum classes to prevent using a Texture format where an EFB Copy format is expected or vice-versa. - Use common EFBCopyFormat names regardless of depth and YUV configurations.
2017-08-03Vulkan: Add a driver bug for NV when MSAA is enabledStenzek
This causes the card to lock up when vkCmdClearAttachments is called, when multisampling is enabled. Seems to be restricted to Maxwell and newer?
2017-08-02Vulkan: Use optimal tiling for dummy textureStenzek
Fixes a crash on some NVIDIA drivers. Apparently calling vkCmdClearColorImage on an image with linear tiling causes the GPU/driver to lock up.
2017-08-01Merge pull request #5834 from stenzek/bc7Stenzek
Support loading BC7 (BPTC) textures from DDS files