comex
200a0bf755
codec: Fix `pragma GCC diagnostic pop` missing corresponding push
5 years ago
ReinUsesLisp
fe1efa971f
vk_shader_decompiler: Implement force early fragment tests
Force early fragment tests when the 3D method is enabled.
The established pipeline cache takes care of recompiling if needed.
This is implemented only on Vulkan to avoid invalidating the shader
cache on OpenGL.
5 years ago
Lioncash
064f17c5b1
core: Reduce string copies in GetGameFileFromPath()
Eliminates some minor string churn where applicable. Also eliminates an
unnecessary vector copy.
5 years ago
ameerj
0a89ea1ca7
Limit queue size to 10 frames
Workaround for ZLA, which seems to decode and queue twice as many frames as it displays.
5 years ago
bunnei
a20ffebc80
Merge pull request #4975 from comex/invalid-syncpoint-id
nvdrv, video_core: Don't index out of bounds when given invalid syncpoint ID
5 years ago
german
56a8fee35a
Implement full mouse support
5 years ago
bunnei
a265c454f3
Merge pull request #4981 from ogniK5377/ioctl-ctrl
nvservices: Reintroducee IoctlCtrl
5 years ago
german
6708e0ec0e
Add multiple udp server support
5 years ago
ameerj
aa2d90b35c
Address PR feedback
remove some redundant moves, make deleter match naming guidelines.
Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
5 years ago
ReinUsesLisp
2600f1353d
common: Add Common::DivCeil and Common::DivCeilLog2
Add an equivalent to 'Common::AlignUp(n, d) / d' and a log2 alternative.
5 years ago
LC
cc2418af1e
Merge pull request #5003 from jbeich/clang
input_common: unbreak -Werror with Clang
5 years ago
Jan Beich
805312e278
input_common: ignore some Clang warnings after c8aec32f12
error: unknown warning option '-Werror=unused-but-set-parameter'; did you mean '-Werror=unused-parameter'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Werror,-Wunknown-warning-option]
5 years ago
Rodrigo Locatti
d9c847bdde
Merge pull request #4976 from comex/poll-events
Overhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off main thread
5 years ago
ameerj
5beb990349
Queue decoded frames, cleanup decoders
5 years ago
Rodrigo Locatti
a5029e54b0
Merge pull request #4946 from ameerj/alpha-test
renderer_vulkan: Implement alpha testing
5 years ago
ameerj
942dff1fd8
cleanup unneeded comments and newlines
5 years ago
bunnei
93d511896d
Merge pull request #4959 from Morph1984/emulated-controller-styleset
configure_input_player: Use the NpadStyleSet to limit the available controllers shown
5 years ago
bunnei
5584c7e5e5
Merge pull request #4932 from ogniK5377/misc-audio
audren: Make use of nodiscard, rework downmixing, release all buffers
5 years ago
Morph
9b00708d96
hid: Check if applet_resource exists in InitializeVibrationDevice
5 years ago
bunnei
bd0a2db49a
Merge pull request #4978 from bunnei/shutdown-crash
core: cpu_manager: Fix shutdown crash when closing before emulation starts.
5 years ago
ameerj
a981e7d69c
Refactor MaxwellToSpirvComparison. Use Common::BitCast
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
5 years ago
ameerj
7d48b8be54
Address PR feedback from Rein
5 years ago
ameerj
47f8e43c22
vulkan_renderer: Alpha Test Culling Implementation
Used by various textures in many titles, e.g. SSBU menu.
5 years ago
bunnei
e4938afd40
Merge pull request #4905 from german77/AnalogFromButton
Allow to dial any angle with digital joystick
5 years ago
bunnei
9ca38d38c5
Merge pull request #4799 from bunnei/execute-program
core: Refactor loader and implement ExecuteProgram
5 years ago
bunnei
28843b094f
core: cpu_manager: Fix shutdown crash when closing before emulation starts.
5 years ago
bunnei
173d78f71e
frontend: yuzu (qt): Register a callback for ExecuteProgram.
5 years ago
bunnei
faffc3144c
service: am: Implement ExecuteProgram and required stubs.
- This is used by Super Mario 3D All-Stars.
5 years ago
bunnei
9f8d7748d9
core: loader: Implement support for loading indexed programs.
5 years ago
bunnei
5f53d285aa
hle: services: Fix a crash with improper NVFlinger lifetime management. ( #4977 )
* hle: services: Fix a crash with improper NVFlinger lifetime management.
- This crash would happen when attempting to shutdown yuzu early on in boot.
5 years ago
comex
00f2c7fbb9
nvdrv, video_core: Don't index out of bounds when given invalid syncpoint ID
- Use .at() instead of raw indexing when dealing with untrusted indices.
- For the special case of WaitFence with syncpoint id UINT32_MAX,
instead of crashing, log an error and ignore. This is what I get when
running Super Mario Maker 2.
5 years ago
Rodrigo Locatti
8fd45a009a
Merge pull request #3681 from lioncash/component
decoder/image: Fix incorrect G24R8 component sizes in GetComponentSize()
5 years ago
Rodrigo Locatti
4f1f4ecef7
Merge pull request #4942 from lioncash/system
core: Make use of [[nodiscard]] with the System class
5 years ago
Rodrigo Locatti
2717355678
Merge pull request #4972 from lioncash/unused4
svc: Remove unnecessary [[maybe_unused]] tag
5 years ago
bunnei
f2bb584578
input_common: Fix typo in gc_poller.cpp with [[maybe_unused]].
5 years ago
Chloe Marcec
f8d84ecae2
nvservices: Reintroducee IoctlCtrl
Fixes regression caused by #4907 which caused games like Breath of the Wild 1.0.0 not to boot.
5 years ago
bunnei
862457e75c
Merge pull request #4980 from bunnei/error-fixup
input_common: Add more missing [[maybe_unused]] from #4927 .
5 years ago
bunnei
2382020d8d
input_common: Add more missing [[maybe_unused]] from #4927 .
5 years ago
bunnei
2ac1148798
Fix warnings in core/frontend/input.h with [[maybe_unused]]
Fixes build break due to #4927
5 years ago
bunnei
ec40411cfe
Merge pull request #4927 from lioncash/input-error
input_common: Treat warnings as errors
5 years ago
comex
bb729eefce
Overhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off main thread
EmuWindow::PollEvents was called from the GPU thread (or the CPU thread
in sync-GPU mode) when swapping buffers. It had three implementations:
- In GRenderWindow, it didn't actually poll events, just set a flag and
emit a signal to indicate that a frame was displayed.
- In EmuWindow_SDL2_Hide, it did nothing.
- In EmuWindow_SDL2, it did call SDL_PollEvents, but this is wrong
because SDL_PollEvents is supposed to be called on the thread that set
up video - in this case, the main thread, which was sleeping in a
busyloop (regardless of whether sync-GPU was enabled). On macOS this
causes a crash.
To fix this:
- Rename EmuWindow::PollEvents to OnFrameDisplayed, and give it a
default implementation that does nothing.
- In EmuWindow_SDL2, do not override OnFrameDisplayed, but instead have
the main thread call SDL_WaitEvent in a loop.
5 years ago
bunnei
7781ef2038
Merge pull request #4451 from slashiee/extended-logging
logging/settings: Increase maximum log size to 100 MB and add extended logging option
5 years ago
Lioncash
b038dcf23c
svc: Remove unnecessary [[maybe_unused]] tag
The parameter is used in this function, so this suppression isn't
necessary.
5 years ago
bunnei
a3470ea588
Merge pull request #4969 from liushuyu/master
CI: move refreshenv to the configure step
5 years ago
liushuyu
bf23f7a2fa
CI: move refreshenv to the configure step...
... so that cmake can find the Vulkan SDK binaries
5 years ago
Lioncash
c8aec32f12
input_common: Treat warnings as errors
Migrates over warnings as errors for input common to match how the
common library treats warnings as errors.
5 years ago
bunnei
c0ca8b9fa4
Merge pull request #4944 from lioncash/system-rem
patch_manager: Remove usages of the global system instance
5 years ago
Morph
e718f63b22
Merge pull request #4954 from lioncash/compare
gl_rasterizer: Make floating-point literal a float
5 years ago
bunnei
9ccd07c0ea
Merge pull request #4955 from lioncash/move3
async_shaders: std::move data within QueueVulkanShader()
5 years ago
Rodrigo Locatti
7bec0ce42c
Merge pull request #4960 from liushuyu/master
ci: install Vulkan SDK in MSVC build
5 years ago