panfrost: Clarify intention with PIPE_SWIZZLE_X check
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
8fba6ab03d
commit
5bdc9096b7
|
@ -42,7 +42,8 @@ panfrost_invert_swizzle(const unsigned char *in, unsigned char *out)
|
|||
unsigned char i = in[c];
|
||||
|
||||
/* Who cares? */
|
||||
if (i < PIPE_SWIZZLE_X || i > PIPE_SWIZZLE_W)
|
||||
assert(PIPE_SWIZZLE_X == 0);
|
||||
if (i > PIPE_SWIZZLE_W)
|
||||
continue;
|
||||
|
||||
/* Invert */
|
||||
|
|
Loading…
Reference in New Issue