From 8e312296928f509ff3e6a3450142296690b9b69c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tur=C3=A1nszki=20J=C3=A1nos?= Date: Tue, 1 Oct 2024 08:12:03 +0200 Subject: [PATCH] vulkan: disable mesh shader because AMD can crash when compiling a shader, without any error report --- WickedEngine/wiGraphicsDevice_Vulkan.cpp | 3 ++- WickedEngine/wiVersion.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/WickedEngine/wiGraphicsDevice_Vulkan.cpp b/WickedEngine/wiGraphicsDevice_Vulkan.cpp index 8cde303b63..aaa553a179 100644 --- a/WickedEngine/wiGraphicsDevice_Vulkan.cpp +++ b/WickedEngine/wiGraphicsDevice_Vulkan.cpp @@ -2850,7 +2850,8 @@ using namespace vulkan_internal; } if (mesh_shader_features.meshShader == VK_TRUE && mesh_shader_features.taskShader == VK_TRUE) { - capabilities |= GraphicsDeviceCapability::MESH_SHADER; + // Disable Vulkan mesh shader for now because it can crash AMD driver just by compiling shader, without any warnings + //capabilities |= GraphicsDeviceCapability::MESH_SHADER; } if (fragment_shading_rate_features.pipelineFragmentShadingRate == VK_TRUE) { diff --git a/WickedEngine/wiVersion.cpp b/WickedEngine/wiVersion.cpp index 0a4b92a64c..7b15974aa2 100644 --- a/WickedEngine/wiVersion.cpp +++ b/WickedEngine/wiVersion.cpp @@ -9,7 +9,7 @@ namespace wi::version // minor features, major updates, breaking compatibility changes const int minor = 71; // minor bug fixes, alterations, refactors, updates - const int revision = 584; + const int revision = 585; const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);