Commit Graph

20597 Commits (ec4e2d1fab5ff71a33de1229dab191b679983daa)

Author SHA1 Message Date
bunnei 44b981fd3e
Merge pull request #9662 from abouvier/cmake-llvm
cmake: prefer system llvm library
2 years ago
liamwhite a68af583ea
Merge pull request #9492 from german77/joycon_release
Input_common: Implement custom joycon driver v2
2 years ago
Liam 693cad8e9b kernel: split SetAddressKey into user and kernel variants 2 years ago
Liam 5086380a63 kernel: fix incorrect locking order in suspension 2 years ago
Liam 76a4356e55 spirv: fix multisampled image fetch 2 years ago
Alexandre Bouvier 34b1ea9c19 cmake: prefer system llvm library 2 years ago
liamwhite f99f618d45
Merge pull request #9555 from abouvier/catch2-update
tests: update catch2 to 3.0.1
2 years ago
Liam 31e54c4573 kernel: KPageTable: update 2 years ago
liamwhite 78df1ddce8
Merge pull request #9660 from german77/koreaToTaiwan
yuzu: Fix language comobox crash
2 years ago
liamwhite 9184b6ed2b
Merge pull request #9656 from liamwhite/nsight
nsight_aftermath_tracker: update for latest Aftermath SDK
2 years ago
liamwhite ff2bbc8205
Merge pull request #9637 from SaiKai/repeat_shortcuts
allow volume up/down hotkeys to be repeated
2 years ago
liamwhite 02ac593257
Merge pull request #9617 from german77/off_by_one
core: hid: Fix stick minimum range
2 years ago
liamwhite 9705094a57
Merge pull request #9613 from Kelebek1/demangle
Add stacktrace symbol demangling
2 years ago
german77 a436467152 yuzu: Fix language comobox crash 2 years ago
Liam c6eab71d5c nsight_aftermath_tracker: update for latest Aftermath SDK 2 years ago
bunnei f78068d7bf
Merge pull request #9611 from liamwhite/patch-1
debugger: add host fastmem pointer fetch command
2 years ago
Narr the Reg d9ee7c3297 core: hid: Make use of SCOPE_EXIT and SCOPE_GUARD where applicable 2 years ago
german77 fafa92cfb8 input_common: Fix joycon mappings 2 years ago
german77 340f15d1fa input_common: Address byte review 2 years ago
bunnei 7d77798f0e
Merge pull request #9640 from german77/why_sdl
input_common: reset sdl motion if data is invalid
2 years ago
Narr the Reg 4a307a7b3a core: hid: Only set the polling mode to the correct side 2 years ago
german77 b40aefb39e input_common: Drop Pro controller support from custom driver 2 years ago
german77 d05ea2f3eb input_common: Fix issue where ring and irs are enabled at the same time 2 years ago
Narr the Reg 459fb2b213 input_common: Implement joycon ir camera 2 years ago
german77 5cb437703f yuzu: Add ring controller test button 2 years ago
german77 527dad7097 input_common: Use DriverResult on all engines 2 years ago
german77 e1a3bda4d9 Address review comments 2 years ago
Narr the Reg 1c08d532e0 core: hid: Fix input regressions 2 years ago
german77 6d6b7bdbc3 input_common: Implement joycon nfc 2 years ago
Narr the Reg 6e33731f29 input_common: Add dual joycon support 2 years ago
Narr the Reg 751d36e739 input_common: Add support for joycon ring controller 2 years ago
Narr the Reg f09a023292 input_common: Add support for joycon input reports 2 years ago
Narr the Reg 5676c2e17f input_common: Use calibration from joycon 2 years ago
Narr the Reg 594b2ade6d input_common: Add support for joycon generic functions 2 years ago
Narr the Reg 6aa6301acd input_common: Add joycon low level functions 2 years ago
Narr the Reg 36d5e0a411 service: hid: Set led pattern and fix color detection 2 years ago
Narr the Reg ed5fa10e97 core: hid: Enable pulling color data from controllers 2 years ago
Narr the Reg a4074001fe core: hid: Migrate ring from emulated devices to emulated controller 2 years ago
Narr the Reg 18c9f8eeed yuzu: Update controller colors and button names 2 years ago
Narr the Reg 2d802893e7 input_common: Disable SDL driver with switch controllers 2 years ago
Narr the Reg d80e6c399b input_common: Initial skeleton for custom joycon driver 2 years ago
liamwhite 475370c8f8
Merge pull request #9556 from vonchenplus/draw_texture
video_core: Implement maxwell3d draw texture method
2 years ago
bunnei 9ca3a4758a
Merge pull request #9623 from liamwhite/wp-oops
memory: fix watchpoint use when fastmem is enabled
2 years ago
Jonas Gutenschwager 4653effad8 add volume quicksetting with volume slider 2 years ago
Narr the Reg 67c3c65f7b
Merge pull request #9638 from Kelebek1/firmware4
Demote maxwell3d Firmware4 call log to debug
2 years ago
bunnei 413df0811d
Merge pull request #9619 from liamwhite/timing-spaghetti
timing: wait for completion on unregister
2 years ago
german77 db6cb9cc0a input_common: reset sdl motion if data is invalid 2 years ago
Jonas Gutenschwager 887ed5c0e2 fix format 2 years ago
bunnei 82e2ac6026
Merge pull request #9615 from merryhime/upsample-ob1
audio_core: Corrective fixes to upsampler
2 years ago
bunnei 1551f97950
Merge pull request #9608 from liamwhite/fps
nvnflinger: correct swap interval handling
2 years ago
Kelebek1 5a106cf11e Demote maxwell3d Firmware4 call log to debug 2 years ago
Jonas Gutenschwager 83754e4789 allow volume up/down hotkeys to be repeated 2 years ago
Feng Chen 9fc7ca1731 Address feedback 2 years ago
Liam f1a0ce0e70 memory: fix watchpoint use when fastmem is enabled 2 years ago
Liam 0953cdd271 timing: wait for completion on unregister 2 years ago
Kelebek1 42b16bb33a Be careful of mangled out of bounds read 2 years ago
german77 50c86b3c2a core: hid: Fix stick minimum range 2 years ago
Merry a0e8e5b22e upsample: Fix coefficient format 2 years ago
Merry 122a8faa38 audio_core: Fix off-by-one error in upsampler 2 years ago
Kelebek1 ce0b8d618d Move demangle impl to cpp 2 years ago
Kelebek1 80a55c1663 Add stacktrace symbol demangling 2 years ago
Matías Locatti d7dbd8e774
Update settings.h 2 years ago
Matías Locatti 4294429a07
CPP 2 years ago
Matías Locatti bb2aec00a2
UI change 2 years ago
Matías Locatti 3ba53f2511 1.5X resolution scaler option 2 years ago
Liam e9c3d16f6f debugger: add host fastmem pointer fetch command 2 years ago
Liam 2f2ef5b147 nvnflinger: correct swap interval handling 2 years ago
bunnei 0e8f98a441
Merge pull request #9605 from german77/mouse_mapping
yuzu: Read mouse scroll
2 years ago
Narr the Reg 87b02f78e1 yuzu: Read mouse wheel input 2 years ago
Morph c277dad25f
Merge pull request #9596 from liamwhite/mvk
MoltenVK: restrict number of vertex attributes/bindings to 16
2 years ago
liamwhite cbcf210c19
Merge pull request #9582 from yuzu-emu/revert-9518-revert-9504-pg2
Revert "Revert "k_page_group: synchronize""
2 years ago
liamwhite 0eae0b6803
Merge pull request #9601 from liamwhite/it-never-ends
qt: unlock during signal emission
2 years ago
liamwhite 74404261d2
Merge pull request #9598 from liamwhite/indirect
vulkan_common: fix indirect draw with count
2 years ago
liamwhite e2c68edd35
Merge pull request #9595 from liamwhite/per-game
qt: fix configuration weirdness on turbo
2 years ago
liamwhite 9f974ea818
Merge pull request #9565 from MonsterDruide1/tas-multiplayer-lengths
TAS: Show all script lengths for multiplayer
2 years ago
Liam 385ddef8c3 qt: unlock during signal emission 2 years ago
Liam fa8581e900 vulkan_common: fix indirect draw with count 2 years ago
TellowKrinkle eaf425bd32 MoltenVK: restrict number of vertex attributes/bindings to 16 2 years ago
Liam 1caa84e652 qt: fix configuration weirdness on turbo 2 years ago
UltraHDR fda0e7e989
macOS: Make Yuzu show up in the Launchpad Games folder (#9594)
https://developer.apple.com/documentation/bundleresources/information_property_list/lsapplicationcategorytype
This makes it show up in the Launchpad Games folder
2 years ago
Morph 6bf1436f5c
Merge pull request #9589 from liamwhite/default
renderer_vulkan: disable turbo by default
2 years ago
Morph ffb12f4f9f
Merge pull request #9581 from liamwhite/turbo2
renderer_vulkan: pause turbo submissions on inactive queue
2 years ago
Morph a4cd747122
Merge pull request #9530 from liamwhite/vk-feature-init
vulkan_device: refactor feature testing
2 years ago
Morph 3be8312120
Merge pull request #9569 from liamwhite/shutdown-wars
qt: additional fixes for reentrant shutdown
2 years ago
Liam 279005448a vulkan_device: refactor feature testing 2 years ago
Liam 0df43e4e07 renderer_vulkan: disable turbo by default 2 years ago
Fernando Sahmkow efbb6fe288 VideoCore: Fix OGL cache invalidation. 2 years ago
bunnei a5693afa03
Revert "Revert "k_page_group: synchronize"" 2 years ago
bunnei 66e4a48b75
Merge pull request #9563 from german77/crash_not_allowed
input_common: Create an update engine
2 years ago
Liam 505923f0f3 Revert "shader_recompiler: Align SSBO offsets to meet host requirements"
This reverts commit 8804a4eb23.
2 years ago
Liam 57a4388e2d Revert "Vulkan, OpenGL: Hook up storage buffer alignment code"
This reverts commit 9e2997c4b6.
2 years ago
MonsterDruide1 115bf20448 TAS: Show all script lengths for multiplayer 2 years ago
Liam c19c8ac92c renderer_vulkan: pause turbo submissions on inactive queue 2 years ago
Billy Laws d34275a260
Avoid OOB array access reading passthrough attr mask
YFC 1.5 extended the size of the varying mask used to hold passthrough attrs without considering this
2 years ago
Narr the Reg 432d48d9c8
Merge pull request #9570 from liamwhite/less-clock-boost
renderer_vulkan: disable clock boost on unvalidated devices
2 years ago
Liam 444b25bae1 vulkan_device: avoid attempt to access empty optional 2 years ago
Liam 2e4dde12c7 renderer_vulkan: disable clock boost on unvalidated devices 2 years ago
Liam 9ed4c13758 qt: additional fixes for reentrant shutdown 2 years ago
Narr the Reg 4bda2b475f opengl: Sanitize antialiasing config 2 years ago
Wollnashorn 457826a83b video_core/vulkan: Fixed loading of Vulkan driver pipeline cache
The header size of the Vulkan driver pipeline cache files was incorrectly in PipelineCache::LoadVulkanPipelineCache, for which the pipeline cache wasn't read correctly and got invalidated on each load.
2 years ago
Fernando S 8b251fc3f6
Merge pull request #9535 from bylaws/master
Port over several shader-compiler fixes from skyline
2 years ago
liamwhite 3c05988df2
Merge pull request #9561 from liamwhite/update-dynarmic
externals: update dynarmic, xbyak
2 years ago
liamwhite 6d74490139
Merge pull request #9558 from MonsterDruide1/network-timeout-noerror
net: Silently translate ETIMEDOUT network error
2 years ago
liamwhite 020dbcdbc7
Merge pull request #9552 from liamwhite/turbo
vulkan: implement 'turbo mode' clock booster
2 years ago
Fernando S 5bcbb8de45
Merge pull request #9559 from FernandoS27/cached-writes
VideoCore: Implement Cached Writes, use fastmem for reading GPU memory and eliminate old stuffs
2 years ago
Fernando Sahmkow f6245dc40a MacroHLE: eliminate 2 rushed macros. 2 years ago
Narr the Reg 8042ce7e19 input_common: Create an update engine 2 years ago
liamwhite eaca61e073
Merge pull request #9528 from liamwhite/mvk-nulldesc
renderer_vulkan: implement fallback path for null buffer descriptors
2 years ago
liamwhite 3e33a878dc
Merge pull request #9536 from liamwhite/debug-utils
vulkan_common: unify VK_EXT_debug_utils and selection of validation layer
2 years ago
Liam 1ee0540f82 externals: update dynarmic, xbyak 2 years ago
Billy Laws 58fec43768 Run clang-format 2 years ago
Billy Laws 68ed60cee4 shader_recompiler: Fix shuffle partitioning for >64 invoc-per-subgroup GPUs
The existing implementation only supports 64 invoc-per-subgroup GPUs, and misbehaves on adreno when invocations need to be split into 4 emulated subgroups.
2 years ago
Billy Laws 6c812a0c84 Vulkan, OpenGL: Hook up geometry shader passthrough emulation 2 years ago
Billy Laws 625a4af73a shader_recompiler: Add support for lowering geometry passthrough
Reuses most of the existing code for generating the gl_Layer passthrough. Fixes geometry in Nier: Automata on GPUs without HW passthrough support.
2 years ago
Billy Laws 9e2997c4b6 Vulkan, OpenGL: Hook up storage buffer alignment code 2 years ago
Billy Laws 8804a4eb23 shader_recompiler: Align SSBO offsets to meet host requirements
We can take advantage of SSBO addresses being passed in a constant bufer to account for the extra alignment requirements in the shader itself.
2 years ago
Billy Laws 3f0985c7b0 shader_recompiler: SPIRV: Only enable int64 feature when supported 2 years ago
Billy Laws c1cc99584c shader_recompiler: Add comparison operators to descriptor types 2 years ago
Billy Laws bbfad79c89 Vulkan: Add a workaround for input_position on Adreno drivers
Adreno drivers will crash compiling geometry shaders if the input position is not wrapped in a gl_in struct.
2 years ago
Wollnashorn e07976a22b video_core/vulkan: Vulkan driver pipelines now contain cache version
So that old cache can get deleted when the cache version changes and does not grow infinitely
2 years ago
Wollnashorn 9c9008ac81 video_core/vulkan: Driver pipeline cache will now be deleted with the shader cache 2 years ago
Wollnashorn 8945fafcc0 config: Set the Vulkan driver pipeline cache option to be global 2 years ago
Wollnashorn f2aa816679 video_core/vulkan: Added check if Vulkan pipeline path has been set 2 years ago
Wollnashorn f4626512ff config: Better wording for VK pipeline cache option and enable by default 2 years ago
Wollnashorn 67d4f190f7 yuzu-cmd: Removed `use_vulkan_driver_pipeline_cache` from default_ini.h
The addition of the use_vulkan_driver_pipeline_cache option into the default ini string literal caused the 16,384-byte limit of the MSVC compiler to be exceeded.
2 years ago
Wollnashorn 16809c1fa7 video_core/vulkan: Added `VkPipelineCache` to store Vulkan pipelines
As an optional feature which can be enabled in the advanced graphics configuration, all pipelines that get built at the initial shader loading are stored in a VkPipelineCache object and are dumped to the disk.

These vendor specific pipeline cache files are located at `/shader/GAME_ID/vulkan_pipelines.bin`. This feature was mainly added because of an issue with the AMD driver (see yuzu-emu#8507) causing invalidation of the cache files the driver builds automatically.
2 years ago
Fernando Sahmkow b56ad93bbc BufferBase: Don't ignore GPU pages. 2 years ago
Fernando Sahmkow 2d0c4f2b1d Fermi2D: sync cache flushes 2 years ago
Fernando Sahmkow af5ecb0b15 MemoryManager: use fastmem directly. 2 years ago
MonsterDruide1 688a9fbfa6 net: Silently translate ETIMEDOUT network error 2 years ago
Fernando Sahmkow 6c7eb81f7d video_core: Cache GPU internal writes. 2 years ago
Fernando Sahmkow 4d9af4a9d2 Vulkan: Fix drivers that don't support dynamic_state_2 up 2 years ago
Feng Chen 013b689153 video_core: Implement opengl/vulkan draw_texture 2 years ago
Feng Chen 1e8cee2ddf video_core: Implement maxwell3d draw texture method 2 years ago
Alexandre Bouvier d0fe27708e tests: update catch2 to 3.0.1 2 years ago
Liam a4269c285a common: add setting for renderer clock workaround 2 years ago
Liam 301e9bbc03 vulkan: implement 'turbo mode' clock booster 2 years ago
Liam 66ae79de13 renderer_vulkan: implement fallback path for null descriptors 2 years ago
liamwhite b78328f19a
Merge pull request #9501 from FernandoS27/yfc-rel-2
Yuzu Fried Chicken Part 1.5: MacroHLE Rework and Dynamic State
2 years ago
Fernando Sahmkow 3ecc03ec1b yuzu-ui: Add setting for disabling macro HLE 2 years ago
Fernando Sahmkow a0c697124c Video_core: Address feedback 2 years ago
Fernando Sahmkow 03ccd8bf43 Texture Cache: Implement async texture downloads. 2 years ago
liamwhite bbeb6e460c
Merge pull request #9518 from gidoly/revert-9504-pg2
Revert "k_page_group: synchronize"
2 years ago
Fernando Sahmkow ddbf851ef6 Vulkan: Update blacklisting to latest driver versions. 2 years ago
Fernando Sahmkow a045e860dd ShaderCompiler: Inline driver specific constants. 2 years ago
Fernando Sahmkow b62ffb612d Vulkan: rework stencil tracking. 2 years ago
MonsterDruide1 04cb05fce0 TAS: Immediately switch stick to TAS on input
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
2 years ago
Alexandre Bouvier eceee8c3d9 cmake: move find-modules to root cmake dir 2 years ago
liamwhite 6804a43f49
Merge pull request #9540 from MonsterDruide1/tas-sanitized-record
TAS: Record sanitized instead of raw stick inputs
2 years ago
german77 80bcc18788 service: nifm: Initialize request state 2 years ago
german77 ebd811b535 service: nifm: Match documentation names 2 years ago
Liam f9c6d39a6c vulkan_common: blacklist radv from extended_dynamic_state2 on drivers before 22.3.1 2 years ago
Liam 4814d87385 video_core: fix build 2 years ago
Fernando Sahmkow d09aa0182f MacroHLE: Final cleanup and fixes. 2 years ago
Fernando Sahmkow 581a7d785b Rasterizer: Setup skeleton for Host Conditional rendering 2 years ago
Fernando Sahmkow 3630bfaef3 RasterizerMemory: Add filtering for flushing/invalidation operations. 2 years ago
Fernando Sahmkow 2793304117 Vulkan: Allow stagging buffer deferrals. 2 years ago
Fernando Sahmkow 8d694701bc MacroHLE: Add OpenGL Support 2 years ago
Fernando Sahmkow 4c82e47edd Vulkan: Add other additional pipeline specs 2 years ago
Fernando Sahmkow d33251db93 Vulkan: Implement Dynamic State 3 2 years ago
Fernando Sahmkow f800e485c9 Vulkan Implement Dynamic State 2 LogicOp and PatchVertices 2 years ago
Fernando Sahmkow c897c55e3c Vulkan: Implement Dynamic States 2 2 years ago
Fernando Sahmkow cb1497d0d7 DMAPusher: Improve collection of non executing methods 2 years ago
Fernando Sahmkow ce448ce770 Revert Buffer cache changes and setup additional macros. 2 years ago
Fernando Sahmkow 18637766ef MacroHLE: Reduce massive calculations on sizing estimation. 2 years ago
Fernando Sahmkow aad0cbf024 MacroHLE: Add HLE replacement for base vertex and base instance. 2 years ago
Fernando Sahmkow 93ac5a6a6d MacroHLE: Add Index Buffer size estimation. 2 years ago
Fernando Sahmkow c541559767 MacroHLE: Refactor MacroHLE system. 2 years ago
Fernando Sahmkow 0f89828073 MacroHLE: Implement DrawIndexedIndirect & DrawArraysIndirect. 2 years ago
Fernando Sahmkow a5a94f52ff MacroHLE: Add MultidrawIndirect HLE Macro. 2 years ago
MonsterDruide1 d46c9c4659 TAS: Record sanitized instead of raw stick inputs
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
2 years ago
Merry bee395d2f0 vfs: Replace cstr concat with char concat 2 years ago
Liam aa13ee5c4a vulkan_common: unify VK_EXT_debug_utils and selection of validation layer 2 years ago
liamwhite 92103d4ff3
Merge pull request #9533 from merryhime/overcommit
host_memory: mmap changes for virtual_base
2 years ago
liamwhite 0b228fde15
Merge pull request #9514 from ColinKinloch/en_gb
settings: warn on invalid regon/language combinations
2 years ago
Merry fd1831b65b host_memory: Use transparent huge pages where available 2 years ago
Merry 4d7be85e73 host_memory: Allocate virtual_base with MAP_NORESERVE
Specify that we do not require swap to be reserved for this address range;
allow overcommitting.
2 years ago
Colin Kinloch 28cfc2146f settings: comment language blocklist columns 2 years ago
bunnei 05c709bebe core: hid: emulated_console: Avoid a crash if frontend does not configure touch_from_button_maps. 2 years ago
bunnei c3af6d8372
Merge pull request #9515 from liamwhite/cmake-refactor
CMake: make more features optional
2 years ago
Wollnashorn 1df5d12b19 config: Save multiplayer settings only globally
Saved multiplayer settings like the nickname, remote address, etc. were reset everytime a game was booted up and the game-specific config files were loaded, as these values will never be set.
2 years ago
Colin Kinloch 8594f287b8 settings: added regon/language warning bounds check 2 years ago
gidoly 10eaf31af3
Revert "k_page_group: synchronize" 2 years ago
liamwhite 9fdacb5e3a
Merge pull request #9423 from vonchenplus/vulkan_quad_strip
video_core: Implement all vulkan topology
2 years ago
ameerj b0722591c9 hle_ipc: Use thread_local ReadBuffer 2 years ago
ameerj a1490d77ac hle_ipc: Rename ReadBufferSpan to ReadBuffer 2 years ago
ameerj 59c0f85407 hle_ipc: Rename ReadBuffer to ReadBufferCopy
Indicates explicitly that a copy is occurring
2 years ago
ameerj 7c1bf68bb4 bsd: Use std::span for read payloads
Allows the use of HLERequestContext::ReadBufferSpan
2 years ago
ameerj f517f82416 nvdrv: Use std::span for inputs
Allows the use of HLERequestContext::ReadBufferSpan
2 years ago
ameerj e7032d9e64 hidbus: Use ReadBufferSpan 2 years ago
Liam c18cf05a06 cmake: make cubeb and SDL2 optional 2 years ago
bunnei 60419dd35e
Merge pull request #9504 from liamwhite/pg2
k_page_group: synchronize
2 years ago
Liam be43b62d79 cmake: make libusb optional 2 years ago
Liam 106cf27135 cmake: make room server optional 2 years ago
Colin Kinloch 2ccf175324 settings: warn on invalid regon/language combinations 2 years ago
bunnei c5de54d509
Merge pull request #9490 from ameerj/texture-cache-prealloc
texture_cache: Use pre-allocated heap buffer for texture swizzles
2 years ago
bunnei 343c01b87a
Merge pull request #9495 from german77/no_refresh
yuzu: Automatically refresh device list
2 years ago
Alexandre Bouvier dce2649daf
tests: add missing header
<cstring> is needed for std::memcpy
2 years ago
FengChen 6a397bc8ed video_core: Implement other missing vulkan topology 2 years ago
FengChen 86d5b4e556 video_core: Implement vulkan QuadStrip topology 2 years ago
ameerj 32d01a39b0 nvflinger: Split Parcel class into InputParcel and OutputParcel
The usages of the Parcel class were already unique to either Read or Write operations.
Avoids needing a vector of the input payload for the InputParcel use-case, instead it can remain as a span.
2 years ago
ameerj 7ffd624248 service: Use ReadBufferSpan where it is trivial to do so 2 years ago
MonsterDruide1 bc4126acd7 TAS: Increase accuracy of Stick inputs 2 years ago
ameerj 7584d36922 texture_cache: Use Common::ScratchBuffer for swizzle buffers 2 years ago
ameerj 1209d428f1 texture_cache: Use pre-allocated buffer for texture downloads 2 years ago
ameerj c448b3af2f texture_cache: Use pre-allocated buffer for texture uploads 2 years ago
Liam 28d9c30861 k_page_table: remove HACK_OpenPages/ClosePages 2 years ago
ameerj fbc375f0de fsp_srv: Use ReadBufferSpan 2 years ago
ameerj 9349f06963 hle_ipc: Add ReadBufferSpan function
Returns a std::span to the buffer address, rather than create a copy of the memory into a std::vector
2 years ago
Liam 3392fdac9b k_page_group: synchronize 2 years ago
liamwhite 9933121256
Merge pull request #9500 from liamwhite/reentrant-shutdown
qt: prevent reentrant shutdown
2 years ago
liamwhite c6767704fb
Merge pull request #9496 from liamwhite/shm3
kernel: workaround static shared memory initialization
2 years ago
liamwhite ea70d9c79e
Merge pull request #9487 from liamwhite/look-at-the-time
time: add LockFreeAtomicType
2 years ago
Fernando S 3e6850f00b
Merge pull request #9453 from ameerj/scratch-vector
common: Add ScratchBuffer Class
2 years ago
Liam cb7f0c2ec3 qt: prevent reentrant shutdown 2 years ago
liamwhite c86e21abe4
qt: fix 'Pause' menu item (#9497) 2 years ago
Chris Oboe 201733d1b5
Disable automatically opening the console on windows yuzu-cmd builds (#9485)
* don't automatically open the console on windows build of yuzu-cmd

* fix formatting
2 years ago
liamwhite db15142ac9
Merge pull request #9476 from liamwhite/async-shutdown
qt: continue event loop during game close
2 years ago
Liam 646656412f qt: fix uninitialized memory usage 2 years ago
german77 c3a5522830 yuzu: Automatically refresh device list 2 years ago
Liam 99eccf581e kernel: workaround static shared memory initialization 2 years ago
Liam 80670a5b6c time: add LockFreeAtomicType 2 years ago
Liam 60ce34aa80 qt: exit properly on guest-initiated close 2 years ago
Liam ae6015a69b qt: use main window as close overlay parent 2 years ago
Liam 053ad04d3f qt: continue event loop during game close 2 years ago
liamwhite 1b11e0f0d3
Merge pull request #9463 from liamwhite/manager-events
EmuThread: refactor
2 years ago
ameerj c6590ad07b scratch_buffer: Explicitly defing resize and resize_destructive functions
resize keeps previous data intact when the buffer grows
resize_destructive destroys the previous data when the buffer grows
2 years ago
liamwhite 6cb6b2da8e
Merge pull request #9480 from jbeich/vk-238
externals: update Vulkan-Headers to v1.3.238 to fix -Werror=switch with system package
2 years ago
ameerj 64869807e2 tests: Add ScratchBuffer tests 2 years ago
ameerj 61e4f2d931 dma_pusher: Rework command_headers usage
Uses ScratchBuffer and avoids overwriting the command_headers buffer with the prefetch_command_list
2 years ago
ameerj bdef22ff85 buffer_cache: Use Common::ScratchBuffer for ImmediateBuffer usage 2 years ago
ameerj 4bc2d82130 video_core: Add usages of ScratchBuffer 2 years ago
ameerj cfc34dd41d common: Add ScratchBuffer class
This class creates a default initialized heap allocated buffer for cases where value initializing members during allocation or resize
is redundant.
2 years ago
ameerj 88ba5a7f22 common: add make_unique_for_overwrite 2 years ago
Matías Locatti e44d1fe73c
Merge pull request #9474 from liamwhite/timer
kernel: add KHardwareTimer
2 years ago
Jan Beich b60a93a936 externals: update Vulkan-Headers to v1.3.238 2 years ago
liamwhite 42d81aab32
Merge pull request #9471 from german77/input
input_common: Cleanup project
2 years ago
Morph 690a4c9438 overlay_dialog: Avoid starting the input thread if non-interactive 2 years ago
Morph 190ded7f48 overlay_dialog: Hide button dialog box when both buttons are hidden
This allows for the creation of a non-interactive dialog overlay to display system messages.
2 years ago
Liam c770f25ccb kernel: remove TimeManager 2 years ago
Liam 67c0d714c5 kernel: add KHardwareTimer 2 years ago
german77 cf01a507fb input_common: Cleanup project 2 years ago
liamwhite fcc93a445f
Merge pull request #9470 from german77/silenceIkillYou
service: nfc: Silence ListDevices
2 years ago
german77 79f1f326c7 service: nfc: Silence ListDevices 2 years ago
liamwhite 2724ffd6e3
Merge pull request #9469 from Rubo3/patch-1
Use execlp instead of execl to avoid failure
2 years ago
liamwhite ee71404d71
Merge pull request #9467 from german77/folder
yuzu: Remember last selected directory
2 years ago
Marco Rubin 56b0f979eb
Use execlp instead of execl to avoid failure 2 years ago
german77 c218c7d4da yuzu: Remember last selected directory 2 years ago
german77 f999d268f9 bootmanager: Use proper camera size 2 years ago
german77 c489cbee29 bootmanager: Encapsulate all QCamera code 2 years ago
german77 dffeca66fa yuzu: fix device name setting 2 years ago
Matías Locatti fd1ea0fd84
Enable compiler optimizations and enforce x86-64-v2 on GCC/Clang (#9442)
* Testing LTO (#4)

* Testing LTO

* clang

* linux

* Added the rest of Blinkhawk's optimizations

* Unlikely asserts

* Removing LTO from Linux builds - GCC

* Removing LTO from Linux builds - Clang
2 years ago
bunnei 48108a8c9b
Merge pull request #9456 from german77/virtual_gamepad
input_common: Add virtual gamepad
2 years ago
Liam 92ce241d4d qt: use _exit instead of exit on SIGINT 2 years ago
Liam d3123079e8 EmuThread: refactor 2 years ago
liamwhite 5da72a891f
Merge pull request #7450 from FernandoS27/ndc-vulkan
Vulkan: Add support for VK_EXT_depth_clip_control.
2 years ago
Mai f8a7d6a0ae
Merge pull request #9461 from liamwhite/wanative
qt: avoid setting WA_DontCreateNativeAncestors on all platforms
2 years ago
Mai da31326c17
Merge pull request #9454 from liamwhite/wayland-egl
qt: handle wayland-egl platform name
2 years ago
Liam 45672d43e3 qt: avoid setting WA_DontCreateNativeAncestors on all platforms 2 years ago
liamwhite a3bac5550d
Merge pull request #9451 from ameerj/camera-data-array
camera: Use pre-allocated vector for camera data
2 years ago
liamwhite 4faea2bbf4
Merge pull request #9452 from ameerj/hle-read-buffer-resreve
hle_ipc: Refactor ReadBuffer to set buffer size upon initialization
2 years ago
liamwhite fa10374d39
Merge pull request #9455 from Kelebek1/audio_signal
[audio_core] Signal buffer event on audio in/out system stop
2 years ago
liamwhite 98135dee16
Merge pull request #9457 from Kelebek1/silence_tfb
Remove unimplemented geometry transform feedback log spam
2 years ago
german77 243404bf34 input_common: Add virtual gamepad 2 years ago
ameerj 7bf4bec257 camera: Use pre-allocated vector for camera data
And avoid an unnecessary copy
2 years ago
Kelebek1 f7d95d0a3a Remove unimplemented transform feedback geometry spam, it should be implemented 2 years ago
liamwhite bbb202ceed
Merge pull request #6354 from ogniK5377/device-name
Set: Allow setting device nickname
2 years ago
liamwhite 789da737af
Merge pull request #9450 from ameerj/hle-ipc-vector-reserve
hle_ipc: Reserve vectors before populating
2 years ago
liamwhite b541a35e27
Merge pull request #9444 from german77/free_threads
kernel: process: Implement GetFreeThreadCount
2 years ago
liamwhite 6bc1a477bf
Merge pull request #8605 from devsnek/graceful-shutdown
let games gracefully exit
2 years ago
liamwhite 9bfd4d880e
Merge pull request #6769 from lat9nq/create-shortcut-2
yuzu qt, common: Add option to create game shortcuts on Linux
2 years ago
Kelebek1 6a56f42f5d Signal buffer event on audio in/out system stop, and force remove all registered audio buffers 2 years ago
Liam b81caf1879 qt: handle wayland-egl platform name 2 years ago
ameerj b1d633532f hle_ipc: Refactor ReadBuffer to set buffer size upon initialization
Initializing the vector size during initialization is more efficient than a later call to resize()
2 years ago
ameerj 12c0f682e6 hle_ipc: Reserve vectors before populating 2 years ago
Narr the Reg 9ff891ce71
Merge pull request #9431 from liamwhite/sixty-five-oh-two
vulkan_common: declare storageBuffer8BitAccess
2 years ago
Matías Locatti 82d80869fc
Merge pull request #9430 from liamwhite/capable
spirv_emit_context: declare GroupNonUniform capability for SubgroupLocalInvocationId
2 years ago
Narr the Reg 20cbf6f3db kernel: svc: Fix duplicated InfoType enum 2 years ago
Narr the Reg dca4f0687a kernel: process: Implement GetFreeThreadCount
Used by Just Dance® 2023 Edition
2 years ago
liamwhite 3ff7a5de1a
Merge pull request #7410 from Nefsen402/wayland-fixes
Wayland fixes
2 years ago
bunnei beba9c9b61
Revert "hle: service: audio: Use default service thread." 2 years ago
liamwhite a222f02c7a
Merge pull request #6688 from yzct12345/valid-intel-max
render_vulkan: Fix validation errors on less compatible Intel GPUs
2 years ago
FernandoS27 0104e28fe4 Vulkan: Add support for VK_EXT_depth_clip_control. 2 years ago
Chloe Marcec c5f519e1e4 Set: Allow setting device nickname 2 years ago
lat9nq 5a5bb91f40 main: Address review feedback
Moves icon path to ~/.local/share/icons, though I'm opting to avoid
using the game title for the icon and desktop entry name as that would
cause filenames such as
"yuzu-cadence-of-hyrule-crypt-of-the-necrodancer-featuring-the-legend-of-zelda-demo.desktop".
2 years ago
Liam 4fce72c902 vulkan_common: declare storageBuffer8BitAccess 2 years ago
Liam 77b0d01639 spirv_emit_context: declare GroupNonUniform capability for SubgroupLocalInvocationId 2 years ago
lat9nq 18bdf45868 yuzu qt: Create shortcuts on Linux
This creates a Desktop Entry file and a PNG icon for the entry when the
user right-clicks a game and selects "Create Shortcut -> Create
{Application,Desktop} Shortcut". This uses the current executable's path
to create the shortcut.

yuzu qt: Add more error checking and OS gating for shortcuts

main: Remove FreeBSD gating for shortcuts

I'm not going to test FreeBSD, so I don't know if they follow
Freedesktop.org or not. I just have to let someone else verify that it
works there and let them enable it.

main: Move shortcut function to its own function

This function should really be in a common library, at least among
frontends.

main: Remove image manip references

main: Fix difference in MinGW and native GCC versions

main: Fix negation in creat shortcut

Addresses review comment

Co-authored-by: Jan Beich <jbeich@FreeBSD.org>

main: Re-enable freedesktop shorcuts for FreeBSD
2 years ago
Alexander Orzechowski 09e3029c11 gl_device: Use a more robust way to use strict context mode
Instead of checking a environment variable which may not actually
exist or is just wrong, ask QT if it's running on the wayland
platform.
2 years ago
Alexander Orzechowski 2221afaf26 OpenGL: Check for threading support
We need this.
2 years ago
Alexander Orzechowski 45fcde817e wayland: Always use exclusive fullscreen
Wayland does not allow clients to choose their own size and position
on the screen. The concept of fullscreening an application by sizing
it to the screen and removing decorations does not exist. Use
exclusive fullscreen instead.
2 years ago
Alexander Orzechowski 29fbce9fe6 RenderWidget: Set WA_DontCreateNativeAncestors
Some windowing systems like wayland are designed to show hardware accellerated
surfaces as subsurfaces and not native windows.
2 years ago
Alexander Orzechowski 5754456292 emu_window_sdl2: Respect hidpi
Use SDL_GL_GetDrawableSize instead of SDL_GetWindowSize which
will return the true size our swapchain needs to be in even
for hidpi displays.
2 years ago
Alexander Orzechowski 3cc3176ad6 video_core/vulkan: Explicity check swapchain size when deciding to recreate
Vulkan for whatever reason does not return VK_ERROR_OUT_OF_DATE_KHR when
the swapchain is the wrong size. Explicity make sure the size is indeed
up to date to workaround this.
2 years ago
Liam d5f53da79d renderer_opengl: refactor context acquire 2 years ago
Liam 179adee396 emu_thread: properly force shutdown for unresponsive guest programs 2 years ago
Gus Caplan f44c60321e let games gracefully exit 2 years ago
yzct12345 f6868ae4dd Fix validation errors on less compatible Intel GPU 2 years ago
Narr the Reg 0ed80c9818 yuzu: Make unlimited frame rate non persistent between game boots 2 years ago
bunnei 339a37f8cb
Merge pull request #9398 from liamwhite/fail
general: improve handling of system startup failure
2 years ago