amd/addrlib: fix the C++ one definition rule violation
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1854 Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5414>
This commit is contained in:
parent
27b7b89922
commit
0fcf55329b
|
@ -45,7 +45,7 @@
|
|||
#define BIGENDIAN_CPU
|
||||
#endif
|
||||
|
||||
union GB_ADDR_CONFIG {
|
||||
union GB_ADDR_CONFIG_gfx9 {
|
||||
struct {
|
||||
#if defined(LITTLEENDIAN_CPU)
|
||||
unsigned int NUM_PIPES : 3;
|
||||
|
|
|
@ -1046,7 +1046,7 @@ BOOL_32 Gfx9Lib::HwlInitGlobalParams(
|
|||
|
||||
if (m_settings.isArcticIsland)
|
||||
{
|
||||
GB_ADDR_CONFIG gbAddrConfig;
|
||||
GB_ADDR_CONFIG_gfx9 gbAddrConfig;
|
||||
|
||||
gbAddrConfig.u32All = pCreateIn->regValue.gbAddrConfig;
|
||||
|
||||
|
|
Loading…
Reference in New Issue