Commit Graph

17748 Commits (510caeefb3e3bf4b365f08a97cdfeffaaf8a80ce)

Author SHA1 Message Date
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
ReinUsesLisp 1672e9ba09 shader: Fix resolution scaling pass 3 years ago
ReinUsesLisp fb924ea85c shader: Add resolution down factor opcode 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 360e897ccd ShaderDecompiler: Add initial support for rescaling. 3 years ago
Fernando Sahmkow 37ef9c9130 Settings: Add resolution scaling to settings. 3 years ago
Fernando Sahmkow 22f4b290b6 VideoCore: Initial Setup for the Resolution Scaler. 3 years ago
Fernando S 720970c4c1
Merge pull request #7326 from ameerj/vp8
codecs: Implement VP8 video decoding support
3 years ago
bunnei 30442d8a89
Merge pull request #7260 from vonchenplus/spirv_support_legacy_attribute_v2
shader: Spirv support legacy attribute v2
3 years ago
bunnei 0eacc362dd
Merge pull request #7272 from behunin/the-courteous-logger
Logging: Impl refactor
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
OatmealDome 50acc0da20 program_metadata: Add default ThreadInfo kernel capability 3 years ago
Morph 3af2117c88 applets/swkbd: Fix text check message encoding
The text check message can be encoded in UTF-8.
3 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
3 years ago
Narr the Reg ced1302975
service/pctl: Stub EndFreeCommunication
- Used by Just Dance 2022
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 3a71ff44f8
Merge pull request #7279 from Morph1984/system-get-program-id
general: Get the current process program id directly from the system
3 years ago
Morph 2ceb514a39
Merge pull request #7289 from ameerj/perf-stat-shutdown
core: Reorder perf_stats destruction order on Shutdown
3 years ago
ameerj 0cf78a34ba core: Reorder perf_stats destruction order on Shutdown
Avoids the gpu_core using perf_stats after it's been freed.
3 years ago
Fernando S 3ceefc64f1
Merge pull request #7287 from Morph1984/stub-aoc
service: aoc: Stub more 13.x functions used by Animal Crossing
3 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.
3 years ago
Morph 64275dfbf4 general: Rename GetTitleID to GetProgramID 3 years ago
bunnei f178a8ef0c
Merge pull request #7282 from ameerj/core-includes
core: Reduce unused header includes
3 years ago
Morph 21c1316503 service: aoc: Stub NotifyUnmountAddOnContent
Used by Animal Crossing: New Horizons v2.0.0 DLC
3 years ago
Morph ef427e4cb0 service: aoc: Stub NotifyMountAddOnContent and NotifyMountAddOnContent
Used by Animal Crossing: New Horizons v2.0.0 DLC
3 years ago
german77 bee6b71553 service/acc: Rename Unknown160 to InitializeApplicationInfoV2 3 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.
3 years ago
ameerj b275f2e475 core: Fix transitive include build errors 3 years ago
ameerj 7c4b6aab2e core: Remove unused includes 3 years ago
Feng Chen f2a4204245 Simply legacy attribute implement 3 years ago
Morph b871388a31 svc: Correct WaitSynchronization num_handles param type
num_handles is a s32
3 years ago
bunnei 7ce29ea74e
Merge pull request #7262 from FernandoS27/Buffalo-buffalo-Buffalo-buffalo-buffalo
ShaderCache: Order Phi Arguments from farthest away to nearest.
3 years ago
Mai M 43ba9db890
Merge pull request #7265 from Morph1984/gl-rasterizer-unused-include
gl_rasterizer: Remove unused includes
3 years ago
Morph cb09ea0f01 general: Remove MakeResult helpers
This is made obsolete by the presence of implicit constructors.
3 years ago
Morph 98b351758c hle/result: Amend ResultVal documentation
This amends the documentation slightly to reflect the updated interface.
3 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.
3 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
3 years ago
bunnei b118fa8698
Merge pull request #7227 from vonchenplus/fix_memory_leak_v2
Fix memory leak v2
3 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.
3 years ago
Fernando Sahmkow 2d4bbd83e6 Shader Cahe: Fix Phi Nodes on GLASM. 3 years ago
Fernando Sahmkow 194579bc4f ShaderCache: Fix Phi Nodes Type on OGL. 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
Fernando Sahmkow c50ad56bf5 ShaderCache: Order Phi Arguments from farthest away to nearest. 3 years ago
vonchenplus 49f9a44235 Support gl_FogFragCoord attribute 3 years ago
bunnei 99ba26460d
Merge pull request #7246 from german77/userimage
profile_manager: Resize any image bigger than 256p
3 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
3 years ago
bunnei a3a353edf2
Merge pull request #6702 from lat9nq/disable-screensaver
yuzu_cmd, yuzu qt: Use SDL to disable the screen saver
3 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
3 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.
3 years ago
bunnei 92159b210e
Merge pull request #7240 from Morph1984/resultval-remove-cv
hle/result: Remove cv-qualifiers from Arg in MakeResult
3 years ago
german77 f503dbf071 profile_manager: Resize any image bigger than 256p 3 years ago
bunnei c1b199bd21
Merge pull request #7241 from Morph1984/resultval-move-assignment
hle/result: Add move assignment operator in ResultVal
3 years ago
bunnei 60e79d50f8
Merge pull request #7243 from lat9nq/nvdrv-warn
gl_device: Force GLASM on NVIDIA drivers 495-496
3 years ago
Morph 3f8d74dec1 CMakeLists: Document the /GT compile option 3 years ago
Morph cd49907248
Merge pull request #7007 from FernandoS27/intel-options
Build System: Build with JCC Erratum Mitigation
3 years ago
Morph baf599c1d3 file_sys: control_metadata: Add BrazilianPortuguese 3 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.
3 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
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
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.
3 years ago
Morph 189927c237 hle/result: Add move assignment operator in ResultVal
ResultVal was missing a move assignment operator, add it.
3 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.
3 years ago
Ameer J 40c8a8c627
Merge pull request #7186 from MightyCreak/fix-crash-configure-window
ui: fix crash when closing configure window
3 years ago
Feng Chen dd29285e35 Fix dangling kernel objects when exiting 3 years ago
Feng Chen 052017e189 Revert PR7009 3 years ago
Feng Chen a8b0104923 Fix memory leak 3 years ago
vonchenplus 36c21ff6cb Support gl_BackSecondaryColor attribute 3 years ago
vonchenplus 92bebecf46 Support gl_FrontSecondaryColor attribute 3 years ago
vonchenplus b04c7b6343 Support gl_BackColor attribute 3 years ago
Moonlacer 1665e2d2a6 Geometry property removal and rewording 3 years ago
Morph 63ed7d9af7
Merge pull request #7193 from FernandoS27/idle
SVC: Implement svcInfo:IdleTickCount
3 years ago
Ameer J 3c8c17be4d
Merge pull request #7218 from bylaws/aswdqdsam
Fixup channel submit IOCTL syncpoint parameters
3 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.
3 years ago
Fernando Sahmkow e5291e2031 TexturePass: Fix clamping of images as this allowed negative indices. 3 years ago
Andrew Strelsky 31b9797296
Fixed ARM_Dynamic_64 Step 3 years ago
Fernando S 5299554bb0
Merge pull request #7206 from vonchenplus/fix_vulkan_viewport_issue
Vulkan Rasterizer: Fix viewport issue
3 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.
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
Fernando S 33e92c15eb
Revert "input_common: Fix data race on GC implementation" 3 years ago
Fernando S 7461196839
Merge pull request #6515 from german77/gc_thread_safe
input_common: Fix data race on GC implementation
3 years ago
Feng Chen b769bea61b Fix vulkan viewport issue 3 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.
3 years ago
ameerj b01aa721ff input_common: Fix VS2022 compilation errors 3 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
3 years ago
bunnei c871320760
Merge pull request #7198 from ameerj/settings-chrono
settings: Remove std::chrono usage
3 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.
3 years ago
bunnei 4e81b799f1
Merge pull request #7173 from Morph1984/invalidate-unmap
KPageTable: Perform ranged invalidation when unmapping code memory
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
Moonlacer abe6d39b1a add_link
remove_accident

fix_whoopsie
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
Fernando Sahmkow 3f4444b552 Shader Compiler: avoid overflowed indices on indixed 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
Mai M 28d343d288
Merge pull request #7195 from MightyCreak/fix-warning-typo
main: fix typo in warning message
3 years ago
Fernando Sahmkow da6673e79a SVC: Implement svcInfo:IdleTickCount
Used by the Witcher 3
3 years ago
Romain Failliot 992f325662 main: fix typo in warning message 3 years ago
Morph d4c79a0404 main: Add missing make_unique for ui 3 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.
3 years ago
Morph 41b4047536
Merge pull request #7188 from Morph1984/web-applet-include
qt_web_browser: Add missing QApplication include
3 years ago
Feng Chen de81571289
service/vi: Stub IHOSBinderDriver::TransactParcel GetBufferHistory (#7184) 3 years ago
Morph 2b622411fd qt_web_browser: Add missing QApplication include 3 years ago
Fernando Sahmkow 53cf91d151 NvHost/Core: Address Feedback. 3 years ago
FernandoS27 198c6ad0d7 Suspend temporally 3 years ago
FernandoS27 7dca0bc11d NVHost_Ctrl: Force wait if the gpu falls behind too long. 3 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.
3 years ago
Morph 5c6ca597c5 bootmanager: Forward declare System and SystemResultStatus 3 years ago
Morph f0dc07dbac yuzu: Construct system in GMainWindow 3 years ago
Morph 17763a44d5 core: Move ResultStatus outside of System
Allows it to be a forward declaration in other header files.
3 years ago
Morph 218ebc1fe8 yuzu_cmd: Remove remaining static system instances 3 years ago
Morph b6719094e6 core: Remove static system instance 3 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
3 years ago
Mai M d5c4af2d5b
Merge pull request #7174 from MightyCreak/hide-cursor-by-default
Check "Hide mouse on inactivity" by default
3 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
3 years ago
Romain Failliot ecef109162 Hide mouse cursor by default 3 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>
3 years ago
Morph 86908d569e main: Use std::unique_ptr for ui 3 years ago
Morph ab441fb009 configuration: Use std::make_unique instead of operator new for ui 3 years ago
lat9nq 851fe91b69
config: Read network_interface
Let's yuzu_cmd use a network interface. Also adds it to the default ini.
3 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
3 years ago
Morph b02d662980
Merge pull request #6774 from lat9nq/remove-global-yuzu
yuzu qt: Remove global system instances
3 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
3 years ago
Morph 3ffff78a27 string_util: Prevent out of bounds access in u16string_view buffer 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
bunnei 2643752f93
Merge pull request #7142 from german77/sdl_range
input_common/sdl: Fix joystick range
3 years ago
bunnei 9f0f827db4
Merge pull request #7158 from ameerj/window-900p
main: Add option to reset window size to 900p
3 years ago
Morph 50384e2619 KPageTable: Perform ranged invalidation when unmapping code memory
Co-Authored-By: Fernando S. <1731197+FernandoS27@users.noreply.github.com>
3 years ago
Ameer J a39760b947
Merge pull request #7147 from behunin/patch-1
Update configure_tas.ui
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
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.
3 years ago
Romain Failliot 39b3c9022d Create local variables for mouse and wheel positions 3 years ago
Romain Failliot 818651909f Fix a few warnings
- configure_input_player_widget.cpp: always better to use `const auto &`
  whenever possible
- profiler.cpp: `ev->pos()` is deprecated, replace with
  `ev->position()`, which returns floats, thus the addition of
  `.toPoint()` (same as what's happening in `pos()`)
- game_list.cpp: `QString::SplitBehavior` is deprecate, use `Qt::`
  namespace instead
3 years ago
Morph 97452b9558
Merge pull request #7110 from vonchenplus/fix_extract_offline_romefs_error
applets/web: Fallback to loader to get the manual romfs if none is found
3 years ago
german77 8212a864ca input_common/sdl: Fix joystick range 3 years ago
ameerj 5c829c7e4e main: Add option to reset window size to 900p 3 years ago