From 68ddcc6c284433d826daa4f4a3bbb52b2c7e6908 Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Tue, 3 Jan 2017 10:20:10 -0600 Subject: [PATCH] swr: remove unneeded llvm version check Old test caused breakage with llvm-svn (4.0.0svn), and not needed as the minimum required llvm version for swr is 3.6. Reviewed-by: George Kyriazis --- src/gallium/drivers/swr/swr_shader.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/gallium/drivers/swr/swr_shader.cpp b/src/gallium/drivers/swr/swr_shader.cpp index 294a5686645..979a28b353b 100644 --- a/src/gallium/drivers/swr/swr_shader.cpp +++ b/src/gallium/drivers/swr/swr_shader.cpp @@ -344,9 +344,7 @@ BuilderSWR::CompileVS(struct swr_context *ctx, swr_jit_vs_key &key) debug_printf("vert shader %p\n", pFunc); assert(pFunc && "Error: VertShader = NULL"); -#if (LLVM_VERSION_MAJOR == 3) && (LLVM_VERSION_MINOR >= 5) JM()->mIsModuleFinalized = true; -#endif return pFunc; } @@ -706,9 +704,7 @@ BuilderSWR::CompileFS(struct swr_context *ctx, swr_jit_fs_key &key) debug_printf("frag shader %p\n", kernel); assert(kernel && "Error: FragShader = NULL"); -#if (LLVM_VERSION_MAJOR == 3) && (LLVM_VERSION_MINOR >= 5) JM()->mIsModuleFinalized = true; -#endif return kernel; } -- 2.30.2