liushuyu
538db2d872
CI: fix CI on Linux
4 years ago
liushuyu
f7516c3fda
video_core/codecs: skip decoders that use hw frames ...
... this would resolve some edge-cases where multiple devices are
present and ffmpeg is unable to auto-supply the hw surfaces
4 years ago
Morph
036cb348bf
maxwell_to_vk: Add ASTC_2D_5X4_UNORM
4 years ago
Feng Chen
755963ada1
Fix blit image/view not compatible
4 years ago
Morph
0f7d2bbd55
maxwell_to_vk: Add ASTC_2D_8X5_UNORM
- Used by Lego City Undercover
4 years ago
Morph
052c01db9a
renderer_vulkan: Add R16G16_UINT
- Used by Immortals Fenyx Rising
4 years ago
ameerj
ef8c472d32
vk_texture_cache: Add ABGR src format check for D24S8 conversions
4 years ago
ameerj
9699d5e6d5
renderer_opengl: Minor refactoring of filter selection
4 years ago
ameerj
7d5c21688e
texture_cache: Fix image convert dimensions assertion
4 years ago
ameerj
4c9fb0ffe9
blit_image: Refactor upscale factors usage
The image view itself can be queried to see if it is being rescaled or not, removing the need to pass the upscale/down shift factors from the texture cache.
4 years ago
ameerj
a38d05ec11
vk_texture_cache: Add a function to ImageView to check if src image is rescaled
4 years ago
ameerj
0d5b7f7a7f
blit_image: Refactor ConvertPipeline functions
4 years ago
ameerj
4495c10671
blit_image: Refactor ConvertPipelineEx functions
reduces much of the duplication between the color/depth variants
4 years ago
ameerj
276de8a751
vk_blit_screen: Minor refactor of filter pipeline selection
4 years ago
ameerj
c701429fb4
Revert "Merge pull request #7395 from Morph1984/resolve-comments"
This reverts commit 0442db9ad6 , reversing
changes made to 15212de85a .
4 years ago
Feng Chen
4a3c1192b8
Address feedback
4 years ago
Fernando Sahmkow
3b1694245f
Texture Cache: Fix crashes on NVIDIA.
4 years ago
liushuyu
18ddfcc0cf
video_core/cmake: link against libva explicitly ...
... to fix build on Flatpak (and self-builds)
4 years ago
liushuyu
168882cb7a
video_core/codecs: more fixes for VAAPI detection ...
* skip impersonated VAAPI implementaions ("imposter detection")
* place VAAPI priority below CUDA/NVDEC/CUVID
4 years ago
liushuyu
ef00c213e8
video_core/codec: address comments
4 years ago
liushuyu
a32139fdab
video_core/codecs: more robust ffmpeg hwdecoder selection logic
4 years ago
Morph
2b9afa4d56
general: Replace high_resolution_clock with steady_clock
On some OSes, high_resolution_clock is an alias to system_clock and is not monotonic in nature. Replace this with steady_clock.
4 years ago
Feng Chen
10cc89bfdf
Support multiple videos playing
4 years ago
Feng Chen
2e834bfa4a
Add missing pixel format mapping
4 years ago
Fernando Sahmkow
4e74fa32a4
Texture Cache: Secure insertions against deletions.
4 years ago
Fernando Sahmkow
fc91c0f51d
Texture Cache: Redesigning the blitting system (again).
4 years ago
Fernando Sahmkow
dcce920306
Texture Cache: Further fix regressions.
4 years ago
liushuyu
1a5c1d70de
video_core/codec: address comments
4 years ago
liushuyu
f91cc356fb
video_core/codecs: fix multiple decoding issues on Linux ...
* when someone installed Intel video drivers on an AMD system, the
decoder will select the Intel VA-API decoding driver and yuzu will
crash due to incorrect driver selection; the fix will check if the
currently about-to-use driver is loaded in the kernel
* when using NVIDIA driver on Linux with a ffmpeg that does not have
CUDA capability enabled, the decoder will crash; the fix simply
making the decoder prefers the VDPAU driver over CUDA on Linux
4 years ago
Fernando Sahmkow
81f52ea8fc
Texture Cache: Fix issue with blitting 3D textures.
4 years ago
Fernando Sahmkow
dc87895c22
Texture Cache: Correct conversion shaders.
4 years ago
Fernando Sahmkow
c03917860b
Texture Cache: Always copy on NVIDIA.
4 years ago
Fernando Sahmkow
09a236dbbf
TextureCache: Simplify blitting of D24S8 formats and fix bugs.
4 years ago
Fernando Sahmkow
eae2158c12
VulkanTexturECache: Use reinterpret on D32_S8 formats.
4 years ago
Fernando Sahmkow
5b92772fe6
HostShaders: Fix D24S8 convertion shaders.
4 years ago
Fernando Sahmkow
df62d93979
TextureCache: Eliminate format deduction as full depth conversion has been supported.
4 years ago
Morph
e0c4af1b7b
vk_texture_cache: Mark VkBufferUsageFlags as static constexpr
4 years ago
Morph
feba9b7300
vk_blit_image: Consolidate CreatePipelineTargetEx functions
4 years ago
ameerj
69759e55ee
Fix screenshot dimensions when at 1x scale
This was regressed by ART.
Prior to ART, the screenshots were saved at the title's framebuffer resolution. A misunderstanding of the existing logic led to screenshot dimensions becoming dependent on the host render window size.
This changes the behavior to match how it was prior to ART at 1x, with screenshots now always being the title's framebuffer dimensions scaled by the resolution scaling factor.
4 years ago
Fernando Sahmkow
e6d7d48d78
TextureCache: Refactor and fix linux compiling.
4 years ago
Fernando Sahmkow
1bd224dda0
TextureCache: Assure full conversions on depth/stencil write shaders.
4 years ago
Fernando Sahmkow
e926797029
TextureCache: Implement buffer copies on Vulkan.
4 years ago
Fernando Sahmkow
df1eabfc53
TextureCache: Add R16G16 to D24S8 converter.
4 years ago
Fernando Sahmkow
4241b9e26c
TextureCache: Add B10G11R11 to D24S8 converter.
4 years ago
Fernando Sahmkow
efe634608e
TextureCache: Further fixes on resolve algorithm.
4 years ago
Feng Chen
dbfa89c40b
Implement convert legacy to generic
4 years ago
Fernando Sahmkow
5e58fd30b6
TextureCache: Implement additional D24S8 convertions.
4 years ago
Fernando Sahmkow
57e1775bc8
TextureCache: force same image format when resolving an image.
4 years ago
Fernando Sahmkow
37459e821b
TextureCache: Fix regression caused by ART and improve blit detection algorithm to be smarter.
4 years ago
Fernando Sahmkow
a21d1447ab
Vulkan: implement D24S8 <-> RGBA8 convertions.
4 years ago