[Mesa-dev] [PATCH] radv: drop old DXVK GPU hangs workaround by removing amdgpu-skip-threshold

Samuel Pitoiset samuel.pitoiset at gmail.com
Fri Oct 12 14:30:09 UTC 2018


Tested with Hellblade and LLVM 6, 7 and master, no hangs so far.
Maybe some NIR changes fixed the issue as a side effect.

This should reduce code size a little bit.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 src/amd/vulkan/radv_shader.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
index 3e3eb96a53..12019e96cd 100644
--- a/src/amd/vulkan/radv_shader.c
+++ b/src/amd/vulkan/radv_shader.c
@@ -520,9 +520,8 @@ static void radv_init_llvm_target()
 	 *
 	 * "mesa" is the prefix for error messages.
 	 */
-	const char *argv[3] = { "mesa", "-simplifycfg-sink-common=false",
-				"-amdgpu-skip-threshold=1" };
-	LLVMParseCommandLineOptions(3, argv, NULL);
+	const char *argv[2] = { "mesa", "-simplifycfg-sink-common=false" };
+	LLVMParseCommandLineOptions(2, argv, NULL);
 }
 
 static once_flag radv_init_llvm_target_once_flag = ONCE_FLAG_INIT;
-- 
2.19.1



More information about the mesa-dev mailing list