pan/va: Implement more lanes

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16857>
This commit is contained in:
Alyssa Rosenzweig 2022-05-06 17:23:10 -04:00 committed by Marge Bot
parent 1768afa5b9
commit 3741606b25

View file

@ -248,6 +248,9 @@ va_pack_shift_lanes(enum bi_swizzle swz)
switch (swz) {
case BI_SWIZZLE_H01: return VA_LANES_8_BIT_B02;
case BI_SWIZZLE_B0000: return VA_LANES_8_BIT_B00;
case BI_SWIZZLE_B1111: return VA_LANES_8_BIT_B11;
case BI_SWIZZLE_B2222: return VA_LANES_8_BIT_B22;
case BI_SWIZZLE_B3333: return VA_LANES_8_BIT_B33;
default: unreachable("todo: more shifts");
}
}