summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/StateTracker.cpp
AgeCommit message (Collapse)Author
2017-04-18Vulkan: Use BlendingState from VideoCommonStenzek
Remove the internal BlendState union. Also fixes Kirby's Return to Dreamland shadows.
2017-01-04VideoCommon: Make dst_alpha state implicit.degasus
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-06Common: Add alignment headerLéo Lam
Gets rid of duplicated alignment code.
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: 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-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-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-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-05Merge pull request #4291 from degasus/shader_genMarkus Wick
PixelShaderGen: Fix UID issues.
2016-10-04PixelShaderGen: Drop dstAlphaMode constant in shader generation.degasus
It is already stored within the UID.
2016-10-03Vulkan: Fix compilation on 32-bit targetsStenzek
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