Jan Beich
d24a4b79d4
video_core: constify AVCodec for ffmpeg >= 5.0
src/video_core/command_classes/codecs/codec.cpp:177:16: error: assigning to 'AVCodec *' from 'const AVCodec *' discards qualifiers
av_codec = avcodec_find_decoder(codec);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
4 years ago
Georg Lehmann
d15814d39f
vulkan_device: Fix sType for VkPhysicalDeviceShaderAtomicInt64Features
4 years ago
ameerj
a5bff8e9b3
astc_decoder: Combine FastReplicate functions to work around new NV driver bug
The new Nvidia drivers have a bug where the FastReplicateTo6 function produces a lookup into the REPLICATE_TO_8 table rather than the REPLICATE_TO_6 table.
This seems to be an optimization gone wrong. Combining the logic of the FastReplicate functions seems to address the bug.
4 years ago
Narr the Reg
41bbb31af4
video_core: Remove unnecesary maybe_unused flag
4 years ago
ameerj
c17938f96b
gpu: Add shut down method to synchronize threads before destruction
4 years ago
Fernando Sahmkow
f58ee3f15f
ShaderDecompiler: Add a debug option to dump the game's shaders.
4 years ago
ameerj
7652543231
Revert "Merge pull request #7668 from ameerj/fence-stop-token"
This reverts commit e773354477 , reversing
changes made to abbbdc2bc0 .
4 years ago
ameerj
d866916f42
gpu: Use std::stop_token in WaitFence for VSync thread
Fixes a hang that may occur when stopping emulation and the VSync thread is blocked on the syncpoint condition variable.
4 years ago
ameerj
951c61aeaa
texture_cache/util: Fix s32 overflow when resolving overlaps
4 years ago
ameerj
285b6dbc39
video_core/memory_manager: Fixes for sparse memory management
4 years ago
ameerj
2428214c4b
video_core/memory_manager: Deduplicate Read/WriteBlock
4 years ago
ameerj
8c907c620d
glsl: Add boolean reference workaround
4 years ago
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