OSDN Git Service

freedreno/a6xx: Move blit check so as to restore comment
authorKristian H. Kristensen <hoegsberg@chromium.org>
Fri, 1 Feb 2019 23:28:00 +0000 (15:28 -0800)
committerKristian H. Kristensen <hoegsberg@chromium.org>
Mon, 11 Feb 2019 20:26:21 +0000 (12:26 -0800)
commite9592da2b4b62318031f26d3281a1ec928b3fdb3
treeef39206bb34622eabcf5540df6b6c733f5b31d28
parentd2639f2eac204944cfaa67021b8c54ae834fae53
freedreno/a6xx: Move blit check so as to restore comment

The explanation for the compressed format check is broken across two
comments:

/* We can blit if both or neither formats are compressed formats... */
/* ... but only if they're the same compression format. */

but the ok_format() checks were inserted between, breaking up the flow
of the sentence.

Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
src/gallium/drivers/freedreno/a6xx/fd6_blitter.c