diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-11-23 21:44:16 -0500 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2019-12-16 09:10:33 +0000 |
commit | a2d5503b68ab54055bad2592aff7cbe193c2345b (patch) | |
tree | 2d91c7b0955fa69416520e12486fcec409e71267 /src/panfrost/midgard/compiler.h | |
parent | 2c1983aefeb6dacfbc61f9edd71975ea359fae40 (diff) |
panfrost: Pass blend RT number through
We have to key the blend shader for the render target number due to
writeout silliness.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Tomeu Visoso <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/compiler.h')
-rw-r--r-- | src/panfrost/midgard/compiler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h index faeecf0150c..d087579f36d 100644 --- a/src/panfrost/midgard/compiler.h +++ b/src/panfrost/midgard/compiler.h @@ -224,6 +224,9 @@ typedef struct compiler_context { /* Is internally a blend shader? Depends on stage == FRAGMENT */ bool is_blend; + /* Render target number for a keyed blend shader. Depends on is_blend */ + unsigned blend_rt; + /* Tracking for blend constant patching */ int blend_constant_offset; |