Fernando Sahmkow
7b893c7963
Common: Fix non-conan build
6 years ago
Fernando Sahmkow
45d29436b3
Tests/HostTiming: Correct GCC Compile error.
6 years ago
Fernando Sahmkow
e77ee67bfa
Common/Fiber: Address Feedback and Correct Memory leaks.
6 years ago
Fernando Sahmkow
b6655aa2e4
Common/Fiber: Implement Rewind on Boost Context.
6 years ago
Fernando Sahmkow
59ce6e6d06
Common/uint128: Correct MSVC Compilation in old versions.
6 years ago
Fernando Sahmkow
18f54f7486
Common/Fiber: Document fiber interexchange.
6 years ago
Fernando Sahmkow
137d862d9b
Common/Fiber: Implement Rewinding.
6 years ago
Fernando Sahmkow
41013381d6
Common/Fiber: Additional corrections to f_context.
6 years ago
Fernando Sahmkow
7d2b1a6ec4
Common/Fiber: Correct f_context based Fibers.
6 years ago
Fernando Sahmkow
8f6ffcd5c4
Host Timing: Correct clang format.
6 years ago
Fernando Sahmkow
96b2d8419c
HostTiming: Correct rebase and implement AddTicks.
6 years ago
Fernando Sahmkow
49a7e0984a
Core/HostTiming: Allow events to be advanced manually.
6 years ago
Fernando Sahmkow
1f7dd36499
Common/Tests: Address Feedback
6 years ago
Fernando Sahmkow
3398f701ee
Common: Make MinGW build use Windows Fibers instead of fcontext_t
6 years ago
Fernando Sahmkow
1bd706344e
Common/Tests: Clang Format.
6 years ago
Fernando Sahmkow
03e4f5dac4
Common: Correct fcontext fibers.
6 years ago
Fernando Sahmkow
e3524d1142
Common: Refactor & Document Wall clock.
6 years ago
Fernando Sahmkow
234b5ff6a9
Common: Implement WallClock Interface and implement a native clock for x64
6 years ago
Fernando Sahmkow
0f8e5a1465
Tests: Add base tests to host timing
6 years ago
Fernando Sahmkow
62e35ffc0e
Core: Implement a Host Timer.
6 years ago
Fernando Sahmkow
be320a9e10
Common: Polish Fiber class, add comments, asserts and more tests.
6 years ago
Fernando Sahmkow
8d0e3c5422
Tests: Add tests for fibers and refactor/fix Fiber class
6 years ago
Fernando Sahmkow
bc266a9d98
Common: Implement a basic Fiber class.
6 years ago
Fernando Sahmkow
13ed9438fb
Common: Implement a basic SpinLock class
6 years ago
ReinUsesLisp
778043a44c
arm_dynarmic_32: Fix implicit conversion error in SetTPIDR_EL0
On MSVC builds we treat conversion warnings as errors.
6 years ago
MerryMage
52bcfac116
arm_dynarmic_cp15: Implement CNTPCT
6 years ago
MerryMage
109df7705f
arm_dynarmic_cp15: Update CP15
6 years ago
MerryMage
32a127faaa
arm_dynarmic_32: InterpreterFallback should never happen
6 years ago
Morph
e2f5d16540
gl_device: Reserve at least 4 image bindings for fragment stage
Due to the limitation of GL_MAX_IMAGE_UNITS being low (8) on Intel's and Nvidia's proprietary drivers, we have to reserve an appropriate amount of image bindings for each of the stages. So far games have been observed to use 4 image bindings on the fragment stage (Kirby Star Allies) and 1 on the vertex stage (TWD series).
No games thus far in my limited testing used more than 4 images concurrently and across all currently active programs.
This fixes shader compilation errors on Kirby Star Allies on OpenGL (GLSL/GLASM)
6 years ago
MerryMage
cf0aad7d6a
macro_jit_x64: Remove NEXT_PARAMETER
Not required, as PARAMETERS can just be incremented directly.
6 years ago
MerryMage
1799f4e774
macro_jit_x64: Remove unused function Compile_WriteCarry
6 years ago
MerryMage
c09a9e5cc7
macro_jit_x64: Select better registers
All registers are now callee-save registers.
RBX and RBP selected for STATE and RESULT because these are most commonly accessed; this is to avoid the REX prefix.
RBP not used for STATE because there are some SIB restrictions, RBX emits smaller code.
6 years ago
MerryMage
79aa7b3ace
macro_jit_x64: Remove REGISTERS
Unnecessary since this is just an offset from STATE.
6 years ago
MerryMage
35db6e1c68
macro_jit_x64: Remove JITState::parameters
This can be passed in as an argument instead.
6 years ago
MerryMage
389549b80d
macro_jit_x64: Remove METHOD_ADDRESS_64
Unnecessary variable.
6 years ago
MerryMage
a6a43a5ae0
macro_jit_x64: Remove RESULT_64
This Reg64 codepath has the exact same behaviour as the Reg32 one.
6 years ago
MerryMage
7c6203dc5e
xbyak_abi: Prefer returning a struct to using out parameters in ABI_CalculateFrameSize
6 years ago
MerryMage
36362e9695
xbyak_abi: Register indexes should be unsigned
6 years ago
MerryMage
d563017dfe
xbyak_abi: Remove *GPS variants of stack manipulation functions
6 years ago
MerryMage
4417770ba9
xbyak_abi: Fix ABI_PushRegistersAndAdjustStack
Pushing GPRs twice.
6 years ago
ReinUsesLisp
6e5d8aac4d
video_core/macro_jit_x64: Remove initializer in member variable
Fix build time issues on gcc. Confirmed through asan that avoiding this
initialization is safe.
6 years ago
ReinUsesLisp
87011a97f9
gl_arb_decompiler: Implement FSwizzleAdd
6 years ago
ReinUsesLisp
a63a0daa5e
gl_arb_decompiler: Implement an assembly shader decompiler
Emit code compatible with NV_gpu_program5.
This should emit code compatible with Fermi, but it wasn't tested on
that architecture. Pascal has some issues not present on Turing GPUs.
6 years ago
ReinUsesLisp
d89888389d
yuzu/configuration: Show assembly shaders check box
6 years ago
David Marcec
b15cbf9bcf
nvdrv: Fix GetTPCMasks for ioctl3
Fixes animal crossing svcBreak on launch
6 years ago
David Marcec
74ff1db758
kernel: Account for system resource size for memory usage
GetTotalPhysicalMemoryAvailableWithoutSystemResource & GetTotalPhysicalMemoryUsedWithoutSystemResource seem to subtract the resource size from the usage.
6 years ago
ReinUsesLisp
6508cdd003
buffer_cache: Avoid passing references of shared pointers and misc style changes
Instead of using as template argument a shared pointer, use the
underlying type and manage shared pointers explicitly. This can make
removing shared pointers from the cache more easy.
While we are at it, make some misc style changes and general
improvements (like insert_or_assign instead of operator[] + operator=).
6 years ago
ReinUsesLisp
7646f2c21d
gl_rasterizer: Mark vertex buffers as dirty after buffer cache invalidation
Vertex buffers bindings become invalid after the stream buffer is
invalidated. We were originally doing this, but it got lost at some
point.
- Fixes Animal Crossing: New Horizons, but it affects everything.
6 years ago
ReinUsesLisp
6e122f0b2c
buffer_cache: Return stream buffer invalidation in Map instead of Unmap
We have to invalidate whatever cache is being used before uploading the
data, hence it makes more sense to return this on Map instead of Unmap.
6 years ago
ReinUsesLisp
bd43c05470
texture_cache: Port original code management for 2D vs 3D textures
Handle blits to images as 2D, even when they have block depth.
- Fixes rendering issues on Luigi's Mansion 3
6 years ago