Commit Graph

13269 Commits (48e16c4c496474793da36fde89a3f0d5c5f69b28)
 

Author SHA1 Message Date
ReinUsesLisp 48e16c4c49
gl_shader_cache: Add missing new-line on emitted GLSL
Add missing new-line. This caused shaders using local memory and shared
memory to inject a preprocessor GLSL line after an expression (resulting
in invalid code).

It looked like this:
shared uint smem[8];#define LOCAL_MEMORY_SIZE 16

It should look like this (addressed by this commit):
shared uint smem[8];
\#define LOCAL_MEMORY_SIZE 16
5 years ago
Fernando Sahmkow 6edadef96d
Merge pull request #3208 from ReinUsesLisp/vk-shader-decompiler
vk_shader_decompiler: Add tessellation and misc changes
5 years ago
ReinUsesLisp 233ed96a5c
vk_shader_decompiler: Fix build issues on old gcc versions 5 years ago
ReinUsesLisp d30cf51d7d
vk_shader_decompiler: Reduce YNegate's severity 5 years ago
ReinUsesLisp 0b5b93053d
shader_ir/other: Implement S2R InvocationId 5 years ago
ReinUsesLisp ecbfa416f0
vk_shader_decompiler: Misc changes
Update Sirit and its usage in vk_shader_decompiler. Highlights:
- Implement tessellation shaders
- Implement geometry shaders
- Implement some missing features
- Use native half float instructions when available.
5 years ago
ReinUsesLisp 9ad6327fbd
shader: Keep track of shaders using warp instructions 5 years ago
ReinUsesLisp 6233b1db08
shader_ir/memory: Implement patch stores 5 years ago
Fernando Sahmkow f2458106e6
Merge pull request #3205 from ReinUsesLisp/vk-device
vk_device: Misc changes
5 years ago
ReinUsesLisp 19ce0d4f1a
vk_device: Misc changes
- Setup more features and requirements.
- Improve logging for missing features.
- Collect telemetry parameters.
- Add queries for more image formats.
- Query push constants limits.
- Optionally enable some extensions.
5 years ago
bunnei faf5ae6a50
Merge pull request #3198 from ReinUsesLisp/tessellation-maxwell
maxwell_3d: Add tessellation state entries
5 years ago
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
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
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