summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2018-01-31 11:09:36 -0800
committerMatt Turner <[email protected]>2018-02-05 09:50:56 -0800
commite2b31e9acf034407cc020d8956b06bd0995fe809 (patch)
tree390bf0f65a956c17d36b4738ccf42cf6245a70dc /src
parent4195eed961ccfe404ae81b9112189fc93a254ded (diff)
i965: Move mistakenly placed line
Ken called this out in review, but it seems I forgot to make the change. I noticed that the control flow annotations in the fragment shader disassembly of tests/shaders/glsl-fs-loop-continue.shader_test were not correct, and moving this line to the correct place fixes it.
Diffstat (limited to 'src')
-rw-r--r--src/intel/compiler/brw_disasm_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_disasm_info.c b/src/intel/compiler/brw_disasm_info.c
index 3db79ede708..f8f4c02e763 100644
--- a/src/intel/compiler/brw_disasm_info.c
+++ b/src/intel/compiler/brw_disasm_info.c
@@ -123,8 +123,8 @@ disasm_annotate(struct disasm_info *disasm,
struct inst_group *group;
if (!disasm->use_tail) {
group = disasm_new_inst_group(disasm, offset);
- disasm->use_tail = false;
} else {
+ disasm->use_tail = false;
group = exec_node_data(struct inst_group,
exec_list_get_tail_raw(&disasm->group_list), link);
}