summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_opcodes_c.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_opcodes_c.py')
-rw-r--r--src/compiler/nir/nir_opcodes_c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opcodes_c.py b/src/compiler/nir/nir_opcodes_c.py
index 108e144b5f4..4603cd3d74f 100644
--- a/src/compiler/nir/nir_opcodes_c.py
+++ b/src/compiler/nir/nir_opcodes_c.py
@@ -116,7 +116,7 @@ nir_type_conversion_op(nir_alu_type src, nir_alu_type dst, nir_rounding_mode rnd
}
const nir_op_info nir_op_infos[nir_num_opcodes] = {
-% for name, opcode in sorted(opcodes.iteritems()):
+% for name, opcode in sorted(opcodes.items()):
{
.name = "${name}",
.num_inputs = ${opcode.num_inputs},