hk: fix weird formatting

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31532>
This commit is contained in:
Alyssa Rosenzweig
2024-09-17 14:21:50 -04:00
committed by Marge Bot
parent 169acb1170
commit fe75c95204
+2 -3
View File
@@ -494,9 +494,8 @@ build_image_copy_shader(const struct vk_meta_image_copy_key *key)
/* The destination format is already canonical, convert to an ISA format */
enum pipe_format isa_format;
if (key->block_based) {
isa_format =
ail_pixel_format[canonical_format_pipe(key->dst_format, true)]
.renderable;
enum pipe_format pipe = canonical_format_pipe(key->dst_format, true);
isa_format = ail_pixel_format[pipe].renderable;
assert(isa_format != PIPE_FORMAT_NONE);
}