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:
Alyssa Rosenzweig
2019-07-01 16:44:49 -07:00
parent 7f807ef1fa
commit ae42991b83
@@ -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) {