ameerj
b3cedc87b9
gl_texture_cache: WIP texture rescale
5 years ago
Fernando Sahmkow
256c4b28c4
Texture Cache: Implement Vulkan UpScaling & DownScaling
5 years ago
Fernando Sahmkow
7a957d501f
VideoCore: Initial Setup for the Resolution Scaler.
5 years ago
ameerj
bf504f15f6
codes: Rename ComposeFrameHeader to ComposeFrame
These functions were composing the entire frame, not just the headers. Rename to more accurately describe them.
4 years ago
ameerj
048eb094ba
vp8: Implement header composition
Enables frame decoding with FFmpeg
4 years ago
ameerj
538647f62b
codecs: Add VP8 codec class
4 years ago
Feng Chen
bc7104cd76
vulkan_device: Add missing vulkan image format R5G6B5 in GetFormatProperties
- Used by Dragon Quest Builders
4 years ago
Morph
c5b0836c96
gl_rasterizer: Remove unused includes
This removes unused includes, especially the core includes which were causing this file to be recompiled every time files included by those headers are modified.
4 years ago
lat9nq
5167b19cd6
gl_device: Force GLASM on NVIDIA drivers 495-496
GLSL shaders currently do not render correctly on the recent NVIDIA
drivers. This adds a check that forces assembly shaders for these
drivers since they seem unaffected and adds a warning informing of the
decision.
Developers can disable the check by enabling graphics debugging.
4 years ago
Fernando Sahmkow
ba6e5cd2ed
Vulran Rasterizer: address feedback.
4 years ago
Feng Chen
1e1979532e
Fix vulkan viewport issue
4 years ago
ameerj
6cfd975469
settings: Remove std::chrono usage
Alleviates the dependency on chrono for all files that include settings.h
4 years ago
ameerj
373d7189f9
vic: Use the minimum of surface/frame dimensions when writing the final frame to the GPU
Addresses possible buffer overflow behavior.
4 years ago
Feng Chen
78317b1a8d
h264: Use max allowed max_num_ref_frames when using CPU decoding
4 years ago
Valeri
ebf2ab5afb
vic: Allow surface to be higher than frame
Touhou Genso Wanderer Lotus Labyrinth R decodes 1920x1080 videos into 1920x1088 surface.
Only allow mismatch for height, since larger width would result in increasingly offset rows and somewhat defeat entire purpose of this check.
4 years ago
ameerj
92bd5571cd
vic: Avoid memory corruption when multiple streams with different dimensions are decoded
This is a work around to avoid buffer overflow errors until multi channel/multi stream decoding is supported.
4 years ago
ameerj
71698d7351
vic: Refactor frame writing methods
4 years ago
ameerj
62efd87fd9
vic: Implement RGBX frame format
4 years ago
Fernando Sahmkow
97bafa4e99
Vulkan: Fix failing barrier on refresh.
4 years ago
FernandoS27
8e56d4a8ab
RasterizerInterface: Correct size of CPU addresses to cache.
4 years ago
FernandoS27
2fd52e7d8b
Vulkan: Fix the master Semaphore
4 years ago
ameerj
ae3422e3b7
nvhost_ctrl: Refactor usage of gpu.LockSync()
This seems to only be used to protect a later gpu function call. So we can move the lock into that call instead.
4 years ago
ameerj
20a88d9d62
gpu: Migrate implementation to the cpp file
4 years ago
ameerj
f222d1e4ce
common/logging: Move Log::Entry declaration to a separate header
This reduces the load of requiring to include std::chrono in all files which include log.h
4 years ago
ameerj
f83f2af3a2
vk_graphics_pipeline: Force patch list topology when tessellation is used
Fixes a crash on some drivers when tessellation is used but the IA topology is not patch list.
4 years ago
ameerj
d7977be416
general: Update style to clang-format-12
4 years ago
ameerj
a07f80d672
video_core: Fix jthread related hangs when stopping emulation
jthread on some compilers is more picky when it comes to the order in which objects are destroyed.
4 years ago
ameerj
d44cd612a0
vk_texture_cache: Disable cube compatibility flag on non-mesa AMD GCN4 and earlier
Fixes rainbow textures on BOTW.
4 years ago
Fernando Sahmkow
f718c363a3
Vulkan Query Cache: make sure to wait for the query result.
4 years ago
Fernando Sahmkow
b431a46aa0
QueryCache: Flush queries in order of running.
4 years ago
Fernando Sahmkow
6a6e2407f8
Vulkan Rasterizer: Correct DepthBias/PolygonOffset on Vulkan.
4 years ago
ameerj
1b48f8043b
maxwell_dma: Minor refactoring
5 years ago
ameerj
73dd6230aa
buffer_cache: Minor fixes
Loop through the tmp_intervals by reference, rather than by copy, and fix gl clear buffer size calculation.
5 years ago
ameerj
933b5dff61
host_shaders: Remove opengl_copy_bgra.comp
5 years ago
ameerj
6aaf430d15
gl_texture_cache: Migrate BGRCopyPass from util_shaders
The BGR copies no longer use shaders.
5 years ago
ameerj
43d59a4bbe
vulkan_device: Reorder Float16Int8 declaration
This variable was going out of scope before its usage in the vulkan device creation, causing a crash on very specific drivers.
5 years ago
ameerj
abf9900d82
Revert "Merge pull request #7006 from FernandoS27/a-motherfucking-driver"
This reverts commit 9ac9c85ecd , reversing
changes made to e99525fb5b .
5 years ago
ameerj
6af2ea8253
util_shaders: Unify BGRA copy passes
5 years ago
ameerj
f1b7800866
vk_scheduler: Use std::jthread
5 years ago
ameerj
2cb4bb689b
gpu: Use std::jthread for async gpu thread
5 years ago
Morph
653acf39e2
renderers: Log total pipeline count
5 years ago
ameerj
ccf4fa3aaa
vulkan_debug_callback: Ignore InvalidCommandBuffer-VkDescriptorSet errors
This validation error is spammed on some titles, asserting that VkDescriptorSet 0x0[] was destroyed.
This is likely a validation layer bug when using VK_KHR_push_descriptor, which can avoid using traditional VkDescriptorSet. It should be safe to ignore for now.
5 years ago
Fernando Sahmkow
17e879aa56
Vulkan: Disable VK_EXT_SAMPLER_FILTER_MINMAX in GCN AMD since it's broken.
5 years ago
Fernando Sahmkow
a3f4f92e7e
Vulkan: Blacklist Int8Float16 Extension on AMD on driver 21.9.1
5 years ago
Fernando Sahmkow
dbe8a4fc2f
Vulkan/Descriptors: Increase sets per pool on AMFD propietary driver.
5 years ago
ameerj
184de8c1ca
vk_swapchain: Use immediate present mode when mailbox is unavailable and FPS is unlocked
Allows drivers that do not support VK_PRESENT_MODE_MAILBOX_KHR the ability to present at a framerate higher than the monitor's refresh rate when the FPS is unlocked.
5 years ago
ameerj
bf366c1738
vk_rasterizer: Fix dynamic StencilOp updating when two faces are enabled
This function was incorrectly using the stencil_two_side_enable register when dynamically updating the StencilOp.
5 years ago
ameerj
14612971ef
vk_state_tracker: Remove unused function
5 years ago
Morph
fc29159ac7
shader_environment: Add missing <algorithm> include
5 years ago
Morph
5d3d9560e1
vk_descriptor_pool: Add missing <algorithm> include
5 years ago