Browse Source
[vulkan, qcom] Updating CUBE_BIT compatibility with QCOM drivers
qcomopts2
CamilleLaVey
1 week ago
committed by
Caio Oliveira
No known key found for this signature in database
GPG Key ID: AAAE6C7FD4186B0C
1 changed files with
5 additions and
1 deletions
-
src/video_core/vulkan_common/vulkan_device.cpp
|
|
|
@ -563,9 +563,13 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR |
|
|
|
features.shader_atomic_int64.shaderSharedInt64Atomics = false; |
|
|
|
features.features.shaderInt64 = false; |
|
|
|
|
|
|
|
sets_per_pool = 512; |
|
|
|
sets_per_pool = 1024; |
|
|
|
LOG_INFO(Render_Vulkan, "Qualcomm: forcing {} sets per pool", sets_per_pool); |
|
|
|
|
|
|
|
has_broken_cube_compatibility = true; |
|
|
|
LOG_WARNING(Render_Vulkan, |
|
|
|
"Qualcomm: disabling VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT due to driver bugs"); |
|
|
|
|
|
|
|
#if defined(ANDROID) && defined(ARCHITECTURE_arm64)
|
|
|
|
// BCn patching only safe on Android 9+ (API 28+). Older versions crash on driver load.
|
|
|
|
const auto major = (properties.properties.driverVersion >> 24) << 2; |
|
|
|
|