diff options
Diffstat (limited to 'src/compiler/nir/nir_opcodes.py')
-rw-r--r-- | src/compiler/nir/nir_opcodes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_opcodes.py b/src/compiler/nir/nir_opcodes.py index b03c5da2eae..ed8e0ae9f39 100644 --- a/src/compiler/nir/nir_opcodes.py +++ b/src/compiler/nir/nir_opcodes.py @@ -181,9 +181,9 @@ for src_t in [tint, tuint, tfloat]: bit_sizes = [8, 16, 32, 64] for bit_size in bit_sizes: if bit_size == 16 and dst_t == tfloat and src_t == tfloat: - rnd_modes = ['rtne', 'rtz', 'undef'] + rnd_modes = ['_rtne', '_rtz', ''] for rnd_mode in rnd_modes: - unop_convert("{0}2{1}{2}_{3}".format(src_t[0], dst_t[0], + unop_convert("{0}2{1}{2}{3}".format(src_t[0], dst_t[0], bit_size, rnd_mode), dst_t + str(bit_size), src_t, "src0") else: |