pan/bi: Model +BLEND clobbering of r48

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11123>
This commit is contained in:
Alyssa Rosenzweig 2021-05-25 15:49:27 -04:00 committed by Marge Bot
parent 4663afd8ab
commit 071165e082

View file

@ -220,8 +220,8 @@ bi_mark_interference(bi_block *block, struct lcra_state *l, uint16_t *live, uint
}
if (!is_blend && ins->op == BI_OPCODE_BLEND) {
/* Blend shaders might clobber r0-r15. */
uint64_t clobber = BITFIELD64_MASK(16);
/* Blend shaders might clobber r0-r15, r48. */
uint64_t clobber = BITFIELD64_MASK(16) | BITFIELD64_BIT(48);
for (unsigned i = 0; i < node_count; ++i) {
if (live[i])