bunnei
82eb7d8c15
common: wall_clock: Fix integer overflow with StandardWallClock.
- Previous optimized impl. resulted in an integer overflow, so revert.
- This is our slow/fallback path that should never be really be used, so the optimization in unimportant.
5 years ago
bunnei
5dbcaa2970
hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.
5 years ago
bunnei
c21aa2479a
hle: kernel: Migrate MemoryManager to KMemoryManager.
5 years ago
bunnei
21a22af0c5
hle: kernel: Migrate PageLinkedList to KPageLinkedList.
5 years ago
bunnei
a4c5e6d964
hle: kernel: Migrate to KMemoryBlock, KMemoryBlockManager, and others.
5 years ago
bunnei
5702047b65
hle: kernel: Migrate SlabHeap to KSlabHeap.
5 years ago
bunnei
8c9e87ab66
hle: kernel: Migrate MemoryLayout to KMemoryLayout.
5 years ago
bunnei
867294d639
hle: kernel: Migrate AddressSpaceInfo to KAddressSpaceInfo.
5 years ago
bunnei
921fd4932f
hle: kernel: memory_manager: Rename AllocateContinuous to AllocateContinuous.
5 years ago
bunnei
f82b15089b
hle: kernel: KSystemControl does not belong in Memory namespace.
5 years ago
bunnei
5a1fe8c70a
hle: kernel: memory: PageHeap: Migrate to KPageBitmap class.
5 years ago
bunnei
cafc6c3707
hle: kernel: Add KPageBitmap class.
5 years ago
bunnei
d072e9b977
hle: kernel: system_control: Add function GenerateRandomU64.
5 years ago
bunnei
954384a84a
common: Add implementation of TinyMT (Mersenne Twister RNG).
5 years ago
bunnei
c51da1b0d5
hle: kernel: Add KSpinLock implementation.
5 years ago
bunnei
a706a6a08e
core: memory: Add templated GetPointer methods.
5 years ago
bunnei
c5df99ea2f
common: alignment: Add DivideUp utility method.
5 years ago
bunnei
f8d8755776
hle: kernel: Rename SharedMemory to KSharedMemory.
5 years ago
Morph
ebf4986174
Revert "Port citra-emu/citra#5123 : "SDL: Disable hidapi drivers due to compatibility problems with certain controllers""
5 years ago
ReinUsesLisp
a02cc7e039
common/cityhash: Use common types
Allow sharing return types with the rest of the code base. For example,
we use 'u128 = std::array<u64, 2>', meanwhile Google's code uses
'uint128 = std::pair<u64, u64>'.
While we are at it, use size_t instead of std::size_t.
5 years ago
ReinUsesLisp
58ed3fa9f5
tests: Add tests for CityHash
5 years ago
ReinUsesLisp
76e2d40963
vk_rasterizer: Fix loading shader addresses twice
This was recently introduced on a wrongly rebased commit.
5 years ago
bunnei
1c8d749458
core: core_timing_util: Optimize core timing math.
- Avoids a lot of unnecessary 128-bit math for imperceptible accuracy.
5 years ago
bunnei
a8fbe6493e
common: wall_clock: Optimize GetClockCycles/GetCPUCycles to use a single MUL instruction.
5 years ago
bunnei
e6f71e15a1
common: Merge uint128 to a single header file with inlines.
5 years ago
Morph
57738090f7
core/CMakeLists: Add web_types.h
5 years ago
Kelebek1
16a5c56b7c
Review 1
5 years ago
Kelebek1
4e04e95a8e
Implement texture offset support for TexelFetch and TextureGather and add offsets for Tlds
Formatting
5 years ago
lat9nq
fb1090fb78
debugger: controller: Add access key
Adds the access key to the Controller P1 selection at View -> Debugger
-> Controller P1. Avoids using the windowTitle as that would add a
literal & to the beginning of the window title.
5 years ago
bunnei
fddde225c5
yuzu: Various frontend improvements to avoid crashes and improve experience on Linux.
5 years ago
bunnei
b950e28dfa
hle: service: ldn: IUserLocalCommunicationService: Improve the stub.
5 years ago
german
47f0b00c9d
Improve mouse panning
5 years ago
bunnei
5fc36d40f8
hle: service: ldn: IUserLocalCommunicationService: Indicate that LDN is disabled.
- Fixes crash on Pokemon Sword/Shield when pressing 'Y'.
5 years ago
bunnei
909c60e51e
hle: service: am: IStorageAccessor: Fix out of bounds error handling.
5 years ago
ReinUsesLisp
ec1854363e
vk_resource_pool: Load GPU tick once and compare with it
Other minor style improvements. Rename free_iterator to hint_iterator,
to describe better what it does.
5 years ago
ReinUsesLisp
7fa30ea272
vk_update_descriptor: Inline and improve code for binding buffers
Allow compilers with our settings inline hot code.
5 years ago
ReinUsesLisp
261380d2b6
fixed_pipeline_cache: Use dirty flags to lazily update key
Use dirty flags to avoid building pipeline key from scratch on each draw
call. This saves a bit of unnecesary work on each draw call.
5 years ago
ameerj
c18cef2a9b
gl_texture_cache: Lazily create non-sRGB texture views for sRGB formats
This creates non-sRGB texture views for sRGB texture formats to allow for interfacing with these views in compute shaders using imageLoad and imageStore.
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
5 years ago
ameerj
01dec35df3
rebase, fix name shadowing, more const
5 years ago
ameerj
c0ccf9eac5
Address PR feedback
Co-Authored-By: LC <712067+lioncash@users.noreply.github.com>
5 years ago
ameerj
427eca063d
streamline cdma_pusher/command_classes
5 years ago
ameerj
e97cd00753
streamline cdma_pusher/command_classes
5 years ago
ameerj
be6c487b4e
nvdec cleanup
5 years ago
ReinUsesLisp
898de871a9
vk_master_semaphore: Mark gpu_tick atomic operations with relaxed order
5 years ago
ReinUsesLisp
6f5d45aecc
vk_staging_buffer_pool: Inline tick tests
Load the current tick to a local variable, moving it out of an atomic
and allowing us to compare the value without going through a pointer
each time. This should make the loop more optimizable.
5 years ago
ReinUsesLisp
2f40ef90c5
gl_stream_buffer/vk_staging_buffer_pool: Fix size check
Fix a tragic off-by-one condition that causes Vulkan's stream buffer to
think it's always full, using fallback memory. The OpenGL was also
affected by this bug to a lesser extent.
5 years ago
ReinUsesLisp
bf10ce380b
vulkan_device: Require VK_EXT_robustness2
We are already using robustness2 features without requiring it
explicitly, causing potential crashes on drivers without the extension.
Requiring this at boot allows better diagnostics for it and formalizes
our usage on the extension.
5 years ago
ReinUsesLisp
7f4f760938
config: Make high GPU accuracy the default
This is a better default for most games, yielding better performance and
less graphical issues.
5 years ago
ReinUsesLisp
3f190b946c
video_core: Fix clang build issues
5 years ago
ReinUsesLisp
50d8c1eb35
vk_staging_buffer_pool: Fix softlock when stream buffer overflows
There was still a code path that could wait on a timeline semaphore tick
that would never be signalled.
While we are at it, make use of more STL algorithms.
5 years ago