[Mesa-dev] [PATCH 04/10] nir/builder_opcodes: remove spurious tailing semicolon

Emil Velikov emil.l.velikov at gmail.com
Wed Oct 7 03:11:31 PDT 2015


The ALU# macros already include semicolon.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/glsl/nir/nir_builder_opcodes_h.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glsl/nir/nir_builder_opcodes_h.py b/src/glsl/nir/nir_builder_opcodes_h.py
index d85d434..b06070b 100644
--- a/src/glsl/nir/nir_builder_opcodes_h.py
+++ b/src/glsl/nir/nir_builder_opcodes_h.py
@@ -31,7 +31,7 @@ template = """\
 #endif /* NIR_BUILDER_H */
 
 % for name, opcode in sorted(opcodes.iteritems()):
-ALU${opcode.num_inputs}(${name});
+ALU${opcode.num_inputs}(${name})
 % endfor
 
 #endif /* _NIR_BUILDER_OPCODES_ */"""
-- 
2.5.0



More information about the mesa-dev mailing list