summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-19 23:33:30 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-19 23:33:30 +0200
commit197e13d93d6740cda589d88804262d6bdd176a74 (patch)
tree3caa1b12468437865fa17971e2fa4c327cbc4cef /src
parentvk_device_info: Check only affected Intel drivers (diff)
downloadyuzu-197e13d93d6740cda589d88804262d6bdd176a74.tar
yuzu-197e13d93d6740cda589d88804262d6bdd176a74.tar.gz
yuzu-197e13d93d6740cda589d88804262d6bdd176a74.tar.bz2
yuzu-197e13d93d6740cda589d88804262d6bdd176a74.tar.lz
yuzu-197e13d93d6740cda589d88804262d6bdd176a74.tar.xz
yuzu-197e13d93d6740cda589d88804262d6bdd176a74.tar.zst
yuzu-197e13d93d6740cda589d88804262d6bdd176a74.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp2
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
index ee2c33131..a2cfb2105 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -705,7 +705,7 @@ std::unique_ptr<ComputePipeline> PipelineCache::CreateComputePipeline(
std::unique_ptr<ComputePipeline> PipelineCache::CreateComputePipeline(
ShaderPools& pools, const ComputePipelineCacheKey& key, Shader::Environment& env,
PipelineStatistics* statistics, bool build_in_parallel) try {
- if (device.HasBrokenCompute() && !Settings::values.enable_compute_pipelines.GetValue()) {
+ if (device.HasBrokenCompute()) {
LOG_ERROR(Render_Vulkan, "Skipping 0x{:016x}", key.Hash());
return nullptr;
}
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index e38e34bc8..fa9cde75b 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -563,7 +563,8 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
cant_blit_msaa = true;
}
has_broken_compute =
- CheckBrokenCompute(properties.driver.driverID, properties.properties.driverVersion);
+ CheckBrokenCompute(properties.driver.driverID, properties.properties.driverVersion) &&
+ !Settings::values.enable_compute_pipelines.GetValue();
if (is_intel_anv || (is_qualcomm && !is_s8gen2)) {
LOG_WARNING(Render_Vulkan, "Driver does not support native BGR format");
must_emulate_bgr565 = true;