Conditionals in particular read values.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
if (ins->compact_branch && ins->writeout && (i == 0))
return 0xF;
+ /* Conditional branches read one component (TODO: multi branch??) */
+ if (ins->compact_branch && !ins->prepacked_branch && ins->branch.conditional && (i == 0))
+ return 0x1;
+
/* ALU ops act componentwise so we need to pay attention to
* their mask. Texture/ldst does not so we don't clamp source
* readmasks based on the writemask */