aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/renderer_vulkan
AgeCommit message (Collapse)Author
2021-09-20Merge pull request #7003 from ameerj/unlocked-present-modebunnei
vk_swapchain: Use immediate present mode when mailbox is unavailable and FPS is unlocked
2021-09-18Merge pull request #7019 from ameerj/videocore-jthreadbunnei
videocore: Use std::jthread for worker threads
2021-09-15vk_scheduler: Use std::jthreadameerj
2021-09-14renderers: Log total pipeline countMorph
2021-09-13Merge pull request #6944 from FernandoS27/dear-drunk-meMorph
Vulkan/Descriptors: Increase sets per pool on AMD propietary driver.
2021-09-13Merge pull request #7001 from ameerj/wario-fixFernando S
vk_rasterizer: Fix dynamic StencilOp updating when two faces are enabled
2021-09-13Vulkan/Descriptors: Increase sets per pool on AMFD propietary driver.Fernando Sahmkow
2021-09-12vk_swapchain: Use immediate present mode when mailbox is unavailable and FPS ↵ameerj
is unlocked Allows drivers that do not support VK_PRESENT_MODE_MAILBOX_KHR the ability to present at a framerate higher than the monitor's refresh rate when the FPS is unlocked.
2021-09-12Merge pull request #7002 from ameerj/vk-state-unusedMai M
vk_state_tracker: Remove unused function
2021-09-12vk_rasterizer: Fix dynamic StencilOp updating when two faces are enabledameerj
This function was incorrectly using the stencil_two_side_enable register when dynamically updating the StencilOp.
2021-09-12vk_state_tracker: Remove unused functionameerj
2021-09-11vk_descriptor_pool: Add missing <algorithm> includeMorph
2021-09-11Merge pull request #6901 from ameerj/vk-clear-bitsFernando S
vk_rasterizer: Only clear depth/stencil buffers when specified in attachment aspect mask
2021-09-11Merge pull request #6941 from ameerj/swapchain-srgbFernando S
vk_swapchain: Prefer linear swapchain format when presenting sRGB images
2021-09-02renderer_vulkan: Wait on present semaphore at queue submitameerj
The present semaphore is being signalled by the call to acquire the swapchain image. This semaphore is meant to be waited on when rendering to the swapchain image. Currently it is waited on when presenting, but moving its usage to be waited on in the command buffer submission allows for proper usage of this semaphore. Fixes the device lost when launching titles on the Intel Linux Mesa driver.
2021-09-01Merge pull request #6900 from ameerj/attr-reorderbunnei
structured_control_flow: Add DemoteCombinationPass
2021-08-30Merge pull request #6879 from ameerj/decoder-assertbunnei
vk_blit_screen: Fix non-accelerated texture size calculation
2021-08-30structured_control_flow: Conditionally invoke demote reorder passameerj
This is only needed on select drivers when a fragment shader discards/demotes.
2021-08-29vulkan_device: Enable VK_KHR_swapchain_mutable_format if availableameerj
Silences validation errors when creating sRGB image views of linear swapchain images
2021-08-29vk_swapchain: Prefer linear swapchain format when presenting sRGB imagesameerj
Fixes broken sRGB when presenting from a secondary GPU.
2021-08-24vulkan_device: Add a check for int8 supportameerj
Silences validation errors when shaders use int8 without specifying its support to the API
2021-08-21vk_rasterizer: Only clear depth and stencil buffers when set in attachment ↵ameerj
aspect mask Silences validation errors for clearing the depth/stencil buffers of framebuffer attachments that were not specified to have depth/stencil usage.
2021-08-16vk_blit_screen: Fix non-accelerated texture size calculationameerj
Addresses the potential OOB access in UnswizzleTexture.
2021-08-10Merge pull request #6820 from yzct12345/split-cacheFernando S
texture_cache: Split out template definitions
2021-08-06Merge pull request #6791 from ameerj/astc-optbunnei
astc_decoder: Various performance and memory optimizations
2021-08-07texture_cache: Address ameerj's reviewyzct12345
2021-08-05texture_cache: Don't change copyright yearyzct12345
2021-08-05texture_cache: Address ameerj's reviewyzct12345
2021-08-05texture_cache: Split templates outyzct12345
2021-08-01Merge pull request #6720 from ameerj/vk-screenshotFernando S
renderer_vulkan: Implement screenshots
2021-08-01Merge pull request #6765 from ReinUsesLisp/y-negate-vkAmeer J
vk_rasterizer: Flip viewport on Y_NEGATE
2021-08-01astc_decoder: Reduce workgroup sizeameerj
This reduces the amount of over dispatching when there are odd dimensions (i.e. ASTC 8x5), which rarely evenly divide into 32x32.
2021-08-01astc_decoder: Compute offset swizzles in-shaderameerj
Alleviates the dependency on the swizzle table and a uniform which is constant for all ASTC texture sizes.
2021-07-31astc_decoder: Optimize the use EncodingDataameerj
This buffer was a list of EncodingData structures sorted by their bit length, with some duplication from the cpu decoder implementation. We can take advantage of its sorted property to optimize its usage in the shader. Thanks to wwylele for the optimization idea.
2021-07-29vk_rasterizer: Flip viewport on Y_NEGATEReinUsesLisp
Matches OpenGL's behavior. I don't believe this register flips geometry, but we have to try to match behavior on both backends.
2021-07-28renderers: Add explicit invert_y bool to screenshot callbackameerj
OpenGL and Vulkan images render in different coordinate systems. This allows us to specify the coordinate system of the screenshot within each renderer
2021-07-28renderer_vulkan: Implement screenshotsameerj
2021-07-28vk_blit_screen: Add public CreateFramebuffer methodameerj
2021-07-28vk_blit_screen: Make Draw method more genericameerj
Allows specifying the framebuffer and render area dimensions, rather than being hard coded for the render window.
2021-07-27renderer_vulkan: Add setting to log pipeline statisticsReinUsesLisp
Use VK_KHR_pipeline_executable_properties when enabled and available to log statistics about the pipeline cache in a game. For example, this is on Turing GPUs when generating a pipeline cache from Super Smash Bros. Ultimate: Average pipeline statistics ========================================== Code size: 6433.167 Register count: 32.939 More advanced results could be presented, at the moment it's just an average of all 3D and compute pipelines.
2021-07-27vk_compute_pass: Remove unused capturesLioncash
Resolves two compiler warnings.
2021-07-26Merge pull request #6741 from ReinUsesLisp/stream-removeRodrigo Locatti
vk_stream_buffer: Remove unused stream buffer
2021-07-26Merge pull request #6740 from K0bin/hvv-fallbackRodrigo Locatti
Handle allocation failure in Staging buffer
2021-07-26vk_staging_buffer_pool: Fall back to host memory when allocation failsRobin Kertels
2021-07-26Merge pull request #6728 from ReinUsesLisp/null-buffer-usageRodrigo Locatti
vk_buffer_cache: Add transform feedback usage to null buffer
2021-07-26vk_stream_buffer: Remove unused stream bufferReinUsesLisp
Remove unused file.
2021-07-26vk_compute_pass: Fix pipeline barrier for indexed quadsReinUsesLisp
Use an index buffer barrier instead of a vertex input read barrier.
2021-07-26vk_buffer_cache: Add transform feedback usage to null bufferReinUsesLisp
Fixes bad API usages on Vulkan.
2021-07-22vulkan/blit_image: Commit descriptor sets within worker threadReinUsesLisp
Fixes race condition caused. The descriptor pool is not thread safe, so we have to commit descriptor sets within the same thread.
2021-07-22Revert "renderers: Disable async shader compilation"ReinUsesLisp
This reverts commit 4a152767286717fa69bfc94846a124a366f70065.