summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan
AgeCommit message (Collapse)Author
2016-12-26TextureCache: Drop unused parameter in backend API.degasus
2016-12-26TextureCache: Extract BP enum check to VideoCommon.degasus
We have TOO many video backends.
2016-12-23Merge pull request #4224 from lioncash/tcacheMat M
TextureCacheBase: Eliminate static state
2016-12-20Merge pull request #4528 from stenzek/vulkan-descriptor-crashMarkus Wick
Vulkan: Fix crash where a potentially deleted buffer is referenced
2016-12-19Vulkan: Fix crash where a potentially deleted buffer is referencedStenzek
This happened when the geometry shader was disabled, and the uniform buffer was grown to a larger size. The update would be skipped, leaving the old buffer to be included in the descriptor set.
2016-12-15TextureCache: Use same color coefficients for EFB2Tex as EFB2RAMStenzek
2016-12-09TextureCacheBase: Eliminate static stateLioncash
2016-12-09Vulkan: Fix viewport depth when depth clamp is unsupportedStenzek
2016-12-06Common: Add alignment headerLéo Lam
Gets rid of duplicated alignment code.
2016-12-05Merge pull request #4489 from stenzek/vulkan-minor-fixesStenzek
Vulkan: Minor fixes
2016-12-04Vulkan: Enable GS instancingStenzek
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: Fix incorrect logic in readback preemptionStenzek
This could have been causing a large number of command buffer submissions per frame, depending on when the readbacks occured.
2016-12-04Vulkan: Faster path for decoding XFB dataStenzek
Using a texel buffer as the copy destination removes the need to copy to an intermediate texture first.
2016-12-04Vulkan: Move XFB encoding/decoding to TextureConverterStenzek
2016-12-04Vulkan: Simplify palette texture conversionStenzek
2016-12-04Vulkan: Combine PaletteTextureConverter and TextureEncoder classesStenzek
2016-12-04Vulkan: Support binding texel buffers in UtilityShaderDrawStenzek
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-12-04Vulkan: Differentiate between descriptor set layouts and bind pointsStenzek
This also moves the pipeline and descriptor set layouts used for texture conversion (texel buffers) to ObjectCache, and shares a binding location with the SSBO set.
2016-12-04Vulkan: Support logging debug reports without enabling validation layersStenzek
There is a caveat, Host GPU must be checked prior to starting the game, as we can't enable the extension at runtime without recreating the instance.
2016-12-04Vulkan: Fix deadlock in some resize scenariosStenzek
Only have experienced this on a few occasions when using the anv driver.
2016-12-04Vulkan: Fix map error when texture dumping is enabledStenzek
2016-12-04Vulkan: Fix typo in PopulateBackendInfoMultisampleModesStenzek
2016-12-04Vulkan: Remove unused variableStenzek
2016-12-02Vulkan: Fix assertion triggering when geometry shaders are unsupportedStenzek
Happened when loading the pipeline UID cache.
2016-11-30Vulkan: Allow re-use of uniform buffers when doing per-stage uploadsStenzek
This is safe now because we invalidate the pointers after submitting a command buffer.
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-30Vulkan: Fix case where uniforms could be overwrittenStenzek
If a draw caused a command buffer submission, the current uniform storage should not be used for the new command buffer.
2016-11-30Vulkan: Fix case where a draw's vertices could be overwrittenStenzek
This could happen because the vertex memory was already committed, if a uniform buffer allocation failed and caused a command buffer to be executed, it would be associated with the previous command buffer rather than the buffer containing the draw that consumed these vertices.
2016-11-30Vulkan: Fix incorrect handling of buffer wrap-around in StreamBufferStenzek
This was happening when a fence wait happened mid-frame. The data written between the fence being queued and the allocation occuring was incorrectly assumed to be consumed by the GPU.
2016-11-28Merge pull request #4436 from stenzek/vulkan-full-ir-framedumpStenzek
VideoBackends: Internal resolution frame dumping
2016-11-28Vulkan: Support full resolution frame dumpingStenzek
2016-11-28Vulkan: Validate the pipeline cache before using itStenzek
This ensures that if a user changes adapters or vendors we're not passing invalid data to the driver.
2016-11-28Vulkan: Don't destroy the device's pipeline cache on MSAA mode changeStenzek
The user could switch back again, and this would mean this data would be lost. Disk space is cheap, and it's not going to be much.
2016-11-28Vulkan: Implement a pipeline UID cacheStenzek
This stores enough information to recreate the pipeline, including the shader UIDs, blend/depth/rasterization state, primitive and vertex format.
2016-11-28VideoCommon: Remove backbuffer size parameters from methodsStenzek
We have the s_backbuffer_{width,height} fields to represent this, so there's no point in passing them as parameters every time.
2016-11-28VideoConfig: Add option for full-resolution frame dumpingStenzek
2016-11-28Merge pull request #4456 from stenzek/vulkan-framedump-fix-2Stenzek
Vulkan: Fix black borders in frame dumps
2016-11-27Remove unnecessary ConfigManager includesLéo Lam
Making changes to ConfigManager.h has always been a pain, because it means rebuilding half of Dolphin, since a lot of files depend on and include this header. However, it turns out some includes are unnecessary. This commit removes ConfigManager includes from files which don't contain SConfig or GPUDeterminismMode or GPU_DETERMINISM (which means the ConfigManager include is not used). (I've also had to get rid of some indirect includes.)
2016-11-19Vulkan: Handle strided XFB copiesStenzek
Where src_rect.width * 2 != dst_stride.
2016-11-18Vulkan: Pass target_rect to framebuffer draw methodsStenzek
Fixes the black borders in frame dumps when the window was not sized to the framebuffer aspect ratio.
2016-11-15Vulkan: Use multiple command pools, one per frameStenzek
Instead of resetting two command buffers, now we only have to call vkResetCommandPool once at the start of a frame. NV's recommends using one pool per frame/thread. May offer a very small boost in performance on some systems.
2016-11-14Vulkan: Use correct sample count for EFB pokes with MSAA enabledStenzek
2016-11-14Vulkan: Fix crash on EFB pokeStenzek
2016-11-13Merge pull request #4441 from stenzek/vulkan-max-image-countMarkus Wick
Vulkan: Handle maxImageCount of zero when creating swap chain
2016-11-13Merge pull request #4430 from stenzek/vulkan-no-relaxed-vsyncMarkus Wick
Vulkan: Don't use FIFO_RELAXED present mode for vsync.
2016-11-11Vulkan: Handle maxImageCount of zero when creating swap chainStenzek
anv seems to set this to zero, which is fine according to the spec, but we were using it as a maximum, which was resulting in a swap chain without any buffers being created.
2016-11-10Vulkan: Implement asynchronous frame dumpingStenzek