Commit Graph

5701 Commits (48cf3764626e1ed30450d15e00befb75a4eae329)

Author SHA1 Message Date
Fernando Sahmkow c5bbbf3902 Texture Cache: fix scaling on upload and stop scaling on base resolution. 3 years ago
ameerj 68e038404c shader, video_core: Fix GCC build errors 3 years ago
ameerj 65781f88f8 emit_spirv: Fix RescalingLayout alignment 3 years ago
Fernando Sahmkow d7c9792169 TextureCache: Fix Buffer Views Scaling. 3 years ago
Fernando Sahmkow 4b1393a691 Texture Cache: Correctly fix Blits Rescaling. 3 years ago
ameerj ed675cfd8c texture_cache: Disable dst_image scaling in BlitImage
Fixes scaling in Super Mario Party
3 years ago
ameerj dc28284437 emit_spirv: Fix RescalingLayout alignment 3 years ago
ReinUsesLisp e66d5b88a6 shader: Properly scale image reads and add GL SPIR-V support
Thanks for everything!
3 years ago
ReinUsesLisp fc9bb3c3fe shader: Properly blacklist and scale image loads 3 years ago
ReinUsesLisp c7a1cbad44 texture_cache: Add getter to query if image view is rescaled 3 years ago
ReinUsesLisp 526e47f148 vk_rasterizer: Minor style change 3 years ago
ReinUsesLisp c9238555f7 gl_texture_cache: Fix scaling blits 3 years ago
ReinUsesLisp cfeb161c7e glsl/glasm: Pass and use scaling parameters in shaders 3 years ago
ReinUsesLisp 4a512d6827 gl_rasterizer: Properly scale viewports and scissors 3 years ago
ameerj 05d98d9bbf gl_texture_cache: Fix multi layered texture Scale 3 years ago
ameerj b6060873ce gl_compute_pipeline: Add downscale factor to shader uniforms 3 years ago
ameerj 9bc7b04ca5 gl_rasterizer: Fix rescale dirty state checking 3 years ago
ameerj f086c82e1f gl_graphics_pipeline: Add downscale factor to shader uniforms 3 years ago
ReinUsesLisp 2182d25750 texture_cache: Fix blacklists on compute 3 years ago
ReinUsesLisp 56ccda1d99 texture_cache: Simplify image view queries and blacklisting 3 years ago
Fernando Sahmkow 48d81506a3 Vulkan: Fix downscaling Blit. 3 years ago
Fernando Sahmkow 07c564f38b Texture Cache: Implement Rating System. 3 years ago
Fernando Sahmkow cee7eba64e OpenGL: set linear mag filter when blitting a downscaled image. 3 years ago
Fernando Sahmkow 117f8ee7a4 Vulkan: Fix AA when rescaling. 3 years ago
Fernando Sahmkow 0e8cf38f39 Texture Cache: Implement Blacklisting. 3 years ago
ReinUsesLisp d2388dd0d0 vulkan: Implement rescaling shader patching 3 years ago
ReinUsesLisp dc72d4d4f5 vk_texture_cache: Properly scale blit source images 3 years ago
ReinUsesLisp baf0993d5c vk_graphics_pipeline: Use Shader::NumDescriptors when possible 3 years ago
ReinUsesLisp 6f3a41abe2 opengl: Use Shader::NumDescriptors when possible 3 years ago
ReinUsesLisp 74efa57c1b texture_cache: Add image getters 3 years ago
ameerj fad2c92a39 gl_texture_cache: Simplify rescaling 3 years ago
ameerj d5143c83a9 texture_cache: Fix typo in aliased image rescaling 3 years ago
ReinUsesLisp 0fb4b84383 vk_texture_cache: Simplify and optimize scaling blits 3 years ago
ReinUsesLisp 520c4a44f6 vk_texture_cache: Fix scaling blit validation errors 3 years ago
ameerj fddf372c68 gl_texture_cache: Implement ScaleDown 3 years ago
ameerj 0a6c895af7 gl_texture_cache: Rescale fixes for multi-layered textures 3 years ago
Fernando Sahmkow dfc65cd0a3 Texture Cache: Implement Rescaling on Aliases and Blits. 3 years ago
ReinUsesLisp d464b122d5 Fix blits with mips 3 years ago
ReinUsesLisp 973f8f1d08 Fix blits 3 years ago
ameerj de66a69ed4 renderer_gl: Resolution scaling fixes 3 years ago
Fernando Sahmkow 8704c93913 TextureCache: Fix rescaling of ImageCopies 3 years ago
Fernando Sahmkow 778700ff9d TextureCache: Modify Viewports/Scissors according to Rescale. 3 years ago
Fernando Sahmkow 71ca84d829 Settings: eliminate rescaling_factor. 3 years ago
Fernando Sahmkow 84f2aea896 Texture Cache: More rescaling fixes. 3 years ago
ameerj 10e5065a5c gl_texture_cache: WIP texture rescale 3 years ago
Fernando Sahmkow ba18047e8d Texture Cache: Implement Vulkan UpScaling & DownScaling 3 years ago
Fernando Sahmkow 22f4b290b6 VideoCore: Initial Setup for the Resolution Scaler. 3 years ago
ameerj c50f170597 codes: Rename ComposeFrameHeader to ComposeFrame
These functions were composing the entire frame, not just the headers. Rename to more accurately describe them.
3 years ago
ameerj d35391b9f4 vp8: Implement header composition
Enables frame decoding with FFmpeg
3 years ago
ameerj b39b33b1fe codecs: Add VP8 codec class 3 years ago
Feng Chen 70d51f72ec
vulkan_device: Add missing vulkan image format R5G6B5 in GetFormatProperties
- Used by Dragon Quest Builders
3 years ago
Morph d607ceacf4 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.
3 years ago
lat9nq 61121d1b22 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.
3 years ago
Fernando S 5299554bb0
Merge pull request #7206 from vonchenplus/fix_vulkan_viewport_issue
Vulkan Rasterizer: Fix viewport issue
3 years ago
Ameer J 494e34af6a
Merge pull request #7070 from FernandoS27/want-you-bad
Vulkan Rasterizer: Correct DepthBias/PolygonOffset on Vulkan.
3 years ago
Fernando Sahmkow ad8afaf1ef Vulran Rasterizer: address feedback. 3 years ago
Feng Chen b769bea61b Fix vulkan viewport issue 3 years ago
bunnei c871320760
Merge pull request #7198 from ameerj/settings-chrono
settings: Remove std::chrono usage
3 years ago
ameerj ef811c6425 settings: Remove std::chrono usage
Alleviates the dependency on chrono for all files that include settings.h
3 years ago
Ameer J 3791c7ca82
Merge pull request #7077 from FernandoS27/face-down
A series of fixes to queries and indexed samplers.
3 years ago
Ameer J 5b735a4c9d
Merge pull request #7127 from FernandoS27/i-saw-a-wabbit
A few fixes on Vulkan and Rasterizer Caching
3 years ago
Morph 894b483a0d
Merge pull request #7157 from ameerj/vic-surface-size
vic: Use the minimum of surface/frame dimensions when writing the final frame to the GPU
3 years ago
Ameer J 018cf3853e
Merge pull request #7109 from vonchenplus/fix_h264_max__reference_num_error
h264: Use max allowed max_num_ref_frames when using CPU decoding
3 years ago
ameerj f346b04d12 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 ba8be75037 h264: Use max allowed max_num_ref_frames when using CPU decoding 4 years ago
Valeri 0394e4bb8e
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 403fc86c11 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 5aae61775f vic: Refactor frame writing methods 4 years ago
ameerj 899fdb9c44 vic: Implement RGBX frame format 4 years ago
Fernando S f84328934f
Merge pull request #7118 from ameerj/vc-gpu-impl
gpu: Migrate implementation to the cpp file
4 years ago
bunnei 5b2fa8dd41
Merge pull request #7115 from ameerj/log-compile
common/logging: Reduce dependent header include overhead
4 years ago
bunnei 158a693111
Merge pull request #7101 from ameerj/vk-tess-topology
vk_graphics_pipeline: Force patch list topology when tessellation is used
4 years ago
Fernando Sahmkow 0498669b4b Vulkan: Fix failing barrier on refresh. 4 years ago
FernandoS27 bb8bf740e9 RasterizerInterface: Correct size of CPU addresses to cache. 4 years ago
FernandoS27 7f4de3466a Vulkan: Fix the master Semaphore 4 years ago
ameerj 6c0d902373 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 427bf76e62 gpu: Migrate implementation to the cpp file 4 years ago
ameerj 5daf3abe65 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
bunnei 8bd5742349
Merge pull request #7061 from ameerj/dma-buffer-misc
buffer_cache, maxwell_dma: Minor refactoring and code fixes
4 years ago
bunnei 91341b421d
Merge pull request #7036 from ameerj/ogl-bgr-v2
gl_texture_cache: Unify BGR copy passes using PBOs
4 years ago
ameerj 6f35fb8d26 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
bunnei 24c0dde958
Merge pull request #7076 from ameerj/amd-botw
vk_texture_cache: Disable cube compatibility flag on non-mesa AMD GCN4 and earlier
4 years ago
Morph 5114819b6b
Merge pull request #7078 from ameerj/vc-jthread-fixes
video_core: Fix jthread related hangs when stopping emulation
4 years ago
ameerj 73666fb262 general: Update style to clang-format-12 4 years ago
ameerj ab63a193d7 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 1e1ecca691 vk_texture_cache: Disable cube compatibility flag on non-mesa AMD GCN4 and earlier
Fixes rainbow textures on BOTW.
4 years ago
Fernando Sahmkow d702b393a4 Vulkan Query Cache: make sure to wait for the query result. 4 years ago
Fernando Sahmkow 8fdb51ab46 QueryCache: Flush queries in order of running. 4 years ago
Fernando Sahmkow 60a3980561 Vulkan Rasterizer: Correct DepthBias/PolygonOffset on Vulkan. 4 years ago
bunnei 7b22d61fb1
Merge pull request #7003 from ameerj/unlocked-present-mode
vk_swapchain: Use immediate present mode when mailbox is unavailable and FPS is unlocked
4 years ago
ameerj 24049591f6 maxwell_dma: Minor refactoring 4 years ago
ameerj 1ea8073783 buffer_cache: Minor fixes
Loop through the tmp_intervals by reference, rather than by copy, and fix gl clear buffer size calculation.
4 years ago
bunnei a9c3619d26
Merge pull request #7019 from ameerj/videocore-jthread
videocore: Use std::jthread for worker threads
4 years ago
bunnei ff54d9615f
Merge pull request #7011 from ameerj/vk-validation-0x0
vulkan_debug_callback: Ignore InvalidCommandBuffer-VkDescriptorSet errors
4 years ago
ameerj 22162f906b host_shaders: Remove opengl_copy_bgra.comp 4 years ago
ameerj ab808fe7cf gl_texture_cache: Migrate BGRCopyPass from util_shaders
The BGR copies no longer use shaders.
4 years ago
Fernando S a606b1448b
Merge pull request #7027 from ameerj/sorry-amd
vulkan_device: Reorder Float16Int8 declaration
4 years ago
ameerj e3c153efa4 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.
4 years ago
ameerj 5601e1cb00 Revert "Merge pull request #7006 from FernandoS27/a-motherfucking-driver"
This reverts commit 62e88d0e74, reversing
changes made to edf3da346f.
4 years ago
ameerj 7f737b022a util_shaders: Unify BGRA copy passes 4 years ago