[Mesa-dev] [PATCH 1/2] clover: fix tab/space and alignement

EdB edb+mesa at sigluy.net
Fri Nov 7 01:30:39 PST 2014


---
 src/gallium/state_trackers/clover/llvm/invocation.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
index 3a4fcf0..d29f5a6 100644
--- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
+++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
@@ -214,7 +214,7 @@ namespace {
 
 #if HAVE_LLVM >= 0x0306
       c.getPreprocessorOpts().addRemappedFile(name,
-                                              llvm::MemoryBuffer::getMemBuffer(source).release());
+                                      llvm::MemoryBuffer::getMemBuffer(source).release());
 #else
       c.getPreprocessorOpts().addRemappedFile(name,
                                       llvm::MemoryBuffer::getMemBuffer(source));
@@ -675,7 +675,7 @@ static const struct debug_named_value debug_options[] = {
    {"llvm", DBG_LLVM, "Dump the generated LLVM IR for all kernels."},
    {"asm", DBG_ASM, "Dump kernel assembly code for targets specifying "
                     "PIPE_SHADER_IR_NATIVE"},
-	DEBUG_NAMED_VALUE_END // must be last
+   DEBUG_NAMED_VALUE_END // must be last
 };
 
 module
@@ -737,7 +737,7 @@ clover::compile_program_llvm(const compat::string &source,
          break;
       case PIPE_SHADER_IR_NATIVE: {
          std::vector<char> code = compile_native(mod, triple, processor,
-	                                         debug_flags & DBG_ASM, r_log);
+                                                 debug_flags & DBG_ASM, r_log);
          m = build_module_native(code, mod, kernels, address_spaces, r_log);
          break;
       }
-- 
1.9.3



More information about the mesa-dev mailing list