summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2017-01-03 10:20:10 -0600
committerTim Rowley <[email protected]>2017-01-05 07:31:19 -0600
commit68ddcc6c284433d826daa4f4a3bbb52b2c7e6908 (patch)
treece133e606de7dad7b7a85ff6894441b6dfaca92d /src/gallium/drivers/swr
parent36ad8265489fc66ab45b9b74dafa353a93bdb03b (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r--src/gallium/drivers/swr/swr_shader.cpp4
1 files changed, 0 insertions, 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;
}