Lioncash
225f5ba19f
host1x/syncpoint_manager: Eliminate unnecessary std::function construction
We can just pass the function object through, and if it's a valid
function, then it will automatically be converted.
3 years ago
Lioncash
b03305859e
host1x/syncpoint_manager: Pass DeregisterAction() handle as const-ref
The handle is only compared against and not modified in any way, so we
can pass it by const reference.
This also allows us to mark the respective parameters for
DeregisterGuestAction() and DeregisterHostAction() as const references
as well.
3 years ago
Lioncash
a3ed3c8340
maxwell_3d: Mark shifted value as unsigned
Otherwise this is technically creating a signed int result that gets
converted. Just a consistency change.
While we're in the area, we can mark Samples() as const.
3 years ago
Lioncash
0d9c723df4
engines: Remove unnecessary casts
In a few cases we have some casts that can be trivially removed.
3 years ago
Lioncash
789c33dc48
video_core/surface: Eliminate casts in GetFormatType()
We can just compare directly and get rid of verbose casting.
3 years ago
Liam
acc4a150ef
video_core: add null backend
3 years ago
Liam
0a077cb467
Vulkan: update initialization
Co-authored-by: bylaws <bylaws@users.noreply.github.com>
3 years ago
Fernando Sahmkow
984c30bc52
Fermi2D: Cleanup and address feedback.
3 years ago
Fernando Sahmkow
b3708b0a5b
GPU: Fix buffer cache issue, engine upload not inlining memory in multiline and pessismistic invalidation.
3 years ago
Fernando Sahmkow
a87ff9181b
GPU: Implement additional render target formats.
3 years ago
Fernando Sahmkow
e3b3fcb1fc
MaxwellDMA: Implement BlockLinear to BlockLinear copies.
3 years ago
Fernando Sahmkow
41b3ddbbae
Fermi2D: Implement Bilinear software filtering and address feedback.
3 years ago
Fernando Sahmkow
f4291e4576
Fermi2D: Rework blit engine and add a software blitter.
3 years ago
Matías Locatti
8e19421f84
FSR Sharpening Slider part 1 - only a global slider
3 years ago
Morph
79d76606f2
maxwell_to_vk: Add R16_SINT
This was somehow missed when the format was added to GL
3 years ago
Morph
44ef6e38cb
maxwell_to_vk: Fix format usage bits
- VK_FORMAT_B8G8R8A8_UNORM supports the STORAGE_IMAGE_BIT
- VK_FORMAT_R4G4B4A4_UNORM_PACK16 does not support the COLOR_ATTACHMENT_BIT
3 years ago
Liam
5a712bb51a
general: fix compile for Apple Clang
3 years ago
FengChen
607a965c57
video_core: Optimize maxwell drawing trigger mechanism
3 years ago
Liam
e219606128
maxwell3d: full HLE for multi-layer clears
3 years ago
Liam
bc9a3c2033
maxwell3d: HLE multi-layer clear macro
3 years ago
Matías Locatti
dad4e68530
Update renderer_vulkan.cpp
3 years ago
Feng Chen
e32414b94b
video_core: Reimplement inline index buffer binding
3 years ago
Kyle Kienapfel
d886438754
Add break for default cases
Visual Studio has an option to search all files in a solution, so I
did a search in there for "default:" looking for any missing break
statements.
I've left out default statements that return something, and that throw
something, even if via ThrowInvalidType. UNREACHABLE leads towards throw
R_THROW macro leads towards a return
3 years ago
Kelebek1
a5b76126e1
Fix regs regression with OpenGL two-sided stencil, and re-add data invalidation reg
3 years ago
Morph
fc301cf777
ir/texture_pass: Use host_info instead of querying Settings::values ( #9176 )
3 years ago
FengChen
751f16bf66
video_core: Fix dma copy 1D random crash
3 years ago
Liam
9509fb30a4
Initial ARM64 support
3 years ago
FengChen
348c6e5b28
video_core: Fix few issues in Tess stage
3 years ago
FengChen
9d1c9f1f58
video_core:Fix vmm kinds size error
3 years ago
FengChen
d1ae6c4092
video_core: Fix scaling graphical regressions for multiple games
3 years ago
gidoly
4dad66ac4b
Update shader cache version. ( #9175 )
3 years ago
Feng Chen
bcf6a7c0dd
video_core: Fix SNORM texture buffer emulating error ( #9001 )
3 years ago
FengChen
3e0cc4fd75
video_core: Fix drawing trigger mechanism regression
3 years ago
Fernando Sahmkow
ed7af8f0d9
Vulkan: Fix regression caused by limiting render area to width/height of rendef targets.
3 years ago
Liam
3d52adefa1
vk_blit_screen: recreate swapchain images on guest format change
3 years ago
Robin Kertels
1f55ab85ab
vk_scheduler: Remove recorded_counts
3 years ago
FengChen
2636c9f876
video_core: Fix drawing trigger mechanism regression
3 years ago
FengChen
072fde772d
video_core: Catch vulkan clear op not all channel need clear
3 years ago
Morph
afea768e8d
general: Resolve -Wunused-but-set-variable
3 years ago
Morph
c6c56d3e9c
general: Resolve -Wunused-lambda-capture and C5233
3 years ago
Morph
e9aa1821e8
decoders: Use 2's complement instead of unary -
Resolves C4146 on MSVC
3 years ago
Morph
4bad20dc5f
CMakeLists: Remove all redundant warnings
These are already explicitly or implicitly set in src/CMakeLists.txt
3 years ago
FengChen
f9f995c56a
video_core: Implement maxwell inline_index method
3 years ago
FengChen
8eed4e7ee5
video_coare: Reimplementing the maxwell drawing trigger mechanism
3 years ago
Morph
d481ac5a0c
format_lookup_table: Implement R32_B24G8 with D32_FLOAT_S8_UINT
This format is similar to Z32_FLOAT_X24S8_UINT, which is implemented with D32_FLOAT_S8_UINT.
Used in Persona 5 Royal
3 years ago
Liam
b3c972a500
video_core: don't build ASTC decoder shader unless requested
3 years ago
Fernando Sahmkow
6118d0d042
Maxwell3D/Puller: Fix regressions and syncing issues.
3 years ago
bunnei
2a909989ee
video_core: renderer_vulkan: vk_query_cache: Avoid shutdown crash in QueryPool::Reserve.
4 years ago
FengChen
584a200d86
video_core: implement 1D copies based on VMM 'kind'
3 years ago
FengChen
2d53a37461
video_core: Implement memory manager page kind
3 years ago