diff options
author | Dylan Baker <dylanx.c.baker@intel.com> | 2015-01-12 00:29:20 -0800 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2015-01-28 12:07:42 -0800 |
commit | 9f4cac8e74cd8ea8570077d5f1525009787eb73c (patch) | |
tree | a436738addd3f16eab44d7d0c220374a52673faa | |
parent | 4df6bb840f0c1adc65328bed99a37d80c8e2faef (diff) |
piglit-displatch-gen.h.mako: sort comments
Currently the comments are not sorted, and therefor not deterministic,
which makes it very difficult to diff the output when trying to make
changes and ensure no changes.
With this change the order is deterministic, which solves the problem of
using diff on the output.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
-rw-r--r-- | tests/util/piglit-dispatch-gen.h.mako | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util/piglit-dispatch-gen.h.mako b/tests/util/piglit-dispatch-gen.h.mako index feb4be848..2c45643be 100644 --- a/tests/util/piglit-dispatch-gen.h.mako +++ b/tests/util/piglit-dispatch-gen.h.mako @@ -45,7 +45,7 @@ typedef ${f.c_return_type} (APIENTRY *PFN${f.name.upper()}PROC)(${f.c_named_para <% f0 = alias_set.primary_command %>\ % for command in alias_set: /* ${command.name} -% for requirement in command.requirements: +% for requirement in sorted(command.requirements): .................. (${requirement.provider.name}) % endfor ................................................. */ |