pan/bi: Remove bi_word and bi_word_node

They are no longer used, as offsets are no longer used for normal values (only for
FAU). Keep it like that.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16585>
This commit is contained in:
Alyssa Rosenzweig 2022-05-11 12:21:38 -04:00 committed by Marge Bot
parent f0184cf218
commit dab5b62ecf
1 changed files with 0 additions and 15 deletions

View File

@ -200,14 +200,6 @@ bi_passthrough(enum bifrost_packed_src value)
};
}
/* Extracts a word from a vectored index */
static inline bi_index
bi_word(bi_index idx, unsigned component)
{
idx.offset += component;
return idx;
}
/* Helps construct swizzles */
static inline bi_index
bi_swz_16(bi_index idx, bool x, bool y)
@ -1337,13 +1329,6 @@ bi_dontcare(bi_builder *b)
return bi_passthrough(BIFROST_SRC_FAU_HI);
}
static inline unsigned
bi_word_node(bi_index idx)
{
assert(idx.type == BI_INDEX_NORMAL && !idx.reg);
return (idx.value << 2) | idx.offset;
}
/*
* Vertex ID and Instance ID are preloaded registers. Where they are preloaded
* changed from Bifrost to Valhall. Provide helpers that smooth over the