summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-11-11 14:08:13 -0800
committerEric Anholt <[email protected]>2015-01-29 11:42:08 -0800
commit68d476167c0d23e3f050ce3a882fc7b741c18d09 (patch)
tree2448f125cc4ef4e302120b8a5cc4f1157fc70149 /src/glsl/nir
parent36c604c8246ecbd50ee4d7d685201822973df5ec (diff)
nir: Fix a bit of broken indentation.
Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/glsl/nir')
-rw-r--r--src/glsl/nir/nir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c
index 25cdac0e815..10e6ed36d0c 100644
--- a/src/glsl/nir/nir.c
+++ b/src/glsl/nir/nir.c
@@ -1295,7 +1295,7 @@ nir_instr_insert_before_cf(nir_cf_node *node, nir_instr *before)
void
nir_instr_insert_after_cf(nir_cf_node *node, nir_instr *after)
{
- if (node->type == nir_cf_node_block) {
+ if (node->type == nir_cf_node_block) {
nir_instr_insert_after_block(nir_cf_node_as_block(node), after);
} else {
nir_cf_node *next = nir_cf_node_next(node);