amd/addrlib: fix uninitialized values for Addr2ComputeDccAddrFromCoord
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
41f76dd513
commit
e457454cb6
|
@ -136,6 +136,8 @@ Gfx9Lib::Gfx9Lib(const Client* pClient)
|
||||||
m_class = AI_ADDRLIB;
|
m_class = AI_ADDRLIB;
|
||||||
memset(&m_settings, 0, sizeof(m_settings));
|
memset(&m_settings, 0, sizeof(m_settings));
|
||||||
memcpy(m_swizzleModeTable, SwizzleModeTable, sizeof(SwizzleModeTable));
|
memcpy(m_swizzleModeTable, SwizzleModeTable, sizeof(SwizzleModeTable));
|
||||||
|
m_metaEqOverrideIndex = 0;
|
||||||
|
memset(m_cachedMetaEqKey, 0, sizeof(m_cachedMetaEqKey));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue