Skip to content
Snippets Groups Projects
Commit 091bff83 authored by Emma Anholt's avatar Emma Anholt
Browse files

ac/nir: Fix compiler warning about uninitialized dw_addr.


Even switching the def's condition to be the same chip revision check as
the use, the compiler doesn't figure it out.  Just NULL-init it.

Fixes: ec53e527 ("ac/nir: Add ES output to LDS for GFX9.")
Reviewed-by: default avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
parent 7a83be4b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment