summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_constant_expressions.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_constant_expressions.py')
-rw-r--r--src/compiler/nir/nir_constant_expressions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_constant_expressions.py b/src/compiler/nir/nir_constant_expressions.py
index 96d52557bd7..6b4d071236c 100644
--- a/src/compiler/nir/nir_constant_expressions.py
+++ b/src/compiler/nir/nir_constant_expressions.py
@@ -299,6 +299,9 @@ evaluate_${name}(unsigned num_components, unsigned bit_size,
_src[${j}].${get_const_field(input_types[j])}[${k}],
% endif
% endfor
+ % for k in range(op.input_sizes[j], 4):
+ 0,
+ % endfor
};
% endfor