pan/va: Fix MUX.i32 and MUX.v2i16 description. Should be:

`(A & mask) | (B & ~mask)`

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20441>
This commit is contained in:
Aleksey Komarov
2022-12-28 23:55:01 +03:00
committed by Marge Bot
parent d14d7c49db
commit dcae301828

View File

@@ -2061,7 +2061,7 @@
as the `mux` modifier is evaluated on the mask. If true, `A` is chosen,
else `B` is chosen. The `bit` modifier acts bitwise, equivalent to
`bitselect()` in OpenCL, so `MUX.i32.bit A, B, mask` calculates
`(A &amp; mask) | (A &amp; ~mask)`.
`(A &amp; mask) | (B &amp; ~mask)`.
</desc>
<mod name="mux" start="32" size="2"/>
<src>A</src>
@@ -2075,7 +2075,7 @@
as the `mux` modifier is evaluated on the mask. If true, `A` is chosen,
else `B` is chosen. The `bit` modifier acts bitwise, equivalent to
`bitselect()` in OpenCL, so `MUX.i32.bit A, B, mask` calculates
`(A &amp; mask) | (A &amp; ~mask)`.
`(A &amp; mask) | (B &amp; ~mask)`.
</desc>
<mod name="mux" start="32" size="2"/>
<src swizzle="true">A</src>