ameerj
218d790bd6
texture_cache: Fix image convert dimensions assertion
4 years ago
ameerj
b8f3e5157b
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
35d94dcb2b
vk_texture_cache: Add a function to ImageView to check if src image is rescaled
4 years ago
ameerj
4a13f9eecd
blit_image: Refactor ConvertPipeline functions
4 years ago
ameerj
ad99bbf5fe
blit_image: Refactor ConvertPipelineEx functions
reduces much of the duplication between the color/depth variants
4 years ago
ameerj
b387a26f30
vk_blit_screen: Minor refactor of filter pipeline selection
4 years ago
ameerj
75c4aec8ab
Revert "Merge pull request #7395 from Morph1984/resolve-comments"
This reverts commit d20f91da11 , reversing
changes made to 5082712b4e .
4 years ago
Feng Chen
5462485cc3
Address feedback
4 years ago
Fernando Sahmkow
a5c212516c
Texture Cache: Fix crashes on NVIDIA.
4 years ago
liushuyu
e7f10de11a
video_core/cmake: link against libva explicitly ...
... to fix build on Flatpak (and self-builds)
4 years ago
liushuyu
a578df4c6b
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
20a46790d7
video_core/codec: address comments
4 years ago
liushuyu
cd27f211c8
video_core/codecs: more robust ffmpeg hwdecoder selection logic
4 years ago
Morph
762b8ad448
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
2c47f8aa18
Support multiple videos playing
4 years ago
Feng Chen
524a9baa7e
Add missing pixel format mapping
4 years ago
Fernando Sahmkow
5a3463bc2b
Texture Cache: Secure insertions against deletions.
4 years ago
Fernando Sahmkow
ecefc932e6
Texture Cache: Redesigning the blitting system (again).
4 years ago
Fernando Sahmkow
1624f307d0
Texture Cache: Further fix regressions.
4 years ago
liushuyu
60928cf8cd
video_core/codec: address comments
4 years ago
liushuyu
72aa418b0b
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
08674aee87
Texture Cache: Fix issue with blitting 3D textures.
4 years ago
Fernando Sahmkow
1e474fb9d1
Texture Cache: Correct conversion shaders.
4 years ago
Fernando Sahmkow
0902119302
Texture Cache: Always copy on NVIDIA.
4 years ago
Fernando Sahmkow
8532849439
TextureCache: Simplify blitting of D24S8 formats and fix bugs.
4 years ago
Fernando Sahmkow
d7f4434bd5
VulkanTexturECache: Use reinterpret on D32_S8 formats.
4 years ago
Fernando Sahmkow
b96caf200d
HostShaders: Fix D24S8 convertion shaders.
4 years ago
Fernando Sahmkow
779f4ac72d
TextureCache: Eliminate format deduction as full depth conversion has been supported.
4 years ago
Morph
a41c6dafea
vk_texture_cache: Mark VkBufferUsageFlags as static constexpr
4 years ago
Morph
095bc88428
vk_blit_image: Consolidate CreatePipelineTargetEx functions
4 years ago
ameerj
fe1f06c856
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
da2fe81905
TextureCache: Refactor and fix linux compiling.
4 years ago
Fernando Sahmkow
4ca6e9a9e2
TextureCache: Assure full conversions on depth/stencil write shaders.
4 years ago
Fernando Sahmkow
0857f82913
TextureCache: Implement buffer copies on Vulkan.
4 years ago
Fernando Sahmkow
e02cff2f69
TextureCache: Add R16G16 to D24S8 converter.
4 years ago
Fernando Sahmkow
1d5e6a51d7
TextureCache: Add B10G11R11 to D24S8 converter.
4 years ago
Fernando Sahmkow
6f896d1fae
TextureCache: Further fixes on resolve algorithm.
4 years ago
Feng Chen
4dd85f86a8
Implement convert legacy to generic
4 years ago
Fernando Sahmkow
b805c7bf05
TextureCache: Implement additional D24S8 convertions.
4 years ago
Fernando Sahmkow
0ff228405f
TextureCache: force same image format when resolving an image.
4 years ago
Fernando Sahmkow
b130f648d7
TextureCache: Fix regression caused by ART and improve blit detection algorithm to be smarter.
4 years ago
Fernando Sahmkow
2ec7fcecb7
Vulkan: implement D24S8 <-> RGBA8 convertions.
4 years ago
Morph
dc61b7045b
renderer_vulkan: Implement S8_UINT stencil format
It should be noted that on Windows, only nvidia gpus support this format natively as of this commit.
4 years ago
ameerj
f7e155d8b9
gl_texture_cache: Round format conversion PBO to next power of 2
4 years ago
Morph
6dd6dc046c
renderer_opengl: Implement S8_UINT stencil format
4 years ago
Morph
2348eb41f3
video_core: Add S8_UINT stencil format
4 years ago
Feng Chen
894cc9d876
Fix image update/download error when width too small
4 years ago
ameerj
20ed7ba441
texture_cache: Use pixel format conversion when supported by the runtime
4 years ago
ameerj
50c3d53076
gl_texture_cache: Make FormatConversionPass more generic
This allows the usage of the FormatConversionPass to be applied to more than the previously used BGR conversion scenarios.
4 years ago
ameerj
35ca6274f4
gl_texture_cache: Rename BGRCopyPass to FormatConversionPass
4 years ago