aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_vulkan
AgeCommit message (Collapse)Author
2021-07-22vk_rasterizer: Flush work on clear and dispatchesReinUsesLisp
2021-07-22vk_swapchain: Handle outdated swapchainsReinUsesLisp
Fixes pixelated presentation on Intel devices.
2021-07-22vk_buffer_cache: Handle null texture buffersReinUsesLisp
Fixes a crash on Age of Calamity cutscenes.
2021-07-22vk_pipeline_cache: Set support_derivative_control to trueReinUsesLisp
2021-07-22buffer_cache: Reduce uniform buffer size from shader usageReinUsesLisp
Increases performance significantly on certain titles.
2021-07-22fixed_pipeline_state: Use regular for loop instead of ranges for perfReinUsesLisp
MSVC generates better code for it.
2021-07-22vk_swapchain: Avoid recreating the swapchain on each frameReinUsesLisp
Recreate only when requested (or sRGB is changed) instead of tracking the frontend's size. That size is still used as a hint.
2021-07-22vulkan: Conditionally use shaderInt16ReinUsesLisp
Add support for Polaris AMD devices.
2021-07-22vulkan: Enable depth bounds and use it conditionallyReinUsesLisp
Intel devices pre-Xe don't support this.
2021-07-22vk_buffer_cache: Add transform feedback usage to buffersReinUsesLisp
2021-07-22opengl: Declare fragment outputs even if they are not usedReinUsesLisp
Fixes Ori and the Blind Forest's menu on GLASM. For some reason (probably high level optimizations) it is not sanitized on SPIR-V for OpenGL. Vulkan is unaffected by this change.
2021-07-22buffer_cache: Mark uniform buffers as dirty if any enable bit changesReinUsesLisp
2021-07-22shader: Handle host exceptionsReinUsesLisp
2021-07-22video_core,shader: Clang-format fixesReinUsesLisp
2021-07-22video_core: Abstract transform feedback translation utilityReinUsesLisp
2021-07-22shader: Split profile and runtime information in separate structsReinUsesLisp
2021-07-22vk_update_descriptor: Properly initialize payload on the update descriptor queueReinUsesLisp
2021-07-22vk_pipeline_cache: Enable int8 and int16 types on VulkanReinUsesLisp
2021-07-22vk_scheduler: Use locks instead of SPSC a queueReinUsesLisp
This tries to fix a data race where we'd wait forever for the GPU.
2021-07-22vk_query_cache: Wait before reading queriesReinUsesLisp
2021-07-22vk_master_semaphore: Use fetch_add to increase master semaphore tickReinUsesLisp
2021-07-22Move SPIR-V emission functions to their own headerReinUsesLisp
2021-07-22shader: Initial OpenGL implementationReinUsesLisp
2021-07-22spirv: Support OpenGL uniform buffers and change bindingsReinUsesLisp
2021-07-22shader: Address feedbackFernandoS27
2021-07-22shader: Implement VertexA stageFernandoS27
2021-07-22vk_graphics_pipeline: Fix texture buffer descriptorsReinUsesLisp
2021-07-22vk_scheduler: Allow command submission on worker threadReinUsesLisp
This changes how Scheduler::Flush works. It queues the current command buffer to be sent to the GPU but does not do it immediately. The Vulkan worker thread takes care of that. Users will have to use Scheduler::Flush + Scheduler::WaitWorker to get the previous behavior. Scheduler::Finish is unchanged. To avoid waiting on work never queued, Scheduler::Wait sends the current command buffer if that's what the caller wants to wait.
2021-07-22vk_compute_pass: Fix -Wshadow warningReinUsesLisp
2021-07-22shader: Move pipeline cache logic to separate filesReinUsesLisp
Move code to separate files to be able to reuse it from OpenGL. This greatly simplifies the pipeline cache logic on Vulkan. Transform feedback state is not yet abstracted and it's still intrusively stored inside vk_pipeline_cache. It will be moved when needed on OpenGL.
2021-07-22vulkan: Defer descriptor set work to the Vulkan threadReinUsesLisp
Move descriptor lookup and update code to a separate thread. Delaying this removes work from the main GPU thread and allows creating descriptor layouts on another thread. This reduces a bit the workload of the main thread when new pipelines are encountered.
2021-07-22vulkan: Rework descriptor allocation algorithmReinUsesLisp
Create multiple descriptor pools on demand. There are some degrees of freedom what is considered a compatible pool to avoid wasting large pools on small descriptors.
2021-07-22vk_graphics_pipeline: Generate specialized pipeline config functions and ↵ReinUsesLisp
improve code
2021-07-22shader: Accelerate pipeline transitions and use dirty flags for shadersReinUsesLisp
2021-07-22vk_compute_pipeline: Fix index comparison oversight on compute texture buffersReinUsesLisp
2021-07-22vk_graphics_pipeline: Guard against non-tessellation pipelines using patchesReinUsesLisp
2021-07-22shader: Fix bugs and build issues on GCCRodrigo Locatti
2021-07-22shader: Fix render targets with null attachmentsReinUsesLisp
2021-07-22shader: Implement indexed texturesReinUsesLisp
2021-07-22shader: Move microinstruction header to the value headerReinUsesLisp
2021-07-22shader: Implement D3D samplersReinUsesLisp
2021-07-22shader: Implement SR_Y_DIRECTIONFernandoS27
2021-07-22spirv: Implement ViewportMask with NV_viewport_array2ReinUsesLisp
2021-07-22shader: Implement tessellation shaders, polygon mode and invocation idReinUsesLisp
2021-07-22vk_pipeline_cache: Silence GCC warningslat9nq
Silences `-Werror=missing-field-initializers` due to missing initializers.
2021-07-22spirv: Implement image buffersReinUsesLisp
2021-07-22spirv: Implement alpha testameerj
2021-07-22shader: Implement transform feedbacks and define file formatReinUsesLisp
2021-07-22shader: Implement early Z testsReinUsesLisp
2021-07-22shader: Implement geometry shadersReinUsesLisp