mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 15:30:14 +01:00
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:
parent
1768afa5b9
commit
3741606b25
1 changed files with 3 additions and 0 deletions
|
|
@ -248,6 +248,9 @@ va_pack_shift_lanes(enum bi_swizzle swz)
|
||||||
switch (swz) {
|
switch (swz) {
|
||||||
case BI_SWIZZLE_H01: return VA_LANES_8_BIT_B02;
|
case BI_SWIZZLE_H01: return VA_LANES_8_BIT_B02;
|
||||||
case BI_SWIZZLE_B0000: return VA_LANES_8_BIT_B00;
|
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");
|
default: unreachable("todo: more shifts");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue