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:

committed by
Marge Bot

parent
d14d7c49db
commit
dcae301828
@@ -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 & mask) | (A & ~mask)`.
|
||||
`(A & mask) | (B & ~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 & mask) | (A & ~mask)`.
|
||||
`(A & mask) | (B & ~mask)`.
|
||||
</desc>
|
||||
<mod name="mux" start="32" size="2"/>
|
||||
<src swizzle="true">A</src>
|
||||
|
Reference in New Issue
Block a user