Lioncash
97ccd45bb4
kernel/svc: Implement svcUnmapProcessCodeMemory
Essentially performs the inverse of svcMapProcessCodeMemory. This unmaps
the aliasing region first, then restores the general traits of the
aliased memory.
What this entails, is:
- Restoring Read/Write permissions to the VMA.
- Restoring its memory state to reflect it as a general heap memory region.
- Clearing the memory attributes on the region.
7 years ago
Lioncash
0b1ffc40a7
kernel/svc: Implement svcMapProcessCodeMemory
This is utilized for mapping code modules into memory. Notably, the
ldr service would call this in order to map objects into memory.
7 years ago
bunnei
5679a65320
Merge pull request #2235 from ReinUsesLisp/spirv-decompiler
vk_shader_decompiler: Implement a SPIR-V decompiler
7 years ago
bunnei
7cd9b3b805
Merge pull request #2360 from lioncash/svc-global
kernel/svc: Deglobalize the supervisor call handlers
7 years ago
bunnei
64bd271e7c
Merge pull request #2388 from lioncash/constexpr
kernel: Make handle type declarations constexpr
7 years ago
bunnei
9d3d41c6b0
Merge pull request #2387 from FernandoS27/fast-copy-relax
gl_rasterizer_cache: Relax restrictions on FastCopySurface
7 years ago
Lioncash
255a6c6f4b
kernel: Make handle type declarations constexpr
Some objects declare their handle type as const, while others declare it
as constexpr. This makes the const ones constexpr for consistency, and
prevent unexpected compilation errors if these happen to be attempted to be
used within a constexpr context.
7 years ago
Fernando Sahmkow
5a01502521
gl_rasterizer_cache: Relax restrictions on FastCopySurface and FastLayeredCopySurface
7 years ago
bunnei
4c10687f1b
Merge pull request #2278 from ReinUsesLisp/vc-texture-cache
video_core: Implement API agnostic view based texture cache
7 years ago
bunnei
696ab74283
Merge pull request #2372 from FernandoS27/fermi-fix
Correct Fermi Copy on Linear Textures.
7 years ago
ReinUsesLisp
d334042c75
vk_shader_decompiler: Implement flow primitives
7 years ago
ReinUsesLisp
e3c886a149
vk_shader_decompiler: Implement most common texture primitives
7 years ago
ReinUsesLisp
7b813afc88
vk_shader_decompiler: Implement texture decompilation helper functions
7 years ago
ReinUsesLisp
357a5fcded
vk_shader_decompiler: Implement Assign and LogicalAssign
7 years ago
ReinUsesLisp
b6b1cc9ffa
vk_shader_decompiler: Implement non-OperationCode visits
7 years ago
ReinUsesLisp
4d83f1ea9e
vk_shader_decompiler: Implement OperationCode decompilation interface
7 years ago
ReinUsesLisp
86647aee2e
vk_shader_decompiler: Implement Visit
7 years ago
ReinUsesLisp
4d331aeab6
vk_shader_decompiler: Implement labels tree and flow
7 years ago
ReinUsesLisp
946b97b6f4
vk_shader_decompiler: Implement declarations
7 years ago
ReinUsesLisp
0589785e80
vk_shader_decompiler: Declare and stub interface for a SPIR-V decompiler
7 years ago
ReinUsesLisp
6272cafac7
video_core: Add sirit as optional dependency with Vulkan
sirit is a runtime assembler for SPIR-V
7 years ago
bunnei
f58f846f40
Merge pull request #2345 from ReinUsesLisp/multibind
gl_rasterizer: Use ARB_multi_bind to update buffers with a single call per drawcall
7 years ago
bunnei
3300ac99cb
Merge pull request #2377 from lioncash/todo
kernel/server_session: Remove obsolete TODOs
7 years ago
Lioncash
c7d85ae11e
kernel/server_session: Remove obsolete TODOs
These are holdovers from Citra.
7 years ago
bunnei
8bdfb51284
Merge pull request #2375 from FernandoS27/fix-ldc
Remove unnecessary bounding in LD_C
7 years ago
bunnei
4f130215fc
Merge pull request #2353 from lioncash/surface
yuzu/debugger: Remove graphics surface viewer
7 years ago
Fernando Sahmkow
3d337af7b8
Remove bounding in LD_C
7 years ago
bunnei
1302d026a1
Merge pull request #2354 from lioncash/header
video_core/texures/texture: Remove unnecessary includes
7 years ago
bunnei
53c9e7aab2
Merge pull request #1957 from DarkLordZach/title-provider
file_sys: Provide generic interface for accessing game data
7 years ago
bunnei
dd5989d907
Merge pull request #2366 from FernandoS27/xmad-fix
Correct XMAD mode, psl and high_b on different encodings.
7 years ago
bunnei
4eeae8de2e
Merge pull request #2132 from FearlessTobi/port-4437
Port citra-emu/citra#4437 : "citra-qt: Make hotkeys configurable via the GUI (Attempt 2)"
7 years ago
bunnei
dd10b8d841
Merge pull request #2370 from lioncash/qt-warn
yuzu/loading_screen: Resolve runtime Qt string formatting warnings
7 years ago
bunnei
c26108eca5
Merge pull request #2369 from FernandoS27/mip-align
gl_backend: Align Pixel Storage
7 years ago
bunnei
0e344dddc0
Merge pull request #2368 from FernandoS27/fix-lop
Correct LOP_IMM encoding
7 years ago
Fernando Sahmkow
50484ee68a
Correct Fermi Copy on Linear Textures.
7 years ago
Hexagon12
cd4e6af512
Merge pull request #2371 from lioncash/pagetable
kernel/process: Set page table when page table resizes occur.
7 years ago
Lioncash
9e3d4595b7
kernel/process: Set page table when page table resizes occur.
We need to ensure dynarmic gets a valid pointer if the page table is
resized (the relevant pointers would be invalidated in this scenario).
In this scenario, the page table can be resized depending on what kind
of address space is specified within the NPDM metadata (if it's
present).
7 years ago
Lioncash
af836c2968
yuzu/loading_screen: Resolve runtime Qt string formatting warnings
In our error console, when loading a game, the strings:
QString::arg: Argument missing: "Loading...", 0
QString::arg: Argument missing: "Launching...", 0
would occasionally pop up when the loading screen was running. This was
due to the strings being assumed to have formatting indicators in them,
however only two out of the four strings actually have them.
This only applies the arguments to the strings that have formatting
specifiers provided, which avoids these warnings from occurring.
7 years ago
Fernando Sahmkow
7f9e792814
gl_backend: Align Pixel Storage
This commit makes sure GL reads on the correct pack size for the
respective texture buffer.
7 years ago
Fernando Sahmkow
25e6fb72eb
Correct LOP_IMN encoding
7 years ago
Fernando Sahmkow
34b15b69df
Correct XMAD mode, psl and high_b on different encodings.
7 years ago
Lioncash
43e9b334af
kernel/svc: Deglobalize the supervisor call handlers
Adjusts the interface of the wrappers to take a system reference, which
allows accessing a system instance without using the global accessors.
This also allows getting rid of all global accessors within the
supervisor call handling code. While this does make the wrappers
themselves slightly more noisy, this will be further cleaned up in a
follow-up. This eliminates the global system accessors in the current
code while preserving the existing interface.
7 years ago
bunnei
74386a009b
Merge pull request #2300 from FernandoS27/null-shader
shader_cache: Permit a Null Shader in case of a bad host_ptr.
7 years ago
bunnei
233ce811cf
Merge pull request #2355 from ReinUsesLisp/sync-point
maxwell_3d: Reduce severity of ProcessSyncPoint
7 years ago
bunnei
b0512f8cf5
Merge pull request #2359 from FearlessTobi/port-2-prs
Port citra-emu/citra#4718 : "fix clang-format target when using a path with spaces on windows"
7 years ago
bunnei
63dfb003f3
Merge pull request #2306 from ReinUsesLisp/aoffi
shader_ir: Implement AOFFI for TEX and TLD4
7 years ago
bunnei
d0146b9856
Merge pull request #2361 from lioncash/pagetable
core/memory: Minor simplifications to page table management
7 years ago
bunnei
822d91bc35
Merge pull request #2321 from ReinUsesLisp/gl-state-rework
gl_state: Rework to enable individual applies
7 years ago
bunnei
490390548a
Merge pull request #2098 from FreddyFunk/disk-cache-zstd
gl_shader_disk_cache: Use Zstandard for compression
7 years ago
bunnei
be75b51381
Merge pull request #2356 from lioncash/pair
kernel/{server_port, server_session}: Return pairs instead of tuples from pair creation functions
7 years ago