aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/bifrost/compiler.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-03-06 09:25:58 -0500
committerMarge Bot <[email protected]>2020-03-07 00:37:39 +0000
commit92a4f26e7f5249df3cb853b3a8cd9e726690d66c (patch)
tree1f936213ce15ddcffa37255725d3d3a2155714a0 /src/panfrost/bifrost/compiler.h
parent07671826658dfc90ead2773c864a2ba3460a97e2 (diff)
pan/bi: Add blend_location to IR for BI_BLEND
To specify which render target is being written. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4097>
Diffstat (limited to 'src/panfrost/bifrost/compiler.h')
-rw-r--r--src/panfrost/bifrost/compiler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h
index c63f175f542..71d1b240059 100644
--- a/src/panfrost/bifrost/compiler.h
+++ b/src/panfrost/bifrost/compiler.h
@@ -242,6 +242,9 @@ typedef struct {
/* For CSEL, the comparison op. BI_COND_ALWAYS doesn't make
* sense here but you can always just use a move for that */
enum bi_cond csel_cond;
+
+ /* For BLEND -- the location 0-7 */
+ unsigned blend_location;
};
} bi_instruction;