panfrost/midgard: Fix blend constant scheduling bug
Blend constant conflicts run in two directions. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
7f807ef1fa
commit
ae42991b83
1 changed files with 4 additions and 0 deletions
|
|
@ -257,6 +257,10 @@ schedule_bundle(compiler_context *ctx, midgard_block *block, midgard_instruction
|
|||
* the swizzle */
|
||||
|
||||
if (ains->has_blend_constant) {
|
||||
/* Everything conflicts with the blend constant */
|
||||
if (bundle.has_embedded_constants)
|
||||
break;
|
||||
|
||||
bundle.has_blend_constant = 1;
|
||||
bundle.has_embedded_constants = 1;
|
||||
} else if (ains->has_constants) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue