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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user