ameerj
|
870a92bd78
|
vk_blit_screen: Make Draw method more generic
Allows specifying the framebuffer and render area dimensions, rather than being hard coded for the render window.
|
2021-07-28 21:37:30 -04:00 |
|
Lioncash
|
f902b4b167
|
vk_compute_pass: Remove unused captures
Resolves two compiler warnings.
|
2021-07-27 06:17:52 -04:00 |
|
Rodrigo Locatti
|
c1fc22249a
|
Merge pull request #6741 from ReinUsesLisp/stream-remove
vk_stream_buffer: Remove unused stream buffer
|
2021-07-26 20:35:01 -03:00 |
|
Rodrigo Locatti
|
162759edf2
|
Merge pull request #6740 from K0bin/hvv-fallback
Handle allocation failure in Staging buffer
|
2021-07-26 20:34:44 -03:00 |
|
Robin Kertels
|
534c86587b
|
vk_staging_buffer_pool: Fall back to host memory when allocation fails
|
2021-07-26 23:37:18 +02:00 |
|
Rodrigo Locatti
|
71077365ac
|
Merge pull request #6728 from ReinUsesLisp/null-buffer-usage
vk_buffer_cache: Add transform feedback usage to null buffer
|
2021-07-26 18:30:45 -03:00 |
|
ReinUsesLisp
|
5afcd587e3
|
vk_stream_buffer: Remove unused stream buffer
Remove unused file.
|
2021-07-26 18:19:53 -03:00 |
|
ReinUsesLisp
|
8d86e9a9d7
|
vk_compute_pass: Fix pipeline barrier for indexed quads
Use an index buffer barrier instead of a vertex input read barrier.
|
2021-07-26 05:51:09 -03:00 |
|
ReinUsesLisp
|
b53503b0fe
|
vk_buffer_cache: Add transform feedback usage to null buffer
Fixes bad API usages on Vulkan.
|
2021-07-26 05:49:37 -03:00 |
|
ReinUsesLisp
|
7efec6bce4
|
vulkan/blit_image: Commit descriptor sets within worker thread
Fixes race condition caused. The descriptor pool is not thread safe, so
we have to commit descriptor sets within the same thread.
|
2021-07-22 21:51:40 -04:00 |
|
ReinUsesLisp
|
c29f2c9507
|
Revert "renderers: Disable async shader compilation"
This reverts commit 4a152767286717fa69bfc94846a124a366f70065.
|
2021-07-22 21:51:40 -04:00 |
|
ReinUsesLisp
|
a97c0ccabd
|
shader_environment: Receive cache version from outside
This allows us invalidating OpenGL and Vulkan separately in the future.
|
2021-07-22 21:51:40 -04:00 |
|
lat9nq
|
b557314001
|
shader_recompiler, video_core: Resolve clang errors
Silences the following warnings-turned-errors:
-Wsign-conversion
-Wunused-private-field
-Wbraced-scalar-init
-Wunused-variable
And some other errors
|
2021-07-22 21:51:40 -04:00 |
|
ameerj
|
2cde6c5708
|
renderers: Fix clang formatting
|
2021-07-22 21:51:40 -04:00 |
|
ameerj
|
e45e458b17
|
renderers: Disable async shader compilation
The current implementation is prone to causing graphical issues. Disable until a better solution is implemented.
|
2021-07-22 21:51:40 -04:00 |
|
ReinUsesLisp
|
b654537f0f
|
maxwell_to_vk: Add R16_SNORM
|
2021-07-22 21:51:40 -04:00 |
|
ameerj
|
508e41777b
|
shader: Ignore global memory ops on devices lacking int64 support
|
2021-07-22 21:51:40 -04:00 |
|
ReinUsesLisp
|
ff35ef8ec1
|
emit_spirv: Workaround VK_KHR_shader_float_controls on fp16 Nvidia
Fix regression on Fire Emblem: Three Houses when using native fp16.
|
2021-07-22 21:51:40 -04:00 |
|
ReinUsesLisp
|
934b23ab85
|
vk_rasterizer: Workaround bug in VK_EXT_vertex_input_dynamic_state
Workaround potential bug on Nvidia's driver where only updating high
attributes leaves low attributes out dated.
|
2021-07-22 21:51:39 -04:00 |
|
ReinUsesLisp
|
1c7c65087d
|
vk_graphics_pipeline: Implement smooth lines
|
2021-07-22 21:51:39 -04:00 |
|
ReinUsesLisp
|
bd0796d52f
|
vk_graphics_pipeline: Implement line width
|
2021-07-22 21:51:39 -04:00 |
|
ReinUsesLisp
|
b1df436cef
|
shader: Rework varyings and implement passthrough geometry shaders
Put all varyings into a single std::bitset with helpers to access it.
Implement passthrough geometry shaders using host's.
|
2021-07-22 21:51:39 -04:00 |
|
ReinUsesLisp
|
649c9cca0f
|
vk_graphics_pipeline: Implement conservative rendering
|
2021-07-22 21:51:39 -04:00 |
|
ReinUsesLisp
|
c0705f79b8
|
shader: Unify shader stage types
|
2021-07-22 21:51:39 -04:00 |
|
ReinUsesLisp
|
0a75c400e3
|
shader: Emulate 64-bit integers when not supported
Useful for mobile and Intel Xe devices.
|
2021-07-22 21:51:39 -04:00 |
|
ReinUsesLisp
|
97cfedab70
|
gl_shader_cache: Check previous pipeline before checking hash map
Port optimization from Vulkan.
|
2021-07-22 21:51:39 -04:00 |
|
ameerj
|
c7921c7812
|
shaders: Allow shader notify when async shaders is disabled
|
2021-07-22 21:51:38 -04:00 |
|
ReinUsesLisp
|
b3bf0d4ebb
|
vk_graphics_pipeline: Use VK_KHR_push_descriptor when available
~51% faster on Nvidia compared to previous method.
|
2021-07-22 21:51:38 -04:00 |
|
ReinUsesLisp
|
c4a71824d5
|
shader: Properly manage attributes not written from previous stages
|
2021-07-22 21:51:38 -04:00 |
|
ReinUsesLisp
|
52be21495e
|
shader: Add support for native 16-bit floats
|
2021-07-22 21:51:38 -04:00 |
|
ReinUsesLisp
|
41c634a7a9
|
shader: Rename maxwell/program.h to translate_program.h
|
2021-07-22 21:51:38 -04:00 |
|
ReinUsesLisp
|
eb7925b421
|
vk_rasterizer: Exit render passes on fragment barriers
|
2021-07-22 21:51:35 -04:00 |
|
Rodrigo Locatti
|
0ce45868ca
|
vk_graphics_pipeline: Fix path with no VK_EXT_extended_dynamic_state
|
2021-07-22 21:51:35 -04:00 |
|
ReinUsesLisp
|
cefa403eba
|
vk_pipeline_cache: Skip cached pipelines with different dynamic state
|
2021-07-22 21:51:35 -04:00 |
|
ReinUsesLisp
|
1805ba1763
|
vulkan: Add VK_EXT_vertex_input_dynamic_state support
Reduces the number of total pipelines generated on Vulkan.
Tested on Super Smash Bros. Ultimate.
|
2021-07-22 21:51:35 -04:00 |
|
ReinUsesLisp
|
8fae35f767
|
shader: Reorder shader cache directories
|
2021-07-22 21:51:35 -04:00 |
|
ReinUsesLisp
|
2e99f9ce1b
|
vk_rasterizer: Implement first index
|
2021-07-22 21:51:35 -04:00 |
|
ReinUsesLisp
|
969f76707c
|
vulkan: Use VK_EXT_provoking_vertex when available
|
2021-07-22 21:51:35 -04:00 |
|
ReinUsesLisp
|
b420b97025
|
vk_pipeline_cache,shader_notify: Add shader notifications
|
2021-07-22 21:51:35 -04:00 |
|
ReinUsesLisp
|
1dccf005e1
|
vk_pipeline_cache: Add asynchronous shaders
|
2021-07-22 21:51:35 -04:00 |
|
ReinUsesLisp
|
420ec60284
|
vk_rasterizer: Flush work on clear and dispatches
|
2021-07-22 21:51:34 -04:00 |
|
ReinUsesLisp
|
41737ccae4
|
vk_swapchain: Handle outdated swapchains
Fixes pixelated presentation on Intel devices.
|
2021-07-22 21:51:34 -04:00 |
|
ReinUsesLisp
|
73fb56fe7e
|
vk_buffer_cache: Handle null texture buffers
Fixes a crash on Age of Calamity cutscenes.
|
2021-07-22 21:51:34 -04:00 |
|
ReinUsesLisp
|
99e3490f64
|
vk_pipeline_cache: Set support_derivative_control to true
|
2021-07-22 21:51:34 -04:00 |
|
ReinUsesLisp
|
535fb4e6b5
|
buffer_cache: Reduce uniform buffer size from shader usage
Increases performance significantly on certain titles.
|
2021-07-22 21:51:34 -04:00 |
|
ReinUsesLisp
|
bbc537fec0
|
fixed_pipeline_state: Use regular for loop instead of ranges for perf
MSVC generates better code for it.
|
2021-07-22 21:51:34 -04:00 |
|
ReinUsesLisp
|
5593b029d4
|
vk_swapchain: Avoid recreating the swapchain on each frame
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-22 21:51:34 -04:00 |
|
ReinUsesLisp
|
ccea376e34
|
vulkan: Conditionally use shaderInt16
Add support for Polaris AMD devices.
|
2021-07-22 21:51:34 -04:00 |
|
ReinUsesLisp
|
7207ef07f4
|
vulkan: Enable depth bounds and use it conditionally
Intel devices pre-Xe don't support this.
|
2021-07-22 21:51:34 -04:00 |
|
ReinUsesLisp
|
e7bf692f9e
|
vk_buffer_cache: Add transform feedback usage to buffers
|
2021-07-22 21:51:34 -04:00 |
|