ReinUsesLisp
5423bdebdc
gl_shader_decompiler: Fixup slow path
6 years ago
mailwl
2e2c350032
AM: Stub IApplicationFunctions::GetGpuErrorDetectedSystemEvent ( #2827 )
* AM: Implement IApplicationFunctions::GetGpuErrorDetectedSystemEvent
* Remove unneeded event clear
* Fix event name
6 years ago
fearlessTobi
d264ecdb00
configure_dialog: reverse tab map to avoid logic based on user-facing/translatable text
Co-Authored-By: Weiyi Wang <wwylele@gmail.com>
6 years ago
Ethan
94ed7e8de1
Fix clang-format
6 years ago
fearlessTobi
3f51d3134f
Fix uisettings include
6 years ago
fearlessTobi
84b839d021
Limit the size of directory icons, fix text when icon size is none
7 years ago
fearlessTobi
8289656196
Change QList to QVector
7 years ago
fearlessTobi
56f0da852a
Separate UserNand and Sdmc directories
7 years ago
fearlessTobi
51734c36f7
Address more trivial review comments
7 years ago
fearlessTobi
5eb2368b6b
Address trivial review comments
7 years ago
fearlessTobi
890b0ce5f6
yuzu: Add support for multiple game directories
Ported from https://github.com/citra-emu/citra/pull/3617 .
7 years ago
Morph1984
fe122507f1
ditto
Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com>
6 years ago
Morph1984
dec5cac1c1
IsVibrationEnabled() as a const member func
6 years ago
Morph1984
32f74d8a88
clang-format
6 years ago
Morph1984
bad4a8a199
Update npad.h
6 years ago
Morph1984
8e070a3c14
Update npad.cpp
6 years ago
Morph1984
d8368a564d
Update hid.h
6 years ago
Morph1984
460e77c935
Update hid.cpp
6 years ago
ReinUsesLisp
110b6c75a0
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
6 years ago
ReinUsesLisp
4f0213d0c7
Revert "Revert #2466" and stub FirmwareCall 4
6 years ago
ReinUsesLisp
9b001821d9
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.
6 years ago
ReinUsesLisp
9ad95eb74a
maxwell_3d: Avoid moving macro_params
6 years ago
ReinUsesLisp
d8ef360e32
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.
6 years ago
ReinUsesLisp
8ce5bb378f
half_set_predicate: Fix predicate assignments
6 years ago
ReinUsesLisp
e5ce849acb
gl_device: Disable precise in fragment shaders on bugged drivers
6 years ago
ReinUsesLisp
173fd3e8f4
gl_shader_decompiler: Fixup AMD's slow path type
6 years ago
ReinUsesLisp
87151a35cf
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.
6 years ago
Morph1984
add4f972c4
Add Kernel::EventPair audio_input_device_switch_event;
6 years ago
Morph1984
a8ba3efc3f
remove <f32>
We can remove this since its already a f32 value
6 years ago
Morph1984
9415310b14
audren_u: Stub IAudioDevice::QueryAudioDeviceInputEvent
6 years ago
Morph1984
d543e28fe8
explicitly represent 1 as a float (1.0f instead of 1)
6 years ago
Morph1984
cadaf5aadb
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>();
```
6 years ago
fearlessTobi
1dd8f2f20b
configuration/config: Add missing screenshot path read
I missed this in my original PR (https://github.com/yuzu-emu/yuzu/pull/1886 ).
6 years ago
fearlessTobi
3b8ad70f7e
Fix to Windows sleep issues
Co-Authored-By: Vitor K <vitor-k@users.noreply.github.com>
6 years ago
fearlessTobi
70943c1901
Add cancel option to analog stick configuration
Co-Authored-By: Vitor K <vitor-k@users.noreply.github.com>
6 years ago
Morph1984
37076c7419
service/audio/audren_u: Stub IAudioDevice::GetAudioDeviceOutputVolume
6 years ago
ReinUsesLisp
95df43ec32
maxwell_3d: Fix macro binding cursor
6 years ago
Rodrigo Locatti
598157a8c9
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
6 years ago
Lioncash
ff201725ed
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.
7 years ago
Lioncash
aed2815ba6
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.
7 years ago
Lioncash
eb1f6e7cdd
kernel/vm_manager: std::move shared_ptr instance in MergeAdjacentVMA
Avoids an unnecessary atomic reference count increment and decrement.
7 years ago
Lioncash
1249e837ba
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.
7 years ago
Lioncash
bd55b99120
kernel/vm_manager: Simplify some std::vector constructor calls
Same behavior, one less magic constant to read.
7 years ago
Lioncash
c4fde2713d
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.
7 years ago
ReinUsesLisp
fce2cd83d6
gl_buffer_cache: Add missing include
RasterizerInterface was considered an incomplete object by clang.
6 years ago
Ethan
e250a95348
accommodate for fmt update
6 years ago
ReinUsesLisp
6f134adf2a
shader_ir/conversion: Split int and float selector and implement F2F H1
6 years ago
ReinUsesLisp
d9ad389777
shader_ir/conversion: Implement F2I F16 Ra.H1
6 years ago
ReinUsesLisp
d490cc5285
float_set_predicate: Add missing negation bit for the second operand
6 years ago
Weiyi Wang
6bb28315fd
Guard unistd.h with MacOS only macro
Fix compile error on Windows caused by #4877
Weird, I thought I saw this guard during the code review...
6 years ago