diff options
author | Eric Anholt <[email protected]> | 2015-08-18 21:43:42 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-08-20 23:42:59 -0700 |
commit | 572a48366d9dfac6a7f9ee8f4d29832c496125e2 (patch) | |
tree | f53b42e7dde9e9a878da36ef97b122d08d637f23 /src/gallium/drivers/vc4/vc4_qir.h | |
parent | fd74da11c48dcd9098d4f64508aae65775c68b75 (diff) |
vc4: Add a QIR helper for whether the op is a MUL type.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h index 5e23420f8e5..c9ca3da203c 100644 --- a/src/gallium/drivers/vc4/vc4_qir.h +++ b/src/gallium/drivers/vc4/vc4_qir.h @@ -452,6 +452,7 @@ bool qir_reg_equals(struct qreg a, struct qreg b); bool qir_has_side_effects(struct vc4_compile *c, struct qinst *inst); bool qir_has_side_effect_reads(struct vc4_compile *c, struct qinst *inst); bool qir_is_multi_instruction(struct qinst *inst); +bool qir_is_mul(struct qinst *inst); bool qir_is_tex(struct qinst *inst); bool qir_depends_on_flags(struct qinst *inst); bool qir_writes_r4(struct qinst *inst); |