anv: Use #pragma once
anv: Use #pragma once
This patch was motivated by recent commit 74c8edd288f, which fixed an
incorrect include guard. Why are we still using include guards? Some anv
headers are already using `#pragma once`, so convert the remaining
headers.
There is one non-trivial change. anv_genX.h contained an special include
guard to enforce that it is only included by anv_private.h. In practice,
that restriction is not important, so I deleted it. If a file other than
anv_private.h attempts to include anv_genX.h, then compilation will
likely fail anyway because macro `genX()` is undefined.
Patch is compile-tested with -Dbuildtype=debug -Dintel-clc=enabled.
See-Also: 74c8edd288f ("anv: fix include guards")
Signed-off-by: Lina Versace <linyaa@google.com>