summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_opcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/nir/nir_opcodes.h')
-rw-r--r--src/glsl/nir/nir_opcodes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/nir/nir_opcodes.h b/src/glsl/nir/nir_opcodes.h
index 988f691f8d4..35d4634ec9a 100644
--- a/src/glsl/nir/nir_opcodes.h
+++ b/src/glsl/nir/nir_opcodes.h
@@ -307,6 +307,7 @@ BINOP_HORIZ(vec2, 2, nir_type_unsigned, 1, nir_type_unsigned, 1, nir_type_unsign
ARR(src1_size, src2_size, src3_size), \
ARR(nir_type_unsigned, nir_type_unsigned, nir_type_unsigned))
+/* fma(a, b, c) = (a * b) + c */
TRIOP(ffma, nir_type_float)
TRIOP(flrp, nir_type_float)