Alexander Orzechowski
9e0510f77d
gl_device: Use a more robust way to use strict context mode
Instead of checking a environment variable which may not actually
exist or is just wrong, ask QT if it's running on the wayland
platform.
3 years ago
Alexander Orzechowski
ef5ccad791
video_core/vulkan: Explicity check swapchain size when deciding to recreate
Vulkan for whatever reason does not return VK_ERROR_OUT_OF_DATE_KHR when
the swapchain is the wrong size. Explicity make sure the size is indeed
up to date to workaround this.
3 years ago
Liam
2c6460d168
renderer_opengl: refactor context acquire
3 years ago
yzct12345
462220fe15
Fix validation errors on less compatible Intel GPU
3 years ago
Liam
c5a82ada2b
video_core: fix off by one in anisotropic filtering amount
3 years ago
Salvage
56a3ed4355
Fix compilation error
3 years ago
Liam
292cc68b75
video_core: Integrate SMAA
Co-authored-by: goldenx86 <goldenx86@users.noreply.github.com>
Co-authored-by: BreadFish64 <breadfish64@users.noreply.github.com>
3 years ago
FengChen
b40cdac0a4
video_core: Add vertex_array_instance_* sbubbed called warning
3 years ago
FengChen
17596e69b9
video_core: The draw manager manages whether Clear is required.
3 years ago
FengChen
f09cf68f91
video_core: Adjust topology update logic
3 years ago
Feng Chen
ad05d9fe1e
video_core: Implement maxwell3d draw manager and split draw logic
3 years ago
Liam
d50abc6a9c
vulkan_common: further initialization tweaks
3 years ago
Fernando Sahmkow
7a7235b961
Vulkan: Implement Alpha coverage
3 years ago
Alexandre Bouvier
325a016cd2
cmake: prefer system libraries
3 years ago
Liam
ee4e09128f
vulkan_common: add feature test for shaderDrawParameters
3 years ago
Liam
88ee9ef9ba
vulkan_common: clean up extension usage
3 years ago
Liam
b656f90c11
vulkan_common: correct usage of timeline semaphore fallbacks
3 years ago
Liam
f848103437
vulkan_common: ensure all mandatory features are tested in feature report
3 years ago
Liam
8db4f8593c
vulkan_common: unsuffix 16-bit storage feature test structure
3 years ago
Liam
d2299ce7d8
vulkan_common: unsuffix timeline semaphore feature test structure
3 years ago
Liam
e46525c84f
vulkan_common: add logicOp to feature report
3 years ago
Liam
540a841351
vulkan_common: promote host query reset usage to core
3 years ago
Liam
f165ae4daf
vulkan_common: promote descriptor update template usage to core
3 years ago
Liam
63b830fd41
vulkan_common: promote timeline semaphore usage to core
3 years ago
Liam
8fbec5d298
externals: update dynarmic, SDL2
3 years ago
Liam
e8966fd1f9
shader_recompiler: add gl_Layer translation GS for older hardware
3 years ago
Feng Chen
f7e82d2fd6
video_core: Fine tuning the index drawing judgment logic
3 years ago
Liam
44db218c6d
vulkan_common: quiet some validation errors
3 years ago
ameerj
fb155dbffc
CMake: Consolidate common PCH headers
3 years ago
Kelebek1
bb10e5e6eb
Respect render mode override
3 years ago
ameerj
bbf3e7f313
CMake: Use precompiled headers
3 years ago
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