summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/FramebufferManager.cpp
AgeCommit message (Collapse)Author
2017-04-18Merge pull request #5284 from stenzek/vulkan-videocommon-blending-stateStenzek
Vulkan: Use BlendingState from VideoCommon
2017-04-18Vulkan: Use BlendingState from VideoCommonStenzek
Remove the internal BlendState union. Also fixes Kirby's Return to Dreamland shadows.
2017-04-15Vulkan: Clamp framebuffer resolve rectangle to texture sizeStenzek
This is invalid and was causing the NVIDIA driver to throw an error.
2017-03-04VideoCommon: Eliminate static state in RendererStenzek
2017-02-03FramebufferManagerBase: Return a std::pair from GetTargetSizeLioncash
Keeps associated data together. It also eliminates the possibility of out parameters not being initialized properly. For example, consider the following example: -- some FramebufferManager implementation -- void FBMgrImpl::GetTargetSize(u32* width, u32* height) override { // Do nothing } -- somewhere else where the function is used -- u32 width, height; framebuffer_manager_instance->GetTargetSize(&width, &height); if (texture_width != width) <-- Uninitialized variable usage { ... } It makes it much more obvious to spot any initialization issues, because it requires something to be returned, as opposed to allowing an implementation to just not do anything.
2017-02-01LightingShaderGen: Remove unnecessary includesLioncash
2016-12-27Vulkan/GL: Set the alpha channel to 0 when creating the EFB framebufferStenzek
2016-12-04Vulkan: Use explicit barriers instead of dependanciesStenzek
At least on NV, some of these don't seem to have the intended effect. One known instance of this is in texture conversion.
2016-12-04Vulkan: Move XFB encoding/decoding to TextureConverterStenzek
2016-12-04Vulkan: Implement StagingTexture2D on top of StagingBufferStenzek
Greatly simplifies things, and we weren't using the linear texture implementation anyway.
2016-12-04Vulkan: Use an enumeration to index pipeline layoutsStenzek
2016-11-30Vulkan: Replace explicit command buffer submits with wrapper functionStenzek
Should we ever introduce anything else that has to be done when a command buffer is executed (e.g. invalidating constants from previous commit), we don't have to update all the callers.
2016-11-19Vulkan: Handle strided XFB copiesStenzek
Where src_rect.width * 2 != dst_stride.
2016-11-14Vulkan: Use correct sample count for EFB pokes with MSAA enabledStenzek
2016-11-14Vulkan: Fix crash on EFB pokeStenzek
2016-11-03Vulkan: Implement virtual/real XFB supportStenzek
2016-11-03Vulkan: Remove parameters/members of single-instance classesStenzek
There's not a lot of point in passing these around or storing them (texture cache/state tracker mainly) as there will only ever be a single instance of the class. Also adds downcast helpers such as Vulkan::Renderer::GetInstance().
2016-10-03Vulkan: Fix resource leaks present at shutdown and mode changesStenzek
Infrequent, but still happened.
2016-09-30Vulkan: Amend header includesLioncash
Adds headers where necessary to eliminate indirect includes. Also adds headers to ensure certain standard constructs always resolve correctly
2016-10-01Vulkan: Use render-pass based clears where possibleStenzek
2016-10-01Implement experimental Vulkan backendStenzek