Lioncash
fb9c9ddcc9
input_common/udp: std::move shared_ptr within Client constructor
Gets rid of a trivially avoidable atomic reference count increment and
decrement.
6 years ago
Lioncash
9bb6ab77f4
udp/client: Replace deprecated from_string() call with make_address_v4()
Future-proofs code if boost is ever updated.
6 years ago
Lioncash
881408445a
input_common/udp: Silence -Wreorder warning for Socket
Amends the constructor initializer list to specify the order of its
elements in the same order that initialization would occur.
6 years ago
Lioncash
36524465a6
input_common/udp: Remove unnecessary inclusions
6 years ago
Lioncash
4aa9c9632d
input_common/udp: Add missing header guard
6 years ago
ReinUsesLisp
4eed744277
maxwell_3d: Fix stencil back mask
6 years ago
ReinUsesLisp
223a89a19f
shader: Remove curly braces initializers on shared pointers
6 years ago
ReinUsesLisp
729ca120e3
shader/shift: Implement SHIFT_RIGHT_{IMM,R}
Shifts a pair of registers to the right and returns the low register.
6 years ago
ReinUsesLisp
017474c3f8
shader/shift: Implement SHF_LEFT_{IMM,R}
Shifts a pair of registers to the left and returns the high register.
6 years ago
bunnei
91b0a3f799
Revert "system_archive: Fix Korean and Chinese fonts"
6 years ago
Lioncash
472319e573
core/arm: Remove usage of global GetCurrentThread()
Now both CPU backends go through their referenced system instance to
obtain the current thread.
6 years ago
Lioncash
2de2bb980e
kernel/physical_core: Make use of std::unique_ptr
shared_ptr was used in 2d1984c20c due to a
misunderstanding of how the language generates move constructors and
move assignment operators.
If a destructor is user-provided, then the compiler won't generate the
move constructor and move assignment operators by default--they must be
explicitly opted into.
The reason for the compilation errors is due to the fact that the
language will fall back to attempting to use the copy constructor/copy
assignment operators if the respective move constructor or move
assignment operator is unavailable.
Given that we explicitly opt into them now, the the move constructor and
move assignment operators will be generated as expected.
6 years ago
Lioncash
16e7b7b83d
core/cpu_manager: Remove unused includes
Nothing from these headers are used within this source file, so we can
remove them.
6 years ago
Lioncash
51927bc9dc
kernel/physical_core: Remove unused kernel reference member variable
This isn't used within the class, so it can be removed to simplify the
overall interface.
While we're in the same area, we can simplify a unique_ptr reset() call.
6 years ago
ReinUsesLisp
b69321650e
gl_rasterizer: Fix instanced draw arrays
glDrawArrays was being used when the draw had a base instance specified.
This commit removes the draw parameters abstraction and fixes the
mentioned issue.
6 years ago
ReinUsesLisp
a7beabb68f
yuzu/bootmanager: Define Vulkan widget only when enabled
6 years ago
ReinUsesLisp
c29584a090
yuzu_cmd: Fix memcpy on Vulkan handlers
6 years ago
ReinUsesLisp
f92cbc5501
yuzu: Implement Vulkan frontend
Adds a Qt and SDL2 frontend for Vulkan. It also finishes the missing
bits on Vulkan initialization.
6 years ago
ReinUsesLisp
8299f1ceef
web_service/telemetry_json: Report USER_CONFIG
6 years ago
ReinUsesLisp
788d57d723
settings: Add settings for graphics backend
6 years ago
ReinUsesLisp
e651e54b85
core: Only wait for idle on gpu_core when it was initialized
This fixes crashes when a Vulkan device fails to initialize.
6 years ago
ReinUsesLisp
9f0162e4b5
shader/other: Fix skips for SYNC and BRK
6 years ago
ReinUsesLisp
270177f38a
shader/other: Stub S2R LaneId
6 years ago
ReinUsesLisp
b35449c85d
buffer_cache: Delay buffer destructions
Delay buffer destruction some extra frames to avoid destroying buffers
that are still being used from older frames. This happens on Nvidia's
driver with mailbox.
6 years ago
CJBok
8d6b4e836c
clang
6 years ago
CJBok
6e87111f91
minor corrections
6 years ago
CJBok
4bc4fdf5ff
GUI: Togglable graphics settings buttons in status bar
6 years ago
ReinUsesLisp
8178fe8960
gl_shader_decompiler: Remove UNIMPLEMENTED for gl_PointSize
This was implemented by a previous commit and it's no longer required.
6 years ago
ReinUsesLisp
abae795986
gl_texture_cache: Silence implicit sign cast warnings
6 years ago
Fernando Sahmkow
2d1984c20c
System: Address Feedback
6 years ago
ReinUsesLisp
137a8aa55c
shader/bfi: Implement register-constant buffer variant
It's the same as the variant that was implemented, but it takes the
operands from another source.
6 years ago
ReinUsesLisp
e3fc3459c8
shader/arithmetic: Implement FCMP
Compares the third operand with zero, then selects between the first and
second.
6 years ago
ReinUsesLisp
f55f6ff9bb
texture_cache/surface_base: Fix layered break down
Layered break downs was passing "layer" as a "depth" parameter. This
commit addresses that.
6 years ago
ReinUsesLisp
d17dfa6104
gl_texture_cache: Properly implement depth/stencil sampling
This addresses the long standing issue of compatibility vs. core
profiles on OpenGL, properly implementing depth vs. stencil sampling
depending on the texture swizzle.
6 years ago
Fernando Sahmkow
de4b01f75d
System: Correct PrepareReschedule.
6 years ago
Fernando Sahmkow
a1630ab53e
Kernel: Remove a few global instances from the kernel.
6 years ago
Fernando Sahmkow
e4a1ead897
Core: Refactor CpuCoreManager to CpuManager and Cpu to Core Manager.
This commit instends on better naming the new purpose of this classes.
6 years ago
Fernando Sahmkow
450341b397
ArmInterface: Delegate Exclusive monitor factory to exclusive monitor interfasce.
6 years ago
ReinUsesLisp
d95d4ac843
shader/memory: Implement ATOM.ADD
ATOM operates atomically on global memory. For now only add ATOM.ADD
since that's what was found in commercial games.
This asserts for ATOM.ADD.S32 (handling the others as unimplemented),
although ATOM.ADD.U32 shouldn't be any different.
This change forces us to change the default type on SPIR-V storage
buffers from float to uint. We could also alias the buffers, but it's
simpler for now to just use uint. While we are at it, abstract the code
to avoid repetition.
6 years ago
Fernando Sahmkow
4d6a86b03f
Core: Refactor CPU Management.
This commit moves ARM Interface and Scheduler handling into the kernel.
6 years ago
Fernando Sahmkow
bb8eb15d39
Shader_IR: Address feedback.
6 years ago
ReinUsesLisp
d26e74f0a3
shader/memory: Implement STL.S16 and STS.S16
6 years ago
ReinUsesLisp
9a2cdf8520
shader/memory: Implement unaligned LDL.S16 and LDS.S16
6 years ago
ReinUsesLisp
531f25a037
shader/memory: Move unaligned load/store to functions
6 years ago
ReinUsesLisp
96638f57c9
shader/memory: Implement LDL.S16 and LDS.S16
6 years ago
bunnei
2a822f3378
bsd: Stub several more functions.
- Required for Little Town Hero to boot further.
6 years ago
FearlessTobi
845a5dbca9
Disable clang-format for font files
6 years ago
Fernando Sahmkow
806f569143
Shader_IR: Change name of TrackSampler function so it does not confuse with the type.
6 years ago
Fernando Sahmkow
3919b7b8a9
Shader_IR: Corrections, styling and extras.
6 years ago
Fernando Sahmkow
37b8504faa
Shader_IR: Correct Custom Variable assignment.
6 years ago