Wollnashorn
2dc0ff79ec
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
a3b7b5b22a
video_core: Fallback to default anisotropy instead to 1x anisotropy
3 years ago
Wollnashorn
745d16132b
video_core: Disable AF for non-color image formats
3 years ago
Wollnashorn
3e8cd91d54
video_core: Fixed compilation errors because of name shadowing
3 years ago
Liam
3304d58edb
vulkan_device: disable extended_dynamic_state2 on ARM drivers
3 years ago
Wollnashorn
42c944b250
video_core: Add per-image anisotropy heuristics (format & mip count)
3 years ago
Liam
2c01669046
video_core: preallocate fewer IR blocks
3 years ago
Liam
8d6aefdcc4
video_core: optionally skip barriers on feedback loops
3 years ago
Liam
cc4334870b
renderer_vulkan: propagate conditional barrier support
3 years ago
Wollnashorn
0de6b9e3f5
video_core: Apply AF only to samplers with normal LOD range [0, 1+x]
3 years ago
Wollnashorn
a9e4dddad5
video_core: Fix default anisotropic heuristic
3 years ago
Wollnashorn
44f616edb9
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
b9bba3ac89
video_core: Disable anisotropic filtering for samplers with depth compare
3 years ago
Morph
925586f97b
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
0eacf547c0
video_core: Option to apply anisotropic filtering for all mipmap modes
3 years ago
bunnei
ea716eb5cc
android: Fix screen orientation & blurriness.
3 years ago
Liam
2f1e87dd83
shader_recompiler: translate f64 to f32 when unsupported on host
3 years ago
Liam
2bb7ea436d
shader_recompiler: remove barriers in conditional control flow when device lacks support
3 years ago
Liam
05b66877d1
image_info: adjust rescale thresholds and refactor constant use
3 years ago
Liam
74671186bf
vk_blit_screen: use higher bit depth for fxaa
3 years ago
Kelebek1
ace6c2318b
Combine vertex/transform feedback buffer binding into a single call
3 years ago
Morph
907507886d
(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
8e56a84566
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
b854981917
Updated to lexicographical order suggestions
3 years ago
Carlos Estrague / Mrc_munir
19d05bd4d7
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
db6737f2ba
android: vk_presentation_manager: Fix unusued needs_recreation.
3 years ago
bunnei
df70fdc95b
android: vk_turbo_mode: Remove unnecessary device recreation.
- Fixes a rare crash.
3 years ago
bunnei
098e2c4077
android: renderer_vulkan: Fix crash with surface recreation.
3 years ago
bunnei
057117f009
android: Fix presentation layout on foldable and tablet devices.
3 years ago
bunnei
cf9f4f67dd
video_core: vk_rasterizer: Decrease draw dispatch count for Android.
3 years ago
bunnei
f0ed20c8a2
android: GPU: Enable async presentation, increase frames in flight.
3 years ago
bunnei
5d43594a70
android: vulkan_device: Skip BGR565 emulation on S8gen2.
3 years ago
bunnei
8b8123b733
android: vulkan_device: Only compile OverrideBcnFormats when used.
3 years ago
Liam
6b2e89a865
android: remove spurious warnings about BCn formats when patched with adrenotools
3 years ago
bunnei
befd477279
android: video_core: Disable some problematic things on GPU Normal.
3 years ago
bunnei
8dc7fe0c96
android: video_core: Disable problematic compute shaders.
- Fixes #104 .
3 years ago
bunnei
117bc2ae6c
android: vulkan: Recreate surface after suspension & adapt to async. presentation.
3 years ago
bunnei
ca4bf3844e
video_core: Enable support_descriptor_aliasing on Turnip, disable storage atomic otherwise.
3 years ago
bunnei
12c9e18b55
android: vulkan: Disable vertex_input_dynamic_state on Qualcomm.
3 years ago
bunnei
6d2e7de2e0
android: vulkan_debug_callback: Ignore many innocuous errors.
3 years ago
bunnei
b2aeb50229
android: vulkan_device: Disable VK_EXT_custom_border_color on Adreno.
- Causes crashes on sampler creation with Super Mario Odyssey.
3 years ago
Liam
616cf70a80
build: only enable adrenotools on arm64
3 years ago
liushuyu
e26bd1421e
video_core: fix clang-format errors
3 years ago
bunnei
ff2f370946
video_core: vulkan_device: Correct error message for unsuitable driver.
3 years ago
bunnei
8248d69093
android: vulkan: Implement adrenotools turbo mode.
3 years ago
bunnei
21320d80d9
android: vulkan_device: Disable VK_EXT_extended_dynamic_state2 on Qualcomm.
- Newer drivers report this as supported, but it is broken.
3 years ago
bunnei
4c38220a64
android: native: Add support for custom Vulkan driver loading.
3 years ago
bunnei
ae099d583c
core: frontend: Refactor GraphicsContext to its own module.
3 years ago
Billy Laws
b4a12b889e
Avoid using VectorExtractDynamic for subgroup mask on Adreno GPUs
This crashes their shader compiler for some reason.
3 years ago
Billy Laws
158a1896ec
Implement scaled vertex buffer format emulation
These formats are unsupported by mobile GPUs so they need to be emulated in shaders instead.
3 years ago