mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 11:50:09 +01:00
hk: quiesce gcc uninitialized var warning
it's bogus, but shrug. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31532>
This commit is contained in:
parent
fe75c95204
commit
75639cf4e5
1 changed files with 1 additions and 1 deletions
|
|
@ -492,7 +492,7 @@ build_image_copy_shader(const struct vk_meta_image_copy_key *key)
|
|||
nir_def *coord = nir_load_global_invocation_id(b, 32);
|
||||
|
||||
/* The destination format is already canonical, convert to an ISA format */
|
||||
enum pipe_format isa_format;
|
||||
enum pipe_format isa_format = PIPE_FORMAT_NONE;
|
||||
if (key->block_based) {
|
||||
enum pipe_format pipe = canonical_format_pipe(key->dst_format, true);
|
||||
isa_format = ail_pixel_format[pipe].renderable;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue