Commit Graph

17734 Commits (c2ca55c9d576940cfb37ba8569b1656b72c65569)

Author SHA1 Message Date
Morph 41b4047536
Merge pull request #7188 from Morph1984/web-applet-include
qt_web_browser: Add missing QApplication include
5 years ago
Feng Chen de81571289
service/vi: Stub IHOSBinderDriver::TransactParcel GetBufferHistory (#7184) 5 years ago
Morph 2b622411fd qt_web_browser: Add missing QApplication include 5 years ago
Fernando Sahmkow 53cf91d151 NvHost/Core: Address Feedback. 5 years ago
FernandoS27 198c6ad0d7 Suspend temporally 5 years ago
FernandoS27 7dca0bc11d NVHost_Ctrl: Force wait if the gpu falls behind too long. 5 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.
5 years ago
Morph 5c6ca597c5 bootmanager: Forward declare System and SystemResultStatus 5 years ago
Morph f0dc07dbac yuzu: Construct system in GMainWindow 5 years ago
Morph 17763a44d5 core: Move ResultStatus outside of System
Allows it to be a forward declaration in other header files.
5 years ago
Morph 218ebc1fe8 yuzu_cmd: Remove remaining static system instances 5 years ago
Morph b6719094e6 core: Remove static system instance 5 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
5 years ago
Mai M d5c4af2d5b
Merge pull request #7174 from MightyCreak/hide-cursor-by-default
Check "Hide mouse on inactivity" by default
5 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
5 years ago
Romain Failliot ecef109162 Hide mouse cursor by default 5 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>
5 years ago
Morph 86908d569e main: Use std::unique_ptr for ui 5 years ago
Morph ab441fb009 configuration: Use std::make_unique instead of operator new for ui 5 years ago
lat9nq 851fe91b69
config: Read network_interface
Let's yuzu_cmd use a network interface. Also adds it to the default ini.
5 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
5 years ago
Morph b02d662980
Merge pull request #6774 from lat9nq/remove-global-yuzu
yuzu qt: Remove global system instances
5 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
5 years ago
Morph 3ffff78a27 string_util: Prevent out of bounds access in u16string_view buffer 5 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
5 years ago
bunnei 2643752f93
Merge pull request #7142 from german77/sdl_range
input_common/sdl: Fix joystick range
5 years ago
bunnei 9f0f827db4
Merge pull request #7158 from ameerj/window-900p
main: Add option to reset window size to 900p
5 years ago
Morph 50384e2619 KPageTable: Perform ranged invalidation when unmapping code memory
Co-Authored-By: Fernando S. <1731197+FernandoS27@users.noreply.github.com>
5 years ago
Ameer J a39760b947
Merge pull request #7147 from behunin/patch-1
Update configure_tas.ui
5 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
5 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.
5 years ago
Romain Failliot 39b3c9022d Create local variables for mouse and wheel positions 5 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
5 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
5 years ago
german77 8212a864ca input_common/sdl: Fix joystick range 5 years ago
ameerj 5c829c7e4e main: Add option to reset window size to 900p 5 years ago
Feng Chen 0ee2185c59 applets/web: Fallback to loader to get the manual romfs if none is found 5 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.
5 years ago
Feng Chen ba8be75037 h264: Use max allowed max_num_ref_frames when using CPU decoding 5 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.
5 years ago
Mai M 39cd6306e6
Merge pull request #7138 from ameerj/vic-fmt
vic: Implement RGBX8 video frame format
5 years ago
Levi Behunin 54ae8d1649
Update configure_tas.ui
Remove the geometry property again(7045) after 7090 re-added.
5 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.
5 years ago
ameerj 5aae61775f vic: Refactor frame writing methods 5 years ago
lat9nq b6894bfc5b discord_impl: Remove global system instances 5 years ago
lat9nq 4ce53ffe6a game_list: Remove global instances of Core::System 5 years ago
lat9nq 493905665c configuration: Add const qualifier where able 5 years ago
lat9nq fb66a455c4 yuzu qt: Remove global system instances from config, WaitTree, main 5 years ago
Morph bea7824bd1 kernel: hle_ipc: Foward declare KAutoObject 5 years ago
Morph 7bb2dd75cd service: Reduce header include overhead 5 years ago
ameerj 899fdb9c44 vic: Implement RGBX frame format 5 years ago
Fernando S f84328934f
Merge pull request #7118 from ameerj/vc-gpu-impl
gpu: Migrate implementation to the cpp file
5 years ago
bunnei 8fad7dc248
Merge pull request #7090 from Moonlacer/tas_spacing_addition
(Minor Change) Hint (?) Button Removal and Spacing Change to the TAS Window
5 years ago
bunnei 5b2fa8dd41
Merge pull request #7115 from ameerj/log-compile
common/logging: Reduce dependent header include overhead
5 years ago
bunnei b869439969
Merge pull request #7103 from Morph1984/service-ctx-event
service: Replace all service event creation with ServiceContext::CreateEvent
5 years ago
bunnei 158a693111
Merge pull request #7101 from ameerj/vk-tess-topology
vk_graphics_pipeline: Force patch list topology when tessellation is used
5 years ago
Fernando Sahmkow 0498669b4b Vulkan: Fix failing barrier on refresh. 5 years ago
FernandoS27 bb8bf740e9 RasterizerInterface: Correct size of CPU addresses to cache. 5 years ago
FernandoS27 7f4de3466a Vulkan: Fix the master Semaphore 5 years ago
bunnei 1d829150ee
Merge pull request #7107 from astrelsky/iob_fix
prevent access violation from iob in Memory::IsValidVirtualAddress
5 years ago
Ameer J 01f79d638f
Merge pull request #7091 from vonchenplus/fix_memroy_leak
core: Fix memory leak
5 years ago
bunnei e209fff374
Merge pull request #7111 from lat9nq/no-title-bar-version
main: Don't add an extra separator when the title version is absent
5 years ago
bunnei 4a77ceb151
Merge pull request #7113 from Morph1984/no-log-ip-addr
network: Do not log IP address
5 years ago
ameerj 71e19153ef nvflinger: Use jthread and stop_token for VSync thread
Avoids a destruction data race that may occur on the vsync thread
5 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.
5 years ago
ameerj 427bf76e62 gpu: Migrate implementation to the cpp file 5 years ago
bunnei 21ed944ff9
Merge pull request #6979 from german77/joycon_name
input_common: Add alternative string for joycons
5 years ago
Morph 2f5808b7ff service: am: Make use of Exit to exit the currently running application
This also moves the call to the end to ensure services are properly destructed on exit.
5 years ago
Morph 282bdfd1bf yuzu: main: Register a callback for Exit 5 years ago
Morph d8467ca6c0 core: Add Exit and ExitCallback
This allows ISelfController::Exit to stop the currently running application. This is typically used by homebrew to exit back to the homebrew menu after calling consoleExit with libnx.
5 years ago
Morph fadcee14f8 service: Replace service event creation with ServiceContext::CreateEvent
The service context helps to manage all created events and allows us to close them upon destruction.
5 years ago
Morph 219d0ba978 network: Do not log IP address
Logging this may be a privacy concern for some users.
5 years ago
bunnei 3a33519598
Merge pull request #7102 from Morph1984/remove-boxcat
Remove Boxcat BCAT backend
5 years ago
ameerj 579f4ea4bd common/logging: Reduce scope of fmt include 5 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
5 years ago
bunnei c3784b2a08
Merge pull request #7075 from v1993/power-of-tea
applets: Use subdirectory of main data directory for QtWebEngine storage
5 years ago
lat9nq 596323f89f main: Don't add an extra separator when the title version is absent
Some titles, such as homebrew, do not have any version string. Because
yuzu hard codes the title bar string assuming a version string is
preset, booting homebrew causes yuzu to add an extra separator with no
content between.

This uses a lambda expression to prevent that from happening.
5 years ago
bunnei 8bd5742349
Merge pull request #7061 from ameerj/dma-buffer-misc
buffer_cache, maxwell_dma: Minor refactoring and code fixes
5 years ago
Mai M b9251155f8
Merge pull request #7104 from Morph1984/style
style: Remove extra space preceding the :: operator
5 years ago
Andrew Strelsky 4ce0a650d1
prevent access violation from iob in Memory::IsValidVirtualAddress 5 years ago
bunnei 91341b421d
Merge pull request #7036 from ameerj/ogl-bgr-v2
gl_texture_cache: Unify BGR copy passes using PBOs
5 years ago
Andrew Strelsky 3fc7aceea7
Fixed invalid iterator usage 5 years ago
Morph e29f3b87f1 style: Remove extra space preceding the :: operator 5 years ago
Morph 839547dc90 CMakeLists: Remove BoxCat build option 5 years ago
Morph 8af9f3216e settings: Remove BCAT settings 5 years ago
Morph 673d37a7c2 configure_network: Remove BCAT 5 years ago
Morph 4acec5283e service: bcat: Remove BoxCat BCAT implementation
The current implementation of BoxCat as it stands is non-functional due to the reliance on a server providing BCAT files.
This implementation will eventually be replaced with one that allows the use of local BCAT files dumped from a Nintendo Switch.
5 years ago
Moonlacer d09e618bd2 configure_tas: Remove help button from dialog window 5 years ago
Moonlacer e55affe264 configure_tas: Ensure dialog buttons always stay at the bottom
Previously, the dialog buttons would be floating in-place when the dialog is stretched downwards.
This change ensures that the dialog buttons always stay at the bottom of the window.
5 years ago
Morph 5f6cd32c9e externals: Remove libzip 5 years ago
Morph 616d0236f5 file_sys: Remove vfs_libzip 5 years ago
Morph 781c1d8df8
Merge pull request #7018 from lat9nq/splat-stubs
audin_u: stub Start, RegisterBufferEvent, AppendAudioInBufferAuto
5 years ago
Feng Chen 5fbfc4c19e Fix KShareMemory object leak 5 years ago
Ameer J fba301155b
Merge pull request #7042 from v1993/patch-7
Hide XInput bypass on non-Windows OSes
5 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.
5 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
5 years ago
german77 bc4b4e3f56 service/es: Update to 13.0.0 5 years ago
german77 d780eab357 service/npns: Update to 13.0.0 5 years ago
german77 b0e83f949e service/vi: Update to 13.0.0 5 years ago
german77 321c64a122 service/am: Update to 13.0.0 5 years ago
german77 d103e2daf9 service/audio: Update to 13.0.0 5 years ago
german77 e401c77351 service/hid: Update to 13.0.0 5 years ago
german77 4b5f0af3fd service/btdrv: Update to 13.0.0 5 years ago
german77 f5b41068e6 service/usb: Update to 13.0.0 5 years ago
Morph 5114819b6b
Merge pull request #7078 from ameerj/vc-jthread-fixes
video_core: Fix jthread related hangs when stopping emulation
5 years ago
Feng Chen 7cd43b139a Fix KScopedAutoObject object leak when SendSyncRequest 5 years ago
Morph 7dd7c54add service: bsd: Stub Read
- Used by Diablo II: Resurrected
5 years ago
Morph 06f22c3d28 service: bsd: Implement Read
- Used by Diablo II: Resurrected
5 years ago
ameerj 73666fb262 general: Update style to clang-format-12 5 years ago
Morph c8512839d7
Merge pull request #7069 from lioncash/uuid
common/uuid: Add validity checking functions to interface
5 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.
5 years ago
ameerj 1e1ecca691 vk_texture_cache: Disable cube compatibility flag on non-mesa AMD GCN4 and earlier
Fixes rainbow textures on BOTW.
5 years ago
Fernando Sahmkow d702b393a4 Vulkan Query Cache: make sure to wait for the query result. 5 years ago
Fernando Sahmkow 8fdb51ab46 QueryCache: Flush queries in order of running. 5 years ago
bunnei 326a449ef0
Merge pull request #7068 from behunin/patch-3
Debug Config Ui: Clean-up and nits
5 years ago
v1993 3e07655b1b
Use subdirectory of main data directory for QtWebEngine storage
Previously, an unrelated directory was used for this. Keep everything together for consistency.
5 years ago
bunnei 17bf40f405
Merge pull request #7045 from behunin/patch-1
Tas configure ui nits
5 years ago
Fernando Sahmkow 60a3980561 Vulkan Rasterizer: Correct DepthBias/PolygonOffset on Vulkan. 5 years ago
Lioncash 091e141142 core/profile_select: Avoid uninitialized read in SelectProfile()
The default constructor of UUID doesn't initialize its data members, so
we need to directly initialize it to be invalid.
5 years ago
Lioncash 40314cc586 common/uuid: Add validity checking functions to interface
Given we have a function to invalidate, we should also have ones to
query the validity. Also makes the code more straightforward to read.
5 years ago
Levi Behunin 2b3c9c61db Clean-up and nits
Remove redundent label, rearange checkboxs to keep same 3 per column layout, remove unneeded properties.
5 years ago
Levi Behunin 77e327dd1a Clean-up
Numerize names, remove unneeded properties and spacer.
5 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
5 years ago
Ameer J cd973d6037
Merge pull request #7017 from FernandoS27/i-am-barbie-girl
Spir-V: Rescale the frag depth to 0,1 mode when -1,1 mode is used in Vulkan.
5 years ago
ameerj 24049591f6 maxwell_dma: Minor refactoring 5 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.
5 years ago
bunnei a9c3619d26
Merge pull request #7019 from ameerj/videocore-jthread
videocore: Use std::jthread for worker threads
5 years ago
Levi Behunin ad85689417
Tas configure ui nits
Text looked cramped on my pc (Ubuntu 21.04). Re-flowed text as well for nicer read.
5 years ago
german77 75d8ec1e9f UI: Relocate tas menu and add brief description 5 years ago
german77 5401cf6eb5 input_common/tas: new update method 5 years ago
german77 33a1d790e8 input_common/tas: Document the main class 5 years ago
german77 e6c4bf52f0 input_common/tas: Add swap controller 5 years ago
german77 9bb6580d89 input_common/tas: overwrite file dialog 5 years ago
MonsterDruide1 f078b15565 input_common/tas: Fallback to simple update 5 years ago
german77 c01a872c8e config: Move TAS options to it's own menu 5 years ago
MonsterDruide1 4297d2fea2 core: Hacky TAS syncing & load pausing
To keep the TAS inputs synced to the game speed even through lag spikes and loading zones, deeper access is required.

First, the `TAS::UpdateThread` has to be executed exactly once per frame. This is done by connecting it to the service method the game calls to pass parameters to the GPU: `Service::VI::QueueBuffer`.

Second, the loading time of new subareas and/or kingdoms (SMO) can vary. To counteract that, the `CPU_BOOST_MODE` can be detected: In the `APM`-interface, the call to enabling/disabling the boost mode can be caught and forwarded to the TASing system, which can pause the script execution if neccessary and enabled in the settings.
5 years ago
MonsterDruide1 3a7b37238b main: TAS Playback state label
During script playback/recording, the user has to see what happens currently. For that, a new label has been added to the bottom-left corner, always displaying the current state of the TASing system.
5 years ago
MonsterDruide1 f25d6ebc45 settings: File selector & other settings
First of all, TASing requires a script to play back. The user can select the parent directory at `System -> Filesystem`, next to an option to pause TAS during loads: This requires a "hacky" setup deeper in the code and will be added in the last commit.

Also, Hotkeys are being introduced: CTRL+F5 for playback start/stop, CTRL+F6 for re-reading the script and CTRL+F7 for recording a new script.
5 years ago
MonsterDruide1 b42c3ce21d input_common/tas: Base playback & recording system
The base playback system supports up to 8 controllers (specified by `PLAYER_NUMBER` in `tas_input.h`), which all change their inputs simulataneously when `TAS::UpdateThread` is called.

The recording system uses the controller debugger to read the state of the first controller and forwards that data to the TASing system for recording. Currently, this process sadly is not frame-perfect and pixel-accurate.

Co-authored-by: Naii-the-Baf <sfabian200@gmail.com>
Co-authored-by: Narr-the-Reg <juangerman-13@hotmail.com>
5 years ago
bunnei 35f46fc079
Merge pull request #7020 from Moonlacer/remove_audio_stretching
Remove audio stretching
5 years ago
Valeri 738cd1896b
If not on Windows, disable raw input
This way, if someone copies their Windows config to other OS, they won't be stuck without web applet for no apparent reason.
5 years ago
Valeri b54bf126f7
Hide XInput bypass on non-Windows OSes
Follow-up to #6950. This option is a no-op on other OSes and only serves to spread confusion there.
5 years ago
bunnei 6d7801deb7
Merge pull request #6950 from german77/multiplay
input_common: Add advanced setting for 8 player support
5 years ago
bunnei d4ee94165f
Merge pull request #7015 from german77/NotGoodForTerra
ngct: Stub Match
5 years ago
bunnei ff54d9615f
Merge pull request #7011 from ameerj/vk-validation-0x0
vulkan_debug_callback: Ignore InvalidCommandBuffer-VkDescriptorSet errors
5 years ago
ameerj 22162f906b host_shaders: Remove opengl_copy_bgra.comp 5 years ago
ameerj ab808fe7cf gl_texture_cache: Migrate BGRCopyPass from util_shaders
The BGR copies no longer use shaders.
5 years ago
Fernando S a606b1448b
Merge pull request #7027 from ameerj/sorry-amd
vulkan_device: Reorder Float16Int8 declaration
5 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.
5 years ago
ameerj 5601e1cb00 Revert "Merge pull request #7006 from FernandoS27/a-motherfucking-driver"
This reverts commit 62e88d0e74, reversing
changes made to edf3da346f.
5 years ago
bunnei f6d5444293
Merge pull request #7010 from Morph1984/fs-timestamp
vfs: Partially implement GetFileTimeStampRaw
5 years ago
Moonlacer 371feaa635 fix_clang_error 5 years ago
ameerj 7f737b022a util_shaders: Unify BGRA copy passes 5 years ago
Moonlacer 09ab819040 fix_accidental_deletion 5 years ago
Moonlacer 44135b011f remove-audio-stretching-setting 5 years ago
ameerj 84f7e7e91c vk_scheduler: Use std::jthread 5 years ago
ameerj 877cd60b00 gpu: Use std::jthread for async gpu thread 5 years ago
ameerj c2ddda2f51 threadsafe_queue: Add std::stop_token overload to PopWait
Useful for jthreads which make use of the threadsafe queues.
5 years ago
lat9nq 7bc07195c5 audin_u: Return a buffer event in RegisterBufferEvent
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
5 years ago
lat9nq 17b0955f9a audin_u: stub Start, RegisterBufferEvent, AppendAudioInBufferAuto
This also moves IAudioIn's definition to the header.

Required for Splatoon 2 LAN play.
5 years ago
Fernando Sahmkow 13471ddf86 Build System: Build with JCC Erratum Mitigation 5 years ago
Fernando Sahmkow 8984abfc76 Spir-V: Rescale the frag depth to 0,1 mode when -1,1 mode is used in Vulkan. 5 years ago
Narr the Reg b34b3efbb2
ngct: Stub Match
Needed for  Cruis'n Blast
5 years ago
Morph 2df2b3719a renderers: Log total pipeline count 5 years ago
Morph 8d63ebcb64 vfs: Partially implement GetFileTimeStampRaw
Gets rid of homebrew warnings using this func
5 years ago
bunnei 081ccc6441
Merge pull request #7009 from ameerj/main_process_cleanup
core: Destroy main_process during shutdown
5 years ago
ameerj 67f7a6c398 core: Destroy main_process during shutdown
The main_process was never being cleaned up, causing a noticeable memory leak after subsequent launches. This change cleans up the memory during Core Shutdown, mitigating the leak.
5 years ago
ameerj db1c4b125f 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
Morph d86a9b9a4b
Merge pull request #6943 from FernandoS27/omae-wa-mou-shindeiru
Vulkan: Disable VK_EXT_SAMPLER_FILTER_MINMAX in GCN AMD
5 years ago
Fernando Sahmkow 7a712da2b3 Vulkan: Disable VK_EXT_SAMPLER_FILTER_MINMAX in GCN AMD since it's broken. 5 years ago
Morph 62e88d0e74
Merge pull request #7006 from FernandoS27/a-motherfucking-driver
Vulkan: Blacklist Int8Float16 Extension on AMD on driver 21.9.1
5 years ago
Mai M edf3da346f
Merge pull request #7005 from Morph1984/enum-bitwise-shift-ops
common_funcs: Add enum flag bitwise shift operator overloads
5 years ago
Morph fde9b84b21
Merge pull request #6944 from FernandoS27/dear-drunk-me
Vulkan/Descriptors: Increase sets per pool on AMD propietary driver.
5 years ago
Fernando Sahmkow e7c8a0bb23 Vulkan: Blacklist Int8Float16 Extension on AMD on driver 21.9.1 5 years ago
Fernando S 1bb28dfe2c
Merge pull request #7001 from ameerj/wario-fix
vk_rasterizer: Fix dynamic StencilOp updating when two faces are enabled
5 years ago
Fernando Sahmkow e7ca37b1e5 Vulkan/Descriptors: Increase sets per pool on AMFD propietary driver. 5 years ago
Morph 3512cae623 common_funcs: Add enum flag bitwise shift operator overloads
This adds bitwise shift operator overloads (<<, >>, <<=, >>=) in the macro DECLARE_ENUM_FLAG_OPERATORS(type)
5 years ago
Ameer J d180fd7c36
Merge pull request #7000 from Morph1984/create-dir-comment
FS: Mark recursive CreateDirectory as inaccurate and temporary
5 years ago
ameerj 35e5a67a83 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
Mai M e4318d2207
Merge pull request #7002 from ameerj/vk-state-unused
vk_state_tracker: Remove unused function
5 years ago
ameerj 678f73069f 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 8e289ade15 vk_state_tracker: Remove unused function 5 years ago
Morph 727f607e00 FS: Mark recursive CreateDirectory as inaccurate and temporary 5 years ago
Morph 9248442bb2
Merge pull request #6948 from ameerj/amd-warp-fix
shaders: Fix warp instructions on 64-thread warp devices
5 years ago
Morph 4ab549e62a
Merge pull request #6975 from ogniK5377/acc-async-ctx
account: EnsureTokenIdCacheAsync
5 years ago
Morph f0f416e85c
Merge pull request #6974 from ogniK5377/fs-recursive-createdir
FS: Recursively create directories for CreateDirectory
5 years ago
Morph 9907302465
Merge pull request #6997 from ameerj/stop-emulation-confirmation
main: Apply confirm exit setting in exit locked scenarios
5 years ago
Morph 3428232bca
Merge pull request #6992 from german77/brains
hid/am: Stub SetTouchScreenConfiguration and implement GetNotificationStorageChannelEvent
5 years ago
Morph 74030eb427
Merge pull request #6987 from Morph1984/common-error
common: Move error handling functions out of common_funcs
5 years ago
Morph 47b6f522bd
Merge pull request #6986 from Morph1984/version-update
api_version: Update and add AtmosphereTargetFirmware
5 years ago
ameerj 188cf1aed2 main: Apply confirm exit setting in exit locked scenarios
Some titles set an exit lock through HLE, which prompts an exit confirmation when stopping emulation if the system is locked.
This change allows bypassing this confirmation if the setting to confirm exits has been disabled by the user.
5 years ago
Morph e67463df24 shader_environment: Add missing <algorithm> include 5 years ago
Morph 63b4c8f9f7 vk_descriptor_pool: Add missing <algorithm> include 5 years ago
Morph 76abf55f25 slot_vector: Add missing <algorithm> include 5 years ago
Morph 554c46d186 video_core/memory_manager: Add missing <algorithm> include 5 years ago
Morph 6f307f1521 kernel: Add missing <functional> include 5 years ago
Morph 4a6a73e887 file_sys/kernel_executable: Add missing <string> include 5 years ago
Morph ae028ddf22 codec: Add missing <string_view> include 5 years ago
Morph eb1e3f19bb common_funcs: Replace <algorithm> with <iterator> 5 years ago
Morph 290afc00d3 common: Move error handling to error.cpp/h
This allows us to avoid implicitly including <string> every time common_funcs.h is included.
5 years ago
Fernando S be4e192903
Merge pull request #6846 from ameerj/nvdec-gpu-decode
nvdec: Add GPU video decoding for all capable drivers and platforms
5 years ago
Fernando S 82c867164b
Merge pull request #6901 from ameerj/vk-clear-bits
vk_rasterizer: Only clear depth/stencil buffers when specified in attachment aspect mask
5 years ago
Fernando S ec6490f5ad
Merge pull request #6941 from ameerj/swapchain-srgb
vk_swapchain: Prefer linear swapchain format when presenting sRGB images
5 years ago
Fernando S 472aad69db
Merge pull request #6953 from ameerj/anv-semaphore
renderer_vulkan: Wait on present semaphore at queue submit
5 years ago
Fernando S 55854c807d
Merge pull request #6981 from ameerj/nvflinger-hb-format
nvflinger: Use external surface format for framebuffer creation
5 years ago
german77 9bddcdac69 am: Implement GetNotificationStorageChannelEvent 5 years ago
german77 a7bbd37f81 hid: Stub SetTouchScreenConfiguration 5 years ago
german77 5798537ce4 input_common: Enable steam controllers and 8 player support 5 years ago
Morph c9710f6c78 api_version: Update and add AtmosphereTargetFirmware 5 years ago
bunnei 7e9163779d
Merge pull request #6962 from vonchenplus/spirv_support_legacy_attribute
renderer_vulkan: Spirv support glsl  legacy attribute
5 years ago
Chloe 005b0e68db
Addressed issues
Co-authored-by: Mai M. <mathew1800@gmail.com>
5 years ago
Chloe Marcec 543081e4a1 Mark is_complete as atomic 5 years ago
Chloe Marcec 89958e27aa Addressed issues 5 years ago
Fernando S 6b16f7807e
Merge pull request #6980 from vonchenplus/fix_blend_equation_error
Fix blend equation enum error
5 years ago
Ameer J eb1ba45c39
Merge pull request #6971 from bunnei/buffer-queue-kevent
core: hle: service: buffer_queue: Improve management of KEvent.
5 years ago
Feng Chen b1e655f898 Detail adjustment 5 years ago
Feng Chen bbc1800c1b Detail adjustment 5 years ago
Feng Chen e5ca733722 Re-implement get unused location 5 years ago
Feng Chen 9cdf2383e9 Move attribute related definitions to spirv anonymous namespace 5 years ago
german77 4bc3c788f5 input_common: Add alternative string for joycons 5 years ago
ameerj 9e2bf49677 nvflinger: Use external surface format for framebuffer creation
The format member the IGBPBuffer may not always specify the correct desired format. Using the external format member ensures a valid format is provided when creating the framebuffer.

Fixes homebrew using the wrong framebuffer format.
5 years ago
Ameer J ab73787d8f
Merge pull request #6977 from Moonlacer/master
Second part of Golden's PR #6976
5 years ago
Feng Chen 0292374807 Fix blend equation enum error 5 years ago
Moonlacer bdd153bc0d Second part of Golden's PR 5 years ago
Matías Locatti 296fa4e06e
Rename all shader cache references to pipeline cache
After Hades, both OpenGL and Vulkan use a pipeline cache instead of single stages of the graphics pipeline. Renamed the Remove menu entries to match.
5 years ago
Chloe Marcec 9141816b10 address name shadowing with system 5 years ago
Chloe Marcec 4e2aa50cef account: EnsureTokenIdCacheAsync
Closes #2547, #6946
5 years ago
bunnei 51ccc29cdd
Merge pull request #6965 from bunnei/cpu_manager_jthread
core: cpu_manager: Use jthread.
5 years ago
Chloe Marcec 0b891c9245 FS: Recursively create directories for CreateDirectory
Originally we only created the parent directory, this caused issues for creating directories which also contained subdirectories, eg `/Folder1/Folder2`

This allows the ultimate mod manager homebrew to at least boot
5 years ago
Feng Chen 1de9e4e121 Dynamic get unused location 5 years ago
Feng Chen d994466a08 Implement intput and output fixed fnc textures 5 years ago
bunnei e05bfd2f54 core: hle: service: buffer_queue: Improve management of KEvent. 5 years ago
bunnei fb3e9314b9 core: hle: service: nvflinger/vi: Improve management of KEvent. 5 years ago
bunnei 25a97e0139 core: cpu_manager: Use jthread. 5 years ago
Feng Chen a7bbaa4897 Rename parameters 5 years ago
Feng Chen cf26f375ff Fix create GraphicsPipelines crash 5 years ago
ameerj 7d854fbdb0 renderer_vulkan: Wait on present semaphore at queue submit
The present semaphore is being signalled by the call to acquire the
swapchain image. This semaphore is meant to be waited on when rendering
to the swapchain image. Currently it is waited on when presenting, but
moving its usage to be waited on in the command buffer submission allows
for proper usage of this semaphore.

Fixes the device lost when launching titles on the Intel Linux Mesa driver.
5 years ago
Feng Chen 1e2a89d306 Add input/output location 5 years ago
bunnei b2572a56d3
Merge pull request #6900 from ameerj/attr-reorder
structured_control_flow: Add DemoteCombinationPass
5 years ago
german77 c57e0b3b24 common/logging: Add missing include 5 years ago
ameerj d956fb3c7c emit_glsl_warp: Fix shuffle ops for 64-thread warp sizes 5 years ago
ameerj 5b45dfe971 emit_glsl_warp: Fix ballot related ops for 64-thread warp sizes 5 years ago
ameerj a5d9dcf3d9 emit_spirv_warp: Fix shuffle ops for 64-thread warp sizes 5 years ago
ameerj 95213270ef emit_spirv_warp: Fix ballot related ops for 64-thread warp sizes 5 years ago
bunnei 956171f024
Merge pull request #6897 from FernandoS27/pineapple-does-not-belong-in-pizza
Project <tentative title>: Rework Garbage Collection.
5 years ago
Feng Chen 73b11f390e Add colorfront and txtcoord support 5 years ago
bunnei 122eb3cbd0
Merge pull request #6928 from ameerj/spirv-get-frontface
emit_spirv_context_get_set: Fix Get FrontFace return value
5 years ago
bunnei ec19d9594f
Merge pull request #6879 from ameerj/decoder-assert
vk_blit_screen: Fix non-accelerated texture size calculation
5 years ago
ameerj 907dfbea71 structured_control_flow: Skip reordering nested demote branches.
Nested demote branches add complexity with combining the condition if it has not been initialized yet. Skip them for the time being.
5 years ago
ameerj 4fda7f1c82 structured_control_flow: Conditionally invoke demote reorder pass
This is only needed on select drivers when a fragment shader discards/demotes.
5 years ago