lat9nq
1ad8df763f
video_core: Check broken compute earlier
Checks it as the system is determining what settings to enable. Reduces
the need to check settings while the system is running.
3 years ago
Kelebek1
6bd6e24d6e
Use current GPU address when unmapping GPU pages, not the base
3 years ago
lat9nq
a74f77bbbc
video_core: Formalize HasBrokenCompute
Also limits it to only affected Intel proprietrary driver versions.
vulkan_device: Move broken compute determination
vk_device: Remove errant back quote
3 years ago
GPUCode
7b3718dc9c
renderer_vulkan: Add missing initializers
3 years ago
GPUCode
66d3a1c5c7
renderer_vulkan: Use VMA for buffers
3 years ago
GPUCode
d84d595dab
renderer_vulkan: Use VMA for images
3 years ago
GPUCode
fd9b920d2d
memory_allocator: Remove OpenGL interop
* Appears to be unused atm
3 years ago
lat9nq
0a4650cd2b
externals: Add vma and initialize it
video_core: Move vma implementation to library
3 years ago
lat9nq
38fe34a43f
vulkan_device: Remove external memory extension
Unused in yuzu. Enables yuzu to boot games in Wine using Vulkan.
3 years ago
Liam
e62d452bd9
renderer_vulkan: add missing include
3 years ago
Kelebek1
547e837f78
Synchronize vertex buffer even when it doesn't require binding
3 years ago
FengChen
255ab12789
video_core: add samples check when find render target
3 years ago
Wollnashorn
e10113e853
video_core: Only apply AF to 2D (array) image types
3 years ago
Wollnashorn
62b0b6bde0
video_core: Removed AF for all mip modes option as it's default now
3 years ago
Feng Chen
c362895572
video_core: drawtexture support upscale
3 years ago
Wollnashorn
815f54385a
video_core: Use sampler IDs instead pointers in the pipeline config
The previous approach of storing pointers returned by `GetGraphicsSampler`/`GetComputeSampler` caused UB, as these functions can cause reallocation of the sampler slot vector and therefore invalidate the pointers
3 years ago
Wollnashorn
eff77dae59
video_core: Fallback to default anisotropy instead to 1x anisotropy
3 years ago
Wollnashorn
e405fb1c72
video_core: Disable AF for non-color image formats
3 years ago
Wollnashorn
1f7c69934d
video_core: Fixed compilation errors because of name shadowing
3 years ago
Liam
0875e158fe
vulkan_device: disable extended_dynamic_state2 on ARM drivers
3 years ago
Wollnashorn
1844cad9d4
video_core: Add per-image anisotropy heuristics (format & mip count)
3 years ago
Liam
c913c891e0
video_core: preallocate fewer IR blocks
3 years ago
Liam
d0837e10ae
video_core: optionally skip barriers on feedback loops
3 years ago
Liam
e77190ffab
renderer_vulkan: propagate conditional barrier support
3 years ago
Wollnashorn
04782a922d
video_core: Apply AF only to samplers with normal LOD range [0, 1+x]
3 years ago
Wollnashorn
9f46c7724b
video_core: Fix default anisotropic heuristic
3 years ago
Wollnashorn
614f8a0429
video_core: Never apply AF to None mipmap mode
Should fix some artifacts with the "apply anisotropic filtering for all mipmap modes" option
3 years ago
Wollnashorn
ff4c4a45e6
video_core: Disable anisotropic filtering for samplers with depth compare
3 years ago
Morph
9da90de908
buffer_cache_base: Specify buffer type in HostBindings
Avoid reinterpret-casting from void pointer since the type is already known at compile time.
3 years ago
Wollnashorn
6f1fb4c28a
video_core: Option to apply anisotropic filtering for all mipmap modes
3 years ago
bunnei
e1402935d9
android: Fix screen orientation & blurriness.
3 years ago
Liam
947a4f6141
shader_recompiler: translate f64 to f32 when unsupported on host
3 years ago
Liam
b646ac2908
shader_recompiler: remove barriers in conditional control flow when device lacks support
3 years ago
Liam
2046bead0e
image_info: adjust rescale thresholds and refactor constant use
3 years ago
Liam
7e5be01a48
vk_blit_screen: use higher bit depth for fxaa
3 years ago
Kelebek1
ac23abacac
Combine vertex/transform feedback buffer binding into a single call
3 years ago
Morph
1b83c7eab4
(wall, native)_clock: Add GetGPUTick
Allows us to directly calculate the GPU tick without double conversion to and from the host clock tick.
3 years ago
Morph
2856fadaa0
core_timing: Use CNTPCT as the guest CPU tick
Previously, we were mixing the raw CPU frequency and CNTFRQ.
The raw CPU frequency (1020 MHz) should've never been used as CNTPCT (whose frequency is CNTFRQ) is the only counter available.
3 years ago
Carlos Estrague / Mrc_munir
1de6e7a3e5
Updated to lexicographical order suggestions
3 years ago
Carlos Estrague / Mrc_munir
e450a7d28c
Make VK_EXT_robustness2 optional
For some reason nvidia implemented Vulkan 1.2 supported without support for VK_EXT_robustness2 in tegra X1/X2 .
Fix vulkan work in TX1/TX2 L4T drivers .
3 years ago
bunnei
f4dd94ab58
android: vk_presentation_manager: Fix unusued needs_recreation.
3 years ago
bunnei
8e9813a618
android: vk_turbo_mode: Remove unnecessary device recreation.
- Fixes a rare crash.
3 years ago
bunnei
fb362f0b6e
android: renderer_vulkan: Fix crash with surface recreation.
3 years ago
bunnei
d57495d3c0
android: Fix presentation layout on foldable and tablet devices.
3 years ago
bunnei
445a1f1b18
video_core: vk_rasterizer: Decrease draw dispatch count for Android.
3 years ago
bunnei
230dd8192d
android: GPU: Enable async presentation, increase frames in flight.
3 years ago
bunnei
c55db7e03d
android: vulkan_device: Skip BGR565 emulation on S8gen2.
3 years ago
bunnei
4e2cdf74a3
android: vulkan_device: Only compile OverrideBcnFormats when used.
3 years ago
Liam
5d9250daf4
android: remove spurious warnings about BCn formats when patched with adrenotools
3 years ago
bunnei
ac32fd08e9
android: video_core: Disable some problematic things on GPU Normal.
3 years ago