diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-29 15:11:12 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-07-30 10:01:19 -0700 |
commit | 8f887329c0870bc55983af974546f618bbd80cd2 (patch) | |
tree | 1e81636f5871e08225ae7d6507e3a39054d6ab03 /src/panfrost/midgard/compiler.h | |
parent | 982134d22ec51da1c34eba7d7a3ce33a3501c906 (diff) |
pan/midgard: Implement derivatives
Implement the fdd* and fdd* opcodes in the Midgard compiler.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/compiler.h')
-rw-r--r-- | src/panfrost/midgard/compiler.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h index 93c39686f13..decffeb2f70 100644 --- a/src/panfrost/midgard/compiler.h +++ b/src/panfrost/midgard/compiler.h @@ -541,6 +541,13 @@ emit_ubo_read( nir_src *indirect_offset, unsigned index); +void +midgard_emit_derivatives(compiler_context *ctx, nir_alu_instr *instr); + +void +midgard_lower_derivatives(compiler_context *ctx, midgard_block *block); + +bool mir_op_computes_derivatives(unsigned op); /* Final emission */ |