ReinUsesLisp
cf137ea40b
vk_rasterizer: Don't preserve contents on full screen clears
There's no need to load contents from the CPU when a clear resets all
the contents of the underlying memory. This is already implemented on
OpenGL and the texture cache.
6 years ago
ReinUsesLisp
7d763f060e
vk_update_descriptor: Upload descriptor sets data directly
Instead of copying to a temporary payload before sending the update task
to the worker thread, insert elements to the payload directly.
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
778f86989a
bootmanager: Remove references to OpenGL for macOS
OpenGL macOS headers definitions clash heavily with each other
6 years ago
MerryMage
b19fe55f84
memory_manager: Explicitly specifcy std::min<size_t>
6 years ago
MerryMage
4f09f0aea4
shared_font: Service::NS::EncryptSharedFont takes a size_t&
6 years ago
MerryMage
69f38355ed
vk_rasterizer: BindTransformFeedbackBuffersEXT accepts a size of type VkDeviceSize
6 years ago
MerryMage
b1eada6079
renderer_vulkan: Fix macOS GetBundleDirectory reference
6 years ago
MerryMage
442e48ef4c
memory_util: boost hashes are size_t
* boost::hash_value returns a size_t
* boost::hash_combine takes a size_t& argument
6 years ago
MerryMage
8ae7154541
Rename PAGE_SHIFT to PAGE_BITS
macOS header files #define PAGE_SHIFT
6 years ago
VolcaEM
684dfbf209
Move SHA256Hash to its original position
It's not needed to have it in its previous position anymore
6 years ago
Morph
2f420618ea
vk_sampler_cache: Emulate GL_LINEAR/NEAREST minification filters
Emulate GL_LINEAR/NEAREST minification filters using minLod = 0 and maxLod = 0.25 during sampler creation
6 years ago
Morph
be660e7749
maxwell_to_vk: Reorder filter cases and correct mipmap_filter=None
maxwell_to_vk: Reorder filtering modes to start with None, then Nearest, then Linear.
maxwell_to_vk: Logs filter modes under UNREACHABLE_MSG instead of UNIMPLEMENTED_MSG, since any unknown filter modes are invalid and not unimplemented.
maxwell_to_vk: Return VK_SAMPLER_MIPMAP_MODE_NEAREST instead of VK_SAMPLER_MIPMAP_MODE_LINEAR when mipmap_filter is None with the description from the VkSamplerCreateInfo(3) man page.
6 years ago
Morph
8868fb745f
maxwell_to_gl: Miscellaneous changes
maxwell_to_gl: Log unimplemented features under UNIMPLEMENTED_MSG instead of LOG_ERROR to bring into parity with maxwell_to_vk
maxwell_to_gl: Deduplicate logging in VertexType(), merging them into one.
maxwell_to_gl: Return GL_NEAREST instead of GL_LINEAR if an unknown texture filter mode is encountered.
maxwell_to_gl: Log the mipmap filter mode if an unknown value is passed in.
maxwell_to_gl: Reorder filtering modes to start with None, then Nearest, then Linear.
6 years ago
MerryMage
44f10d9b9f
macro_jit_x64: Inline Engines::Maxwell3D::GetRegisterValue
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
MerryMage
c409722435
macro_jit_x64: Optimization implicitly assumes same destination
6 years ago
MerryMage
a6ddd7c382
macro_jit_x64: Should not skip zero registers for certain ALU ops
The code generated for these ALU ops assume src_a and src_b are always valid.
6 years ago
Kaiwen Xu
7a59eeb5be
Fix framebuffer size on fractional scaling display.
6 years ago
VolcaEM
bd9495c9ab
Remove unnecessary pragmas
6 years ago
VolcaEM
c0d6162050
Revert IsValidNRO refactor but make it more readable
6 years ago
VolcaEM
4b71bf654d
Update assert string
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