Commit Graph

12535 Commits (02b36b0eb564f60b751398f5e7e89e75e05c1c20)
 

Author SHA1 Message Date
Morph1984 ef98828d40
IsVibrationEnabled() as a const member func 5 years ago
Morph1984 d6969fa7d4
clang-format 5 years ago
Morph1984 ee35f7adf7
Update npad.h 5 years ago
Morph1984 5130b8a6a9
Update npad.cpp 5 years ago
Morph1984 1559477740
Update hid.h 5 years ago
Morph1984 a83eb90a78
Update hid.cpp 5 years ago
ReinUsesLisp 7bbc98cfc3 gl_rasterizer: Fix stencil testing
* Fix stencil dirty flags tracking when stencil is disabled
* Attach stencil on clears (previously it only attached depth)
* Attach stencil on drawing regardless of stencil testing being enabled
5 years ago
ReinUsesLisp 5f309b88db Revert "Revert #2466" and stub FirmwareCall 4 5 years ago
ReinUsesLisp 77ef4fa907 shader/shift: Implement SHR wrapped and clamped variants
Nvidia defaults to wrapped shifts, but this is undefined behaviour on
OpenGL's spec. Explicitly mask/clamp according to what the guest shader
requires.
5 years ago
ReinUsesLisp 701dedcfad maxwell_3d: Avoid moving macro_params 5 years ago
ReinUsesLisp 42e1bb6d46 gl_shader_cache: Remove special casing for geometry shaders
Now that ProgramVariants holds the primitive topology we no longer need
to keep track of individual geometry shaders topologies.
5 years ago
ReinUsesLisp dfae2d141a half_set_predicate: Fix predicate assignments 5 years ago
ReinUsesLisp 9cf52d027d gl_device: Disable precise in fragment shaders on bugged drivers 5 years ago
ReinUsesLisp 03276e7490 gl_shader_decompiler: Fixup AMD's slow path type 5 years ago
ReinUsesLisp 6c449793b8 gl_shader_decompiler: Rework GLSL decompiler type system
GLSL decompiler type system was broken. We converted all return values
to float except for some cases where returning we couldn't and
implicitly broke the rule of returning floats (e.g. for bools or bool
pairs).

Instead of doing this introduce class Expression that knows what type a
return value has and when a consumer wants to use the string it asks for
it with a required type, emitting a runtime error if types are
incompatible.

This has the disadvantage that there's more C++ code, but we can emit
better GLSL code that's easier to read.
5 years ago
David 922c7f4e51
Merge pull request #2835 from chris062689/master
CI Fix (Azure/Testing) - apt update before upgrade. Use apt-get.
5 years ago
Flame Sage ce3edaad26 Changed apt-get upgrade for specific package. 5 years ago
Morph1984 84815fa879
Add Kernel::EventPair audio_input_device_switch_event; 5 years ago
Flame Sage 573a1e7662
apt update before upgrade. Use apt-get.
Identified a bug in the script which uses the azure image when attempting to upgrade python3-pip.
Package index was out of date because apt-get update was not ran before attempting the upgrade.
5 years ago
Morph1984 ec95c73a12
remove <f32>
We can remove this since its already a f32 value
5 years ago
Morph1984 1449ed9dbf
audren_u: Stub IAudioDevice::QueryAudioDeviceInputEvent 5 years ago
David e1981b8b8d
Merge pull request #2708 from DarkLordZach/mii-db-source-crash
mii: Handle logging of unknown database source
5 years ago
Morph1984 58783b8a46
explicitly represent 1 as a float (1.0f instead of 1) 5 years ago
bunnei 19af91434e
Merge pull request #2793 from ReinUsesLisp/bgr565
renderer_opengl: Implement RGB565 framebuffer format
5 years ago
bunnei 81fbc5370d
Merge pull request #2812 from ReinUsesLisp/f2i-selector
shader_ir/conversion: Implement F2I and F2F F16 selector
5 years ago
bunnei d4f33b822b
Merge pull request #2811 from ReinUsesLisp/fsetp-fix
float_set_predicate: Add missing negation bit for the second operand
5 years ago
bunnei 137d165672
Merge pull request #2826 from ReinUsesLisp/macro-binding
maxwell_3d: Fix macro binding cursor
5 years ago
bunnei 86b39e0677
Merge pull request #2831 from FearlessTobi/port-4914
Port citra-emu/citra#4914: "Fix to Windows sleep issues"
5 years ago
bunnei 7397289266
Merge pull request #2832 from FearlessTobi/im-an-idiot
configuration/config: Add missing screenshot path read
5 years ago
Morph1984 b1ca56bed2
Change u32 -> f32
Volume is a f32 value. (SwIPC describes it as a u32, but it is actually f32 as corroborated by switchbrew docs and SetAudioDeviceOutputVolume)

 ```cpp
const f32 volume = rp.Pop<f32>();
```
5 years ago
fearlessTobi 952f010c2c configuration/config: Add missing screenshot path read
I missed this in my original PR (https://github.com/yuzu-emu/yuzu/pull/1886).
5 years ago
fearlessTobi 4ea572791b Fix to Windows sleep issues
Co-Authored-By: Vitor K <vitor-k@users.noreply.github.com>
5 years ago
fearlessTobi 22fd208e8d Add cancel option to analog stick configuration
Co-Authored-By: Vitor K <vitor-k@users.noreply.github.com>
5 years ago
Morph1984 ba661c8d9a
service/audio/audren_u: Stub IAudioDevice::GetAudioDeviceOutputVolume 5 years ago
bunnei 50b5bb44a0
Merge pull request #2765 from FernandoS27/dma-fix
MaxwellDMA: Fixes, corrections and relaxations.
5 years ago
ReinUsesLisp 52a41f482f maxwell_3d: Fix macro binding cursor 5 years ago
Rodrigo Locatti 4d4f9cc104 video_core: Silent miscellaneous warnings (#2820)
* texture_cache/surface_params: Remove unused local variable

* rasterizer_interface: Add missing documentation commentary

* maxwell_dma: Remove unused rasterizer reference

* video_core/gpu: Sort member declaration order to silent -Wreorder warning

* fermi_2d: Remove unused MemoryManager reference

* video_core: Silent unused variable warnings

* buffer_cache: Silent -Wreorder warnings

* kepler_memory: Remove unused MemoryManager reference

* gl_texture_cache: Add missing override

* buffer_cache: Add missing include

* shader/decode: Remove unused variables
5 years ago
Lioncash 96cc9a9279 kernel/vm_manager: Correct behavior in failure case of UnmapPhysicalMemory()
If an unmapping operation fails, we shouldn't be decrementing the amount
of memory mapped and returning that the operation was successful. We
should actually be returning the error code in this case.
5 years ago
Lioncash 56c6f767ae kernel/vm_manager: Reserve memory ahead of time for slow path in MergeAdjacentVMA
Avoids potentially expensive (depending on the size of the memory block)
allocations by reserving the necessary memory before performing both
insertions. This avoids scenarios where the second insert may cause a
reallocation to occur.
5 years ago
Lioncash a43ee8d752 kernel/vm_manager: std::move shared_ptr instance in MergeAdjacentVMA
Avoids an unnecessary atomic reference count increment and decrement.
5 years ago
Lioncash 785c4946dd kernel/vm_manager: Deduplicate iterator creation in MergeAdjacentVMA
Avoids needing to read the same long sequence of code in both code
paths. Also makes it slightly nicer to read and debug, as the locals
will be able to be shown in the debugger.
5 years ago
Lioncash 70485e690b kernel/vm_manager: Simplify some std::vector constructor calls
Same behavior, one less magic constant to read.
5 years ago
Lioncash 3f695333cd kernel/vm_manager: Simplify some assertion messages
Assertions already log out the function name, so there's no need to
manually include the function name in the assertion strings.
5 years ago
Fernando Sahmkow 67cc2d5046
Merge pull request #2819 from ReinUsesLisp/fixup-clang
gl_buffer_cache: Add missing include
5 years ago
ReinUsesLisp 878adee0a3 gl_buffer_cache: Add missing include
RasterizerInterface was considered an incomplete object by clang.
5 years ago
bunnei a67c4e6e02
Merge pull request #2742 from ReinUsesLisp/fix-texture-buffers
gl_texture_cache: Miscellaneous texture buffer fixes
5 years ago
Ethan 5adbe66ae8 accommodate for fmt update 5 years ago
Ethan 46a962eb5d externals: update fmt to 6.0.0 5 years ago
James Rowe f0c75573b1 Revert "externals: Update FMT to 6.0.0"
This reverts commit ca4ca8a6dc.
5 years ago
Ethan ca4ca8a6dc externals: Update FMT to 6.0.0 5 years ago