Commit Graph

18253 Commits (c624edceba98db4fde8ba3bb30c2f3fd19e8823f)

Author SHA1 Message Date
german77 064ddacf49 core/hid: Rework battery mappings 4 years ago
german77 c6c32daf40 input_common: Add manual update options to input devices 4 years ago
german77 f01dac3bf9 service/hid: Fix memory allocated incorrectly 4 years ago
german77 464c4d26ac settings: Fix mouse and keyboard mappings 4 years ago
german77 cc651c7c99 web_applet: Replace HIDButton with NpadButton 4 years ago
german77 b564f024f0 Morph review first wave 4 years ago
german77 e2e5f1beaf service/hid: Match shared memory closer to HW 4 years ago
german77 21819da8cd yuzu: Fix loading input profiles 4 years ago
german77 b5e72de753 kraken: Address comments from review
review fixes
4 years ago
german77 95cf66b655 service/hid: Use ring buffer for gestures 4 years ago
german77 85052b8662 service/hid: Fix gesture input 4 years ago
german77 af55dd1935 configuration: Migrate controller settings to emulated controller 4 years ago
german77 c3ff0a8ac0 core/hid: Fix rumble too strong at 1% 4 years ago
german77 601ac43495 core/hid: Only signal when needed 4 years ago
german77 4d308fd0b4 hid: Fix controller connection/disconnection 4 years ago
german77 72e5920240 core/hid: Documment some files 4 years ago
german77 e0da5c1bbc kraken: Fix errors from rebase and format files 4 years ago
german77 06a5ef5874 core/hid: Add output devices 4 years ago
german77 e14ae06391 core: Update input interpreter 4 years ago
german77 1b82d5bb4f yuzu: Update overlay applet 4 years ago
german77 510c7d2953 core/frontend: Update applets 4 years ago
german77 dd62a0187d core: Remove frontend/input 4 years ago
german77 c87ad2d0d6 service/hid: Rewrite npad to use ring lifo and the emulated controller 4 years ago
german77 a2ad5762e6 service/hid: Update console sixaxis to the emulated console 4 years ago
german77 800a66d25a service/hid: Update mouse and keyboard to use ring lifo and the emulated device 4 years ago
german77 afe2d667d9 service/hid: Update touch and gestures to use ring lifo and the emulated console 4 years ago
german77 072559dede service/hid: Update debug pad, xpad, stubbed and controller base to use ring lifo and the emulated controller 4 years ago
german77 dbe0301102 service/hid: Use remove duplicated code, update names 4 years ago
german77 db08721dcc service/hid: Create ring LIFO 4 years ago
german77 8fff6d6c67 Qt_applets: Use new input 4 years ago
german77 6e2c84042d settings: Cleanup settings 4 years ago
german77 456397ed39 debugger/controller: Remove TAS 4 years ago
german77 173a6b1e57 core/emu_window: Remove touch input 4 years ago
german77 c405a19b73 yuzu: Update frontend 4 years ago
german77 967cca10ff core: Register HID 4 years ago
german77 c3f54ff232 core/hid: Add emulated controllers 4 years ago
german77 14b949a0da yuzu_cmd: Use new input 4 years ago
german77 737d305f63 yuzu: Use new input on main and bootmanager 4 years ago
german77 29ae42f3e2 input_common: Rewrite main and add the new drivers 4 years ago
german77 6d108f0dcb input_common: Remove obsolete files 4 years ago
german77 59b995a9e5 input_common: Rewrite SDL 4 years ago
german77 10241886dd input_common: Rewrite udp client 4 years ago
german77 dc3ab9e110 input_common: Rewrite tas input 4 years ago
german77 395e9a449d input_common: Rewrite gc_adapter 4 years ago
german77 fa8e23b842 input_common: Rewrite touch 4 years ago
german77 00834b84dd input_common: Rewrite mouse 4 years ago
german77 5a785ed794 input_common: Rewrite keyboard 4 years ago
german77 4c6f2c2547 input_common: Move touch and analog from button. Move udp protocol 4 years ago
german77 854c933716 input_common: Create input poller and mapping 4 years ago
german77 ea7b1fbc67 input_common: Create input_engine 4 years ago
german77 449576df93 core/hid: Move motion_input, create input converter and hid_types 4 years ago
german77 bf71d18af9 core/hid: Move input_interpreter to hid 4 years ago
german77 ad5142ac2c common: Rewrite and move core/frontend/input.h to common 4 years ago
Adam Heinermann f078d3d212
Refactor menu states and shortcuts in GMainWindow. (#7419)
Refactor menu states and shortcuts in GMainWindow.

- Removed "Start", since it was always disabled unless it was "Continue"
which has now been moved to "Pause".
- Allow hotkeys to be used while in fullscreen.
- Removed the load amiibo hotkey.
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
bunnei cd6cf0422d
Merge pull request #7404 from Kewlan/per-game-framerate-cap
configure_general: Allow framerate cap to be used in custom game configs
4 years ago
bunnei daecbd3a7f
Merge pull request #7394 from Morph1984/svc-SetMemoryPermission
kernel: svc: Implement SetProcessMemoryPermission
4 years ago
Fernando Sahmkow 08674aee87 Texture Cache: Fix issue with blitting 3D textures. 4 years ago
Mai M ee76b546d4
Merge pull request #7406 from heinermann/tas_menu
Added TAS controls to the menu under Tools
4 years ago
jam1garner 4d9c9e567e arm: dynarmic: Cleanup icache op handling 4 years ago
jam1garner c8a67a725d arm: dynarmic: Implement icache op handling for 'ic iallu' instruction 4 years ago
jam1garner 84eb3e7d02 arm: dynarmic: Implement icache op handling for 'ic ivau' instruction 4 years ago
Adam Heinermann 097de2febc const fixes 4 years ago
Adam Heinermann b7a938e817 Apply clang format 4 years ago
Adam Heinermann f90d980837 Added TAS controls to the menu under Tools 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
Kewlan 8e3371a5c5 configure_general: Allow framerate cap to be used in custom game configs 4 years ago
bunnei d20f91da11
Merge pull request #7395 from Morph1984/resolve-comments
general: Resolve comments in PR #7368
4 years ago
bunnei 5082712b4e
Merge pull request #7389 from ameerj/screenshot-1x
Fix screenshot dimensions when at 1x scale
4 years ago
bunnei ba5210675a
Merge pull request #7359 from heinermann/kthread_crash
Fix crash on exit due to static scoped dummy threads
4 years ago
bunnei fc34749778
Merge pull request #7393 from Morph1984/pm-ams-get-pid
service: pm: Implement AtmosphereGetProcessId
4 years ago
Fernando Sahmkow 779f4ac72d TextureCache: Eliminate format deduction as full depth conversion has been supported. 4 years ago
Morph 5cf93c1346 kernel: svc: Move all IsValid functions to an anonymous namespace 4 years ago
Morph 2726d705f8 kernel: svc: Implement SetProcessMemoryPermission
- Used by Skyline modding framework
4 years ago
Morph 281437c811 kernel: KPageTable: Rename SetCodeMemoryPermission to SetProcessMemoryPermission 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
Morph 9173f07a51 service: pm: Implement AtmosphereGetProcessId
- Used by Skyline modding framework
4 years ago
Morph 3dc38d185b service: pm: Add all relevant result codes 4 years ago
bunnei ea6fa044f3
Merge pull request #7368 from FernandoS27/vulkan-conv
Fix ART Blit detection regression and add D24S8 <-> RGBA8 conv to Vulkan
4 years ago
Morph 40cd0bb97b service: pm: Rename title id to program id 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
bunnei c3e1ffc44b
Merge pull request #7294 from vonchenplus/fix_image_update_error_when_width_too_small
Fix image update/download error when width too small
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
bunnei b44fbf6cdd
Merge pull request #7369 from Morph1984/amd-fsr-statusbar
main: Shorten AMD FSR status bar text
4 years ago
bunnei a69813948f
Merge pull request #7342 from goldenx86/patch-3
Replace keys error pop up
4 years ago
bunnei c45af76ea0
Merge pull request #7357 from Morph1984/s8_uint
video_core: Implement S8_UINT format
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
Morph bc5ed1aa1b main: Fix default AA name
By default, no AA is applied, not FXAA
4 years ago
Morph a237fb5f75 configure_graphics_ui: AMD's -> AMD
AMD officially markets FSR as AMD FidelityFX™️ Super Resolution
4 years ago
Morph c76163b611 main: Shorten AMD FSR status bar text
AMD'S FIDELITYFX SR -> FSR
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
bunnei 0bc46fedd6
Merge pull request #7349 from ameerj/ogl-convert-image
gl_texture_cache: Implement pixel format conversions for copies
4 years ago
bunnei a100f5d5d4
Merge pull request #7353 from v1993/no-more-epilepsy
Prevent window flickering when holding Esc
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
bunnei 2054013edb
Merge pull request #7355 from german77/hotkey_spam
hotkeys: Don't allow hotkeys to spam
4 years ago
Adam Heinermann d8a783a368 Fix crash on exit due to static scoped dummy threads 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
german77 311324e231 hotkeys: Don't allow hotkeys to spam 4 years ago
Valeri f7e0a37753
Prevent window flickering when holding Esc
Reported on discord by Levlight. Don't try to exit fullscreen if it's already off.
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
Fernando Sahmkow 1c8a3d8d29 TextureCache: Fix Automatic Anisotropic. 4 years ago
FernandoS27 1128cc35b9 TextureCache: OGL query device memory if possible. 4 years ago
Fernando Sahmkow 978f598ff6 TextureCache: Fix OGL cleaning 4 years ago
Fernando Sahmkow 282e04bffb TextureCache: Add automatic anisotropic filtering and refactor code. 4 years ago
Fernando Sahmkow 5230378709 TextureCache: Make a better Anisotropic setter. 4 years ago
Fernando Sahmkow 6c97ab571a Texture Cache: revert Image changes. 4 years ago
Fernando Sahmkow 6f98690963 ShaderCache: Better fix for Shuffling gl_FragCoord 4 years ago
FernandoS27 d46a71e786 HostShader: fix Gaussian filter. 4 years ago
FernandoS27 de1c8c5c2c Texture Cahe/Shader decompiler: Resize PointSize on rescaling, refactor and make reaper more agressive on 4Gb GPUs. 4 years ago
ameerj 917b2466ad texture_cache: Refactor Render Target scaling function 4 years ago
ameerj 9fc1fa1b0d gl_resource_manager: Ensure non EXT_framebuffer objects are created 4 years ago
FernandoS27 099b0b3167 Texture Cache: Fix memory usage on ScaleDown. 4 years ago
FernandoS27 9189aacfe2 OpenGL: Fix viewport/Scissor scaling on downscaling. 4 years ago
FernandoS27 c97c46747d Vulkan: fix regression. 4 years ago
ameerj 87abab71ff host_shaders: Misc copyright/style changes 4 years ago
ameerj 864f2e0b81 configure_graphics.ui: Cleanup scaling options and fix duplicate name warning 4 years ago
ameerj 99124b7261 FSR: Fix GCC build errors 4 years ago
Marshall Mohror bb03675485 Vulkan: Reimplement FSR constant generation functions to avoid GCC warnings 4 years ago
ameerj 47369faaab vk_blit_screen: Fix AA destruction order 4 years ago
Marshall Mohror dcc5b4f6b0 Presentation: Only use FP16 in scaling shaders on supported devices in Vulkan 4 years ago
ameerj a39e867c73 renderer_vulkan/blit_image: Use generic color state on Depth to Color blits
Fixes Bayonetta 2 on AMD
4 years ago
ameerj 282a4501d9 vk_texture_cache: Refactor 3D scaling helpers 4 years ago
ameerj 93c9eb196f gl_rasterizer: Fix ScissorTest and Clear when scaling 4 years ago
ameerj 172d4f1e3b gl_texture_cache: Simplify scaling procedures 4 years ago
Fernando Sahmkow 5c6fa88935 OpenGlTextureCache: Fix state invalidation on rescaling. 4 years ago
Fernando Sahmkow c5dbd93adb VulkanBufferCache: Avoid adding barriers between multiple copies. 4 years ago
Fernando Sahmkow 99547d2656 HostShader: Fix gaussian and add attribution. 4 years ago
Fernando Sahmkow a96c9c803b Yuzu UI: Add button for Anti Alias 4 years ago
Fernando Sahmkow 21a8ba0437 Vulkan: Fix FXAA in AMD. 4 years ago
Fernando Sahmkow 6cdfaee7b4 Texture Cache: Fix blitting. 4 years ago
FernandoS27 e6f1ed08fb Vulkan: Implement FXAA 4 years ago
Marshall Mohror 056894f07a OpenGL: fix FXAA with scaling 4 years ago
Marshall Mohror 48cf376462 OpenGL: Implement FXAA 4 years ago
Marshall Mohror 74e39ed6ee Frontend: Add anti-aliasing method setting 4 years ago
Marshall Mohror 510caeefb3 Settings: Add anti-aliasing method setting 4 years ago
FernandoS27 2eff80b47f QtGUI: Add buttton to toggle the filter. 4 years ago
FernandoS27 9e065b9c7d VideoCore: Add gaussian filtering. 4 years ago
FernandoS27 bf01b7993d TextureCache: Improve Reaper. 4 years ago
FernandoS27 bb3e95133d Vulkan: fix waiting on semaphore. 4 years ago
Marshall Mohror 916b882ea8 Update scaleforce to use FP16 4 years ago
FernandoS27 e7fc60406e VideoCore: Add more rescaling option. 4 years ago
FernandoS27 d37d10e7a7 TextureCache: fix rescaling in aliases and overlap joins. 4 years ago
Marshall Mohror 7506ac4118 Presentation: Fix turning FSR on and off in settings 4 years ago
Fernando Sahmkow 4ad22c7d2b Video Core: fix building for GCC. 4 years ago
FernandoS27 826a350e2b Vulkan Rasterizer: Fix clears on integer textures. 4 years ago
FernandoS27 150bc45401 Texture cache: fix Intel with rescaler. 4 years ago
FernandoS27 f3ff8bdc0e TextureCache: Fix blitting filter in Vulkan and correct viewport/scissor calculation when downscaling. 4 years ago
Fernando Sahmkow 3b61de74e6 Texture Cache: fix memory managment and optimize scaled downloads, uploads. 4 years ago
Fernando Sahmkow c2ca55c9d5 Texture Cache: ease the requirements of textures being blacklisted. 4 years ago
Fernando Sahmkow 50b4c774cb Vulkan: Fix Blit Depth Stencil 4 years ago
Fernando Sahmkow 425ab9ef4b Texture Cache: Fix downscaling and correct memory comsumption. 4 years ago
Fernando Sahmkow b60966041c Presentation: add Nearest Neighbor filter. 4 years ago
Marshall Mohror 37cb0377ae vulkan: Implement FidelityFX Super Resolution 4 years ago
FernandoS27 d4f5193bd3 Texture Cache: Rescale conversions between depth and color 4 years ago
Fernando Sahmkow ef1dc42635 Texture cache: Fix memory consumption and ignore rating when a depth texture is rendered. 4 years ago
ameerj 618de4e787 vulkan: Fix rescaling push constant usage 4 years ago
Fernando Sahmkow b7ccc58f23 Texture Cahe: Fix downscaling on SMO. 4 years ago
ameerj 0f14c9379e texture_cache_base: Remove unused function declarations 4 years ago
ameerj ca1db63116 yuzu: Fix build errors 4 years ago
ameerj ebf36f23dd vk_texture_cache: Use 3D to scale images when blit is unsupported 4 years ago
ameerj 4de584005f texture_cache: Fix infinitely recursive ImageCanRescale check 4 years ago
ameerj b1ae935f11 vk_texture_cache: Fix BlitScale of non-2D images 4 years ago
ameerj abd07e4158 video_core: Refactor resolution scale function 4 years ago
ameerj b14f2c7c82 texture_cache: Fix image resolves when src/dst are not both scaled 4 years ago
lat9nq 49c0c7efd2 yuzu_cmd: Read resolution_setup and scaling_filter from config
Also adds descriptions and the settings to the default config.
4 years ago
lat9nq 1c93476a80 video_core,yuzu: Move UpdateRescalingInfo call to video_core
This only needs to happen once per game boot, so we can just call it
during CreateGPU and be done with it, avoiding the need to call it in
the frontends.
4 years ago
ameerj 3233fa5dc8 gl_texture_cache: Disable scissor test when scaling textures
Fixes a bug on BOTW where some objects were no longer being rendered after blitting
4 years ago
ameerj 89a7e566c7 vk_texture_cache: Fix unsupported blit format error checking 4 years ago
ameerj f8339cd703 vk_texture_cache: Fix early returns on unsupported scales 4 years ago
ameerj 31478c6c1b video_core: Misc resolution scaling related refactoring 4 years ago
ameerj 88ef04dbaf texture_cache: Refactor scaled image size calculation 4 years ago
Fernando Sahmkow 237a43004f Texture Cache: Fix calculations when scaling. 4 years ago
ameerj e0a3830855 gl_texture_cache: Fix BGR pbo size for scaled textures 4 years ago
ameerj 581ea90062 rescaling_pass: Fix IR errors when unscalable texture types are encountered 4 years ago
Fernando Sahmkow ea82bd4b7e Texture Cache: Fix Rescaling on Multisample 4 years ago
Fernando Sahmkow 19ca0c9ab5 TextureCache: Base fixes on rescaling. 4 years ago
ameerj 99eec162da rescaling_pass: Logic simplification and minor style cleanup 4 years ago
ameerj 276565973f rescaling_pass: Scale ImageFetch offset if it exists
Plus some code deduplication
4 years ago
ameerj dd66384451 rescaling_pass: Enable PatchImageQueryDimensions on fragment stages 4 years ago
ameerj 36f261edef vk_texture_cache: Simplify scaled image management 4 years ago
ameerj 8183142cd4 gl_texture_cache: Fix scaling backup logic 4 years ago
ameerj 122ddeb7ff vk_rasterizer: Fix scaling on Y_NEGATE 4 years ago
ameerj 16017ac450 vk_texture_cache: Use nearest neighbor scaling when available 4 years ago
ameerj 27af298e78 gl_texture_cache: Fix depth and integer format scaling blits 4 years ago
ameerj b027fac794 gl_texture_cache/rescaling_pass: minor cleanup 4 years ago
ameerj c8a971be91 vk_texture_cache: Minor cleanup 4 years ago
ameerj edb5844240 rescaling_pass: Fix and simplify shuffle/fragcoord pass 4 years ago
Fernando Sahmkow b3a9c8f108 Shader: Don't rescale FragCoord if used by Shuffle 4 years ago
ameerj 6000fe69a4 image_info: Mark MSAA textures as non-rescalable
Blitting or resolving multisampled images requires the dimensions of the src and dst to be equal for valid usage, making them difficult for resolution scaling using the current implementation.
4 years ago
ameerj 80f8d4989e bootmanager: Fix screenshot resolution factor usage
Fixes screenshots at non integer scaling
4 years ago
ameerj fcf2b2c78a gl_texture_cache: Simplify scaling
We don't need to reconstruct new textures every time we ScaleUp/ScaleDown. We can scale up once, and revert to the original texture whenever scaling down.
Fixes memory leaks due to glDeleteTextures being deferred for later handling on some drivers
4 years ago
ameerj ae8d19d17e Renderers: Unify post processing filter shaders 4 years ago
ameerj 29710f3250 gl_texture_cache: fix scaling on upload 4 years ago
Fernando Sahmkow a6b88e85bf Renderer: Implement Bicubic and ScaleForce filters. 4 years ago
Fernando Sahmkow c5bbbf3902 Texture Cache: fix scaling on upload and stop scaling on base resolution. 4 years ago
ameerj 68e038404c shader, video_core: Fix GCC build errors 4 years ago
ameerj 65781f88f8 emit_spirv: Fix RescalingLayout alignment 4 years ago
Fernando Sahmkow d7c9792169 TextureCache: Fix Buffer Views Scaling. 4 years ago
Fernando Sahmkow dfa8291526 RescalingPass: Agregate pixels on texelFetch while on Fragment Shader 4 years ago
Fernando Sahmkow 4b1393a691 Texture Cache: Correctly fix Blits Rescaling. 4 years ago
Fernando Sahmkow 8f78444de3 shader: Fix TextureSize check on rescaling. 4 years ago
ameerj ed675cfd8c texture_cache: Disable dst_image scaling in BlitImage
Fixes scaling in Super Mario Party
4 years ago
ameerj dc28284437 emit_spirv: Fix RescalingLayout alignment 4 years ago
ReinUsesLisp e66d5b88a6 shader: Properly scale image reads and add GL SPIR-V support
Thanks for everything!
4 years ago
ReinUsesLisp fc9bb3c3fe shader: Properly blacklist and scale image loads 4 years ago
ReinUsesLisp c7a1cbad44 texture_cache: Add getter to query if image view is rescaled 4 years ago
ReinUsesLisp 526e47f148 vk_rasterizer: Minor style change 4 years ago
ReinUsesLisp c9238555f7 gl_texture_cache: Fix scaling blits 4 years ago
ReinUsesLisp cfeb161c7e glsl/glasm: Pass and use scaling parameters in shaders 4 years ago
ReinUsesLisp 4a512d6827 gl_rasterizer: Properly scale viewports and scissors 4 years ago
ameerj 05d98d9bbf gl_texture_cache: Fix multi layered texture Scale 4 years ago
ameerj b6060873ce gl_compute_pipeline: Add downscale factor to shader uniforms 4 years ago
ameerj 9bc7b04ca5 gl_rasterizer: Fix rescale dirty state checking 4 years ago
ameerj f086c82e1f gl_graphics_pipeline: Add downscale factor to shader uniforms 4 years ago
ReinUsesLisp 2182d25750 texture_cache: Fix blacklists on compute 4 years ago
ReinUsesLisp 56ccda1d99 texture_cache: Simplify image view queries and blacklisting 4 years ago
Fernando Sahmkow 48d81506a3 Vulkan: Fix downscaling Blit. 4 years ago
Fernando Sahmkow 07c564f38b Texture Cache: Implement Rating System. 4 years ago
Fernando Sahmkow cee7eba64e OpenGL: set linear mag filter when blitting a downscaled image. 4 years ago
Fernando Sahmkow 117f8ee7a4 Vulkan: Fix AA when rescaling. 4 years ago
Fernando Sahmkow 0e8cf38f39 Texture Cache: Implement Blacklisting. 4 years ago
Morph 138d9d7eff main: Add resolution scale label in the status bar
Shows the resolution scale as "Scale: {}x" in the status bar, where {} is a floating point value representing the current resolution scaling factor.
4 years ago
ReinUsesLisp d2388dd0d0 vulkan: Implement rescaling shader patching 4 years ago
ReinUsesLisp dc72d4d4f5 vk_texture_cache: Properly scale blit source images 4 years ago
ReinUsesLisp baf0993d5c vk_graphics_pipeline: Use Shader::NumDescriptors when possible 4 years ago
ReinUsesLisp 6f3a41abe2 opengl: Use Shader::NumDescriptors when possible 4 years ago
ReinUsesLisp 656adee630 spirv: Implement rescaling patching 4 years ago
ReinUsesLisp 01379c5e3c shader/rescaling_pass: Patch more instructions 4 years ago
ReinUsesLisp c15332c44f shader: Add IsTextureScaled opcode 4 years ago
ReinUsesLisp 74efa57c1b texture_cache: Add image getters 4 years ago
ReinUsesLisp c892359d1b shader: Add copy constructor to instructions 4 years ago
ReinUsesLisp 95761cc6a7 shader: Add integer division opcodes 4 years ago
ReinUsesLisp 43aa695a04 common/settings: Remove unused scaling options 4 years ago
ReinUsesLisp e580299467 shader: Fix rescaling pass 4 years ago
ameerj fad2c92a39 gl_texture_cache: Simplify rescaling 4 years ago
ameerj d5143c83a9 texture_cache: Fix typo in aliased image rescaling 4 years ago
ReinUsesLisp 0fb4b84383 vk_texture_cache: Simplify and optimize scaling blits 4 years ago
ReinUsesLisp 520c4a44f6 vk_texture_cache: Fix scaling blit validation errors 4 years ago
ReinUsesLisp 1672e9ba09 shader: Fix resolution scaling pass 4 years ago
ReinUsesLisp fb924ea85c shader: Add resolution down factor opcode 4 years ago
ameerj fddf372c68 gl_texture_cache: Implement ScaleDown 4 years ago
ameerj 0a6c895af7 gl_texture_cache: Rescale fixes for multi-layered textures 4 years ago
Fernando Sahmkow dfc65cd0a3 Texture Cache: Implement Rescaling on Aliases and Blits. 4 years ago
ReinUsesLisp d464b122d5 Fix blits with mips 4 years ago
ReinUsesLisp 973f8f1d08 Fix blits 4 years ago
ameerj de66a69ed4 renderer_gl: Resolution scaling fixes 4 years ago
Fernando Sahmkow 8704c93913 TextureCache: Fix rescaling of ImageCopies 4 years ago
Fernando Sahmkow 778700ff9d TextureCache: Modify Viewports/Scissors according to Rescale. 4 years ago
Fernando Sahmkow 71ca84d829 Settings: eliminate rescaling_factor. 4 years ago
Fernando Sahmkow 84f2aea896 Texture Cache: More rescaling fixes. 4 years ago
ameerj 10e5065a5c gl_texture_cache: WIP texture rescale 4 years ago
Fernando Sahmkow ba18047e8d Texture Cache: Implement Vulkan UpScaling & DownScaling 4 years ago
Fernando Sahmkow 360e897ccd ShaderDecompiler: Add initial support for rescaling. 4 years ago
Fernando Sahmkow 37ef9c9130 Settings: Add resolution scaling to settings. 4 years ago
Fernando Sahmkow 22f4b290b6 VideoCore: Initial Setup for the Resolution Scaler. 4 years ago
Matías Locatti ffb79afd29
Replace keys error pop up
Fight me.
4 years ago
Fernando S 720970c4c1
Merge pull request #7326 from ameerj/vp8
codecs: Implement VP8 video decoding support
4 years ago
Romain Failliot 2e5866147e Replace "Light" theme by "Default"
This reflects the current behavior: Light = System default. If your
system is set to dark theme, then Light = Dark, which is a bit confusing
for the end user.

In this PR, I propose to change "Light" with "Default". This way, the
user has "Default" and "Default Colorful", which will apply the system
theme. Now that the Flatpak respects the system theme, I think this
makes much more sense.

I also simplified the theme update. Before the code was branching
between the default theme and the others, but I think we can have
something simpler by forcing the default theme if no theme is defined in
the settings, or if the selected theme doesn't exist. And if there's an
error, tell the theme name in the error message.
4 years ago
bunnei 30442d8a89
Merge pull request #7260 from vonchenplus/spirv_support_legacy_attribute_v2
shader: Spirv support legacy attribute v2
4 years ago
bunnei 0eacc362dd
Merge pull request #7272 from behunin/the-courteous-logger
Logging: Impl refactor
4 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.
4 years ago
ameerj d35391b9f4 vp8: Implement header composition
Enables frame decoding with FFmpeg
4 years ago
ameerj b39b33b1fe codecs: Add VP8 codec class 4 years ago
OatmealDome 50acc0da20 program_metadata: Add default ThreadInfo kernel capability 4 years ago
Morph 3af2117c88 applets/swkbd: Fix text check message encoding
The text check message can be encoded in UTF-8.
4 years ago
Morph 1af499c15b applets/swkbd: Skip text checking if the text has been confirmed
Confirm means that the text has already been checked by the application to be correct, but is asking the user for confirmation.
The confirmation text itself seems to be corrupted though, this needs to be investigated.

Fixes the software keyboard in Famicom Detective Club: The Missing Heir
4 years ago
Narr the Reg ced1302975
service/pctl: Stub EndFreeCommunication
- Used by Just Dance 2022
4 years ago
Feng Chen 70d51f72ec
vulkan_device: Add missing vulkan image format R5G6B5 in GetFormatProperties
- Used by Dragon Quest Builders
4 years ago
Morph 3a71ff44f8
Merge pull request #7279 from Morph1984/system-get-program-id
general: Get the current process program id directly from the system
4 years ago
Morph 2ceb514a39
Merge pull request #7289 from ameerj/perf-stat-shutdown
core: Reorder perf_stats destruction order on Shutdown
4 years ago
ameerj 0cf78a34ba core: Reorder perf_stats destruction order on Shutdown
Avoids the gpu_core using perf_stats after it's been freed.
4 years ago
Fernando S 3ceefc64f1
Merge pull request #7287 from Morph1984/stub-aoc
service: aoc: Stub more 13.x functions used by Animal Crossing
4 years ago
Morph a6e6a5ac38 general: Get the current process program id directly from the system
This allows us to avoid including KProcess' header file in files that only need to get the current process' program id.
4 years ago
Morph 64275dfbf4 general: Rename GetTitleID to GetProgramID 4 years ago
bunnei f178a8ef0c
Merge pull request #7282 from ameerj/core-includes
core: Reduce unused header includes
4 years ago
Morph 21c1316503 service: aoc: Stub NotifyUnmountAddOnContent
Used by Animal Crossing: New Horizons v2.0.0 DLC
4 years ago
Morph ef427e4cb0 service: aoc: Stub NotifyMountAddOnContent and NotifyMountAddOnContent
Used by Animal Crossing: New Horizons v2.0.0 DLC
4 years ago
german77 bee6b71553 service/acc: Rename Unknown160 to InitializeApplicationInfoV2 4 years ago
Morph f2988ecabc service: acc: Stub acc:u0 '160'
- Used by Animal Crossing: New Horizons v2.0.0

Since the name is currently unknown, '160' is used as a placeholder.
4 years ago
ameerj b275f2e475 core: Fix transitive include build errors 4 years ago
ameerj 7c4b6aab2e core: Remove unused includes 4 years ago
Feng Chen f2a4204245 Simply legacy attribute implement 4 years ago
Morph b871388a31 svc: Correct WaitSynchronization num_handles param type
num_handles is a s32
4 years ago
bunnei 7ce29ea74e
Merge pull request #7262 from FernandoS27/Buffalo-buffalo-Buffalo-buffalo-buffalo
ShaderCache: Order Phi Arguments from farthest away to nearest.
4 years ago
Mai M 43ba9db890
Merge pull request #7265 from Morph1984/gl-rasterizer-unused-include
gl_rasterizer: Remove unused includes
4 years ago
Morph cb09ea0f01 general: Remove MakeResult helpers
This is made obsolete by the presence of implicit constructors.
4 years ago
Morph 98b351758c hle/result: Amend ResultVal documentation
This amends the documentation slightly to reflect the updated interface.
4 years ago
Morph 52e52924bb hle/result: Reimplement ResultVal using Common::Expected
Common::Expected effectively provides the same functions as ResultVal, so we can implement it with this.
This can be replaced with std::expected with minimal effort should it be standardized in the C++ Standard Template Library.
4 years ago
Morph a41e9e93dd common: Implement a subset of P0323 (std::expected)
This implementation is based on and is a subset of the proposed implementation of std::expected
https://github.com/TartanLlama/expected/blob/master/include/tl/expected.hpp
4 years ago
bunnei b118fa8698
Merge pull request #7227 from vonchenplus/fix_memory_leak_v2
Fix memory leak v2
4 years ago
Levi Behunin d6b5f64484 Refactor Logging Impl
Loop on stop_token and remove final_entry in Entry.
Move Backend thread out of Impl Constructor to its own function.
Add Start function for backend thread.
Use stop token in PopWait and check if entry filename is nullptr before logging.
4 years ago
Fernando Sahmkow 2d4bbd83e6 Shader Cahe: Fix Phi Nodes on GLASM. 4 years ago
Fernando Sahmkow 194579bc4f ShaderCache: Fix Phi Nodes Type on OGL. 4 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.
4 years ago
Fernando Sahmkow c50ad56bf5 ShaderCache: Order Phi Arguments from farthest away to nearest. 4 years ago
vonchenplus 49f9a44235 Support gl_FogFragCoord attribute 4 years ago
bunnei 99ba26460d
Merge pull request #7246 from german77/userimage
profile_manager: Resize any image bigger than 256p
4 years ago
Fernando S 7aa0d97eed
Merge pull request #7201 from ameerj/spirv-depth-sampling
emit_spirv_image: Fix depth image implicit lod sample in non-fragment stages
4 years ago
bunnei a3a353edf2
Merge pull request #6702 from lat9nq/disable-screensaver
yuzu_cmd, yuzu qt: Use SDL to disable the screen saver
4 years ago
bunnei 7c2c72a6d6
Merge pull request #7244 from Morph1984/application-lang-pt-br
file_sys/ns: Add Brazilian Portuguese to the list of ApplicationLanguage
4 years ago
lat9nq 604b6d1210 yuzu qt: Disable the screensaver with SDL2
Disables the screen saver when a game boots using SDL2 so that it works
on any supported platform.
4 years ago
bunnei 92159b210e
Merge pull request #7240 from Morph1984/resultval-remove-cv
hle/result: Remove cv-qualifiers from Arg in MakeResult
4 years ago
german77 f503dbf071 profile_manager: Resize any image bigger than 256p 4 years ago
bunnei c1b199bd21
Merge pull request #7241 from Morph1984/resultval-move-assignment
hle/result: Add move assignment operator in ResultVal
4 years ago
bunnei 60e79d50f8
Merge pull request #7243 from lat9nq/nvdrv-warn
gl_device: Force GLASM on NVIDIA drivers 495-496
4 years ago
Morph 3f8d74dec1 CMakeLists: Document the /GT compile option 4 years ago
Morph cd49907248
Merge pull request #7007 from FernandoS27/intel-options
Build System: Build with JCC Erratum Mitigation
4 years ago
Morph baf599c1d3 file_sys: control_metadata: Add BrazilianPortuguese 4 years ago
Morph e4052a1dab ns: language: Add BrazilianPortuguese to ApplicationLanguage
It seems that Nintendo finally filled that last empty spot in ApplicationLanguage for a total of 16 supported languages.
4 years ago
Ameer J fac2e073a1
Merge pull request #7223 from Moonlacer/geometry_property_removal
per_game_ui: Geometry Property Removal and Minor Rewording to the Per Game UI
4 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.
4 years ago
Morph 1b5c37fa29 hle/result: Declare copy/move constructor/assignment as noexcept
While we're at it, we can also declare these copy/move constructor/assignment as noexcept.
4 years ago
Morph 189927c237 hle/result: Add move assignment operator in ResultVal
ResultVal was missing a move assignment operator, add it.
4 years ago
Morph 1ff9ad4e7c hle/result: Remove cv-qualifiers from Arg in MakeResult
This removes the const qualification for types when MakeResult(arg) is used in a const member function, allowing for automatic deduction and removing the need to manually specify the non-const type as the template argument.
4 years ago
Ameer J 40c8a8c627
Merge pull request #7186 from MightyCreak/fix-crash-configure-window
ui: fix crash when closing configure window
4 years ago
Feng Chen dd29285e35 Fix dangling kernel objects when exiting 4 years ago
Feng Chen 052017e189 Revert PR7009 4 years ago
Feng Chen a8b0104923 Fix memory leak 4 years ago
vonchenplus 36c21ff6cb Support gl_BackSecondaryColor attribute 4 years ago
vonchenplus 92bebecf46 Support gl_FrontSecondaryColor attribute 4 years ago
vonchenplus b04c7b6343 Support gl_BackColor attribute 4 years ago
Moonlacer 1665e2d2a6 Geometry property removal and rewording 4 years ago
Morph 63ed7d9af7
Merge pull request #7193 from FernandoS27/idle
SVC: Implement svcInfo:IdleTickCount
4 years ago
Ameer J 3c8c17be4d
Merge pull request #7218 from bylaws/aswdqdsam
Fixup channel submit IOCTL syncpoint parameters
4 years ago
Ameer J aed5878dd3
Merge pull request #7222 from FernandoS27/fix-indixed-textures-again
TexturePass: Fix clamping  of images as this allowed negative indices.
4 years ago
Fernando Sahmkow e5291e2031 TexturePass: Fix clamping of images as this allowed negative indices. 4 years ago
Andrew Strelsky 31b9797296
Fixed ARM_Dynamic_64 Step 4 years ago
Fernando S 5299554bb0
Merge pull request #7206 from vonchenplus/fix_vulkan_viewport_issue
Vulkan Rasterizer: Fix viewport issue
4 years ago
Billy Laws 2dbef58eeb Fixup channel submit IOCTL syncpoint parameters
The current arguments worked by happenstance as games only ever submit
one syncpoint and request one fence back, if a game were to do something
other than this then the arguments would've been parsed entirely wrong.
4 years ago
Ameer J 494e34af6a
Merge pull request #7070 from FernandoS27/want-you-bad
Vulkan Rasterizer: Correct DepthBias/PolygonOffset on Vulkan.
4 years ago
Fernando Sahmkow ad8afaf1ef Vulran Rasterizer: address feedback. 4 years ago
Fernando S 33e92c15eb
Revert "input_common: Fix data race on GC implementation" 4 years ago
Fernando S 7461196839
Merge pull request #6515 from german77/gc_thread_safe
input_common: Fix data race on GC implementation
4 years ago
Feng Chen b769bea61b Fix vulkan viewport issue 4 years ago
ameerj 1841f63a40 common/alignment: Fix VS2022 compilation
VS2022 seems to introduce an optimization when moving vectors to check for equality of the element values. AlignmentAllocator needed to overload the equality operator to fix compilation of its usage in vector moving.
4 years ago
ameerj b01aa721ff input_common: Fix VS2022 compilation errors 4 years ago
bunnei c82318c9cb
Merge pull request #7197 from Moonlacer/tas_help_link
tas_ui: Add a Help Link to the TAS Page on the yuzu Website, Along with Minor Grammar Changes
4 years ago
bunnei c871320760
Merge pull request #7198 from ameerj/settings-chrono
settings: Remove std::chrono usage
4 years ago
ameerj 06894b0711 emit_spirv_image: Fix depth image implicit lod sample in compute
Ensures all drivers behave the same way in this case.
4 years ago
bunnei 4e81b799f1
Merge pull request #7173 from Morph1984/invalidate-unmap
KPageTable: Perform ranged invalidation when unmapping code memory
4 years ago
ameerj ef811c6425 settings: Remove std::chrono usage
Alleviates the dependency on chrono for all files that include settings.h
4 years ago
Moonlacer abe6d39b1a add_link
remove_accident

fix_whoopsie
4 years ago
Ameer J 3791c7ca82
Merge pull request #7077 from FernandoS27/face-down
A series of fixes to queries and indexed samplers.
4 years ago
Fernando Sahmkow 3f4444b552 Shader Compiler: avoid overflowed indices on indixed samplers. 4 years ago
Ameer J 5b735a4c9d
Merge pull request #7127 from FernandoS27/i-saw-a-wabbit
A few fixes on Vulkan and Rasterizer Caching
4 years ago
Mai M 28d343d288
Merge pull request #7195 from MightyCreak/fix-warning-typo
main: fix typo in warning message
4 years ago
Fernando Sahmkow da6673e79a SVC: Implement svcInfo:IdleTickCount
Used by the Witcher 3
4 years ago
Romain Failliot 992f325662 main: fix typo in warning message 4 years ago
Morph d4c79a0404 main: Add missing make_unique for ui 4 years ago
bunnei aef3ae1cb9
Merge pull request #7187 from FernandoS27/boy-i-say-boy
NVHost_Ctrl: Force wait if the gpu falls behind too long.
4 years ago
Morph 41b4047536
Merge pull request #7188 from Morph1984/web-applet-include
qt_web_browser: Add missing QApplication include
4 years ago
Feng Chen de81571289
service/vi: Stub IHOSBinderDriver::TransactParcel GetBufferHistory (#7184) 4 years ago
Morph 2b622411fd qt_web_browser: Add missing QApplication include 4 years ago
Fernando Sahmkow 53cf91d151 NvHost/Core: Address Feedback. 4 years ago
FernandoS27 198c6ad0d7 Suspend temporally 4 years ago
FernandoS27 7dca0bc11d NVHost_Ctrl: Force wait if the gpu falls behind too long. 4 years ago
Romain Failliot 427ce8dcef ui: fix crash when closing configure window
This crash happens 100% of the time (on Linux at least), you just need
to open the configure window and click OK.

It seems to happen when the tabs are destroyed and once all the tabs are
destroyed, a final signal is sent with `index == -1`. So `debug_tab_tab`
doesn't exist anymore when this happens, so the crash.
4 years ago
Morph 5c6ca597c5 bootmanager: Forward declare System and SystemResultStatus 4 years ago
Morph f0dc07dbac yuzu: Construct system in GMainWindow 4 years ago
Morph 17763a44d5 core: Move ResultStatus outside of System
Allows it to be a forward declaration in other header files.
4 years ago
Morph 218ebc1fe8 yuzu_cmd: Remove remaining static system instances 4 years ago
Morph b6719094e6 core: Remove static system instance 4 years ago
Mai M 764369f4c7
Merge pull request #7172 from Morph1984/out-of-bounds
string_util: Prevent out of bounds access in u16string_view buffer
4 years ago
Mai M d5c4af2d5b
Merge pull request #7174 from MightyCreak/hide-cursor-by-default
Check "Hide mouse on inactivity" by default
4 years ago
Mai M 5b7b7276d5
Merge pull request #7185 from Morph1984/make_unique_ui
yuzu: Use make_unique instead of operator new for constructing ui
4 years ago
Romain Failliot ecef109162 Hide mouse cursor by default 4 years ago
Creak bad122b195
main: Slightly refactor NCA entry installation in InstallNCA (#7181)
* main: Slightly refactor NCA entry installation in InstallNCA

Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
4 years ago
Morph 86908d569e main: Use std::unique_ptr for ui 4 years ago
Morph ab441fb009 configuration: Use std::make_unique instead of operator new for ui 4 years ago
lat9nq 851fe91b69
config: Read network_interface
Let's yuzu_cmd use a network interface. Also adds it to the default ini.
4 years ago
Moonlacer c68ce25a14
settings_ui: Better NVDEC Description For Each Video Rendering Option (#7165)
* better_description

* Revert "better_description"

This reverts commit 3a152a6ba6f2d6e02530b69a8194e4db302c8acd.

* better_nvdec_wording

* best_performance

* update_word_stuff

* another_update
4 years ago
Morph b02d662980
Merge pull request #6774 from lat9nq/remove-global-yuzu
yuzu qt: Remove global system instances
4 years ago
Morph 0d6057b2fa string_util: Make use of std::string_view and add bounds checking
Makes use of std::string_view in StringFromFixedZeroTerminatedBuffer and add bounds checking
4 years ago
Morph 3ffff78a27 string_util: Prevent out of bounds access in u16string_view buffer 4 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
4 years ago
bunnei 2643752f93
Merge pull request #7142 from german77/sdl_range
input_common/sdl: Fix joystick range
4 years ago
bunnei 9f0f827db4
Merge pull request #7158 from ameerj/window-900p
main: Add option to reset window size to 900p
4 years ago
Morph 50384e2619 KPageTable: Perform ranged invalidation when unmapping code memory
Co-Authored-By: Fernando S. <1731197+FernandoS27@users.noreply.github.com>
4 years ago
Ameer J a39760b947
Merge pull request #7147 from behunin/patch-1
Update configure_tas.ui
4 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
4 years ago
Creak 0b8a7ca213
common/fs/path_util: Slightly refactor PathManagerImpl's constructor
This moves all GenerateYuzuPath calls outside of the platofrm-specific #ifdefs, replacing them with assignments to paths.
4 years ago