mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-19 17:40:32 +01:00
pan/mdg: Remove reference to removed macro
This will soon be more confusing than helpful. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20445>
This commit is contained in:
parent
cc16e7322f
commit
b190d08a8a
1 changed files with 4 additions and 5 deletions
|
|
@ -99,11 +99,10 @@
|
|||
/* Denotes an opcode that takes a vector input with a fixed-number of
|
||||
* channels, but outputs to only a single output channel, like dot products.
|
||||
* For these, to determine the effective mask, this quirk can be set. We have
|
||||
* an intentional off-by-one (a la MALI_POSITIVE), since 0-channel makes no
|
||||
* sense but we need to fit 4 channels in 2-bits. Similarly, 1-channel doesn't
|
||||
* make sense (since then why are we quirked?), so that corresponds to "no
|
||||
* count set" */
|
||||
|
||||
* an intentional off-by-one, since 0-channel makes no sense but we need to fit
|
||||
* 4 channels in 2-bits. Similarly, 1-channel doesn't make sense (since then why
|
||||
* are we quirked?), so that corresponds to "no count set".
|
||||
*/
|
||||
#define OP_CHANNEL_COUNT(c) ((c - 1) << 0)
|
||||
#define GET_CHANNEL_COUNT(c) ((c & (0x3 << 0)) ? ((c & (0x3 << 0)) + 1) : 0)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue