Commit Graph

13816 Commits (59d0d34dce3fa3be6374f6a2740d69c1f622547a)
 

Author SHA1 Message Date
bunnei 116a940dbb
Merge pull request #3204 from ReinUsesLisp/vulkan-headers
externals: Update Vulkan-Headers
5 years ago
ReinUsesLisp 7ea362e134
externals: Update Vulkan-Headers 5 years ago
Rodrigo Locatti e54699565a
Merge pull request #3199 from ReinUsesLisp/vk-swapchain
vk_swapchain: Add support for swapping sRGB
5 years ago
Rodrigo Locatti f73e569ba8
Merge pull request #3202 from lioncash/kernel-include
kernel: Remove unnecessary includes
5 years ago
Lioncash c3e43c7e81 kernel: Remove unnecessary includes
Over the course of the changes to the kernel code, a few includes are no
longer necessary, particularly with the change over to std::shared_ptr
from Boost's intrusive_ptr.
5 years ago
Lioncash 67b8265bd6 kernel/svc: Provide implementations for svcDumpInfo/svcDumpInfoNew
These are fairly trivial to implement, we can just do nothing. This also
provides a spot for us to potentially dump out any relevant info in the
future (e.g. for debugging purposes with homebrew, etc).

While we're at it, we can also correct the names of both of these
supervisor calls.
5 years ago
ReinUsesLisp f632d00eb1
vk_swapchain: Add support for swapping sRGB
We don't know until the game is running if it's using an sRGB color
space or not. Add support for hot-swapping swapchain surface formats.
5 years ago
ReinUsesLisp 36651f215a
maxwell_3d: Add tessellation tess level registers 5 years ago
ReinUsesLisp 707bf41c6f
maxwell_3d: Add tessellation mode register 5 years ago
ReinUsesLisp d2b50c5ebd
maxwell_3d: Add patch vertices register 5 years ago
bunnei 4bbb22a477
Merge pull request #3195 from FernandoS27/clear-exclusive
CpuCore: Clear exclusive state after doing a run in dynarmic.
5 years ago
bunnei d49ed4a421
Merge pull request #3197 from ReinUsesLisp/shader-char
shader_bytecode: Remove corrupted character
5 years ago
ReinUsesLisp 74f515e8b6
shader_bytecode: Remove corrupted character 5 years ago
bunnei e36814d6d5
Merge pull request #3109 from FernandoS27/new-instr
Implement FLO & TXD Instructions on GPU Shaders
5 years ago
bunnei ef2b6733d0
Merge pull request #3196 from jmerdich/fix-ea-source-build
[EA source]: Ignore git-related files in cmake for early access tarballs
5 years ago
Jake Merdich dc70a36b44 Ignore git-related files in cmake for EA tarballs
This fixes the early-access builds on Windows (tested on EA 58). Cmake
was previously looking for git-related files that were stripped out of
the early access builds and failing; check if those exist before reading
them.
5 years ago
Fernando Sahmkow 40cd4df584 CpuCore: Clear exclusive state after doing a run in dynarmic.
This commit corrects an error in which a Core could remain with an
exclusive state after running, leaving space for possible race
conditions between changing cores.
5 years ago
bunnei 2f79cc3ef5
Merge pull request #3191 from yuzu-emu/jroweboy-patch-1
Add missing CMakeLists.txt from root folder to source upload
5 years ago
James Rowe 2883cc1658
Add missing CMakeLists.txt from root folder to source upload
Fixes #3190
5 years ago
bunnei 560cfbc21a
Merge pull request #3188 from ReinUsesLisp/backend-telemetry
telemetry_session: Report renderer backend
5 years ago
ReinUsesLisp be9f80ef56
telemetry_session: Report renderer backend
We only have OpenGL as an option for now. Hardcode the entry.
5 years ago
ReinUsesLisp 526e533e90
telemetry_session: Use temporary to avoid writing the same enum 5 years ago
bunnei 3c1b6b5723
Merge pull request #2987 from FernandoS27/texture-invalid
Texture_Cache: Redo invalid Surfaces handling.
5 years ago
bunnei 5c7253f8d3
Merge pull request #3177 from bunnei/new-ipc-req
kernel: Implement a more accurate IPC dispatch.
5 years ago
bunnei 930b7c18a6
Merge pull request #3184 from ReinUsesLisp/framebuffer-cache
gl_framebuffer_cache: Optimize framebuffer cache management
5 years ago
Fernando Sahmkow b2c7636710
Merge pull request #3185 from ReinUsesLisp/oob-texture
texture_cache/surface_base: Fix out of bounds texture views
5 years ago
ReinUsesLisp ff64c3951a
texture_cache/surface_base: Fix out of bounds texture views
Some texture views were being created out of bounds (with more layers or
mipmaps than what the original texture has). This is because of a
miscalculation in mipmap bounding. end_layer and end_mipmap are out of
bounds (e.g. layer 6 in a cubemap), there's no need to add one more
there.

Fixes OpenGL errors and Vulkan crashes on Splatoon 2.
5 years ago
ReinUsesLisp fb6cf12a17
gl_framebuffer_cache: Optimize framebuffer key
Pack color attachment enumerations into a single u32. To determine the
number of buffers, the highest color attachment with a shared pointer
that doesn't point to null is used.
5 years ago
ReinUsesLisp c34da106ed
gl_rasterizer: Re-enable framebuffer cache for clear buffers 5 years ago
ReinUsesLisp e6a0a30334
renderer_opengl: Make ScreenRectVertex's constructor constexpr 5 years ago
ReinUsesLisp dee7844443
renderer_opengl: Remove C casts 5 years ago
ReinUsesLisp 3a44faff11
renderer_opengl: Use explicit binding for presentation shaders 5 years ago
ReinUsesLisp 75cc501d52
renderer_opengl: Drop macros for message decorations 5 years ago
ReinUsesLisp 056f049b26
renderer_opengl: Move static definitions to anonymous namespace 5 years ago
ReinUsesLisp 4589582eaf
renderer_opengl: Move commentaries to header file 5 years ago
bunnei c3d3b173d3 kernel: Implement a more accurate IPC dispatch. 5 years ago
bunnei e3ee017e91
Merge pull request #3169 from lioncash/memory
core/memory: Deglobalize memory management code
5 years ago
bunnei fe65045dcb
Merge pull request #3171 from lioncash/internal-link
filesys/romfs: Make ProcessFile and ProcessDirectory internally linked
5 years ago
Morph e0242a4654 patch_manager: Adds check for disabled cheats to prevent them from being enabled (#3178)
* Adds check for disabled cheats to prevent them from being added to the CheatList

* Address feedback
5 years ago
bunnei c47fc3301d
Merge pull request #3170 from lioncash/enum
file_sys/directory: Make EntryType an enum class
5 years ago
Rodrigo Locatti 913d0bb269
Merge pull request #3174 from lioncash/optional
video_core/gpu_thread: Tidy up SwapBuffers()
5 years ago
Lioncash aed6d8bef5 video_core/gpu_thread: Tidy up SwapBuffers()
We can just use std::nullopt and std::make_optional to make this a
little bit less noisy.
5 years ago
Rodrigo Locatti 40ec1c22ce
Merge pull request #3172 from lioncash/pragma
video_core/const_buffer_locker: Remove #pragma once from cpp file
5 years ago
Lioncash 9403979c22 video_core/const_buffer_locker: Make use of std::tie in HasEqualKeys()
Tidies it up a little bit visually.
5 years ago
Lioncash 930e311526 video_core/const_buffer_locker: Remove unused includes 5 years ago
Lioncash 9341ca7979 video_core/const_buffer_locker: Remove #pragma once from cpp file
Silences a compiler warning.
5 years ago
Lioncash d66ab2b8aa filesys/romfs: Remove unused includes
These inclusions aren't used at all within the public interface, so they
can be removed.
5 years ago
Lioncash ba3c55ab7b filesys/romfs: Make ProcessFile and ProcessDirectory internally linked
These functions aren't used outside of this file, so we can place them
within an anonymous namespace.
5 years ago
Lioncash a3149536e2 file_sys/directory: Make EntryType an enum class
This can trivially be an enum class rather than a regular enum, making
it more strongly typed.
5 years ago
Lioncash e7e939104b core/memory; Migrate over SetCurrentPageTable() to the Memory class
Now that literally every other API function is converted over to the
Memory class, we can just move the file-local page table into the Memory
implementation class, finally getting rid of global state within the
memory code.
5 years ago