ameerj
b84d429c2e
glsl_context_get_set: Add alternative cbuf type for broken drivers
some drivers have a bug bitwise converting floating point cbuf values to uint variables. This adds a workaround for these drivers to make all cbufs uint and convert to floating point as needed.
4 years ago
Feng Chen
e18bf4b062
Remove invalid header include
4 years ago
ameerj
f9e0681d59
vk_texture_cache: Use 3D scale helpers for MSAA texture scaling on Intel Windows drivers
Fixes a crash when scaling MSAA textures in titles such as Sonic Colors Ultimate.
4 years ago
ameerj
cbc0f0a66e
blit_image: Remove unused function
4 years ago
ameerj
481b210c0d
vk_texture_cache: Fix invalidated pointer access
The vulkan ImageView held a reference to its source image for rescale status checking. This pointer is sometimes invalidated when the texture cache slot_images container is resized.
To avoid an invalid pointer dereference, the ImageView now holds a reference to the container itself.
4 years ago
Jan Beich
e57b13ad94
video_core/codecs: re-enable VAAPI/VDPAU on BSDs after 72aa418b0b
4 years ago
vonchenplus
4908a07c20
Address format clang
4 years ago
Fernando Sahmkow
6c00151d17
Vulkan: Fix the checks for primitive restart extension.
4 years ago
Fernando Sahmkow
14d2c77f91
Vulkan: implement Logical Operations.
4 years ago
Fernando Sahmkow
6430fc29a9
Vulkan: Implement VK_EXT_primitive_topology_list_restart
4 years ago
liushuyu
3f765ea9a4
video_core/codecs: (re-spin) refactor ffmpeg searching and handling
4 years ago
bunnei
2f32133ad5
Revert "video_core/codecs: refactor ffmpeg searching and handling in cmake"
4 years ago
liushuyu
dd72e4dce4
CI: fix CI on Linux
4 years ago
liushuyu
a2d73eaa10
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
14110230c7
maxwell_to_vk: Add ASTC_2D_5X4_UNORM
4 years ago
Feng Chen
1598426493
Fix blit image/view not compatible
4 years ago
Morph
ae4869650a
maxwell_to_vk: Add ASTC_2D_8X5_UNORM
- Used by Lego City Undercover
4 years ago
Morph
47a724780f
renderer_vulkan: Add R16G16_UINT
- Used by Immortals Fenyx Rising
4 years ago
ameerj
228a381aed
vk_texture_cache: Add ABGR src format check for D24S8 conversions
4 years ago
ameerj
c22c4f5d59
renderer_opengl: Minor refactoring of filter selection
4 years ago
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