From: Marek Olšák <marek.ol...@amd.com>

---
 src/amd/addrlib/src/gfx9/gfx9addrlib.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/amd/addrlib/src/gfx9/gfx9addrlib.cpp 
b/src/amd/addrlib/src/gfx9/gfx9addrlib.cpp
index b3cbccf..9be775f 100644
--- a/src/amd/addrlib/src/gfx9/gfx9addrlib.cpp
+++ b/src/amd/addrlib/src/gfx9/gfx9addrlib.cpp
@@ -129,20 +129,22 @@ const Dim3d   Gfx9Lib::Block256_3dZ[]  = {{8, 4, 8}, {4, 
4, 8}, {4, 4, 4}, {4, 2
 
************************************************************************************************************************
 */
 Gfx9Lib::Gfx9Lib(const Client* pClient)
     :
     Lib(pClient),
     m_numEquations(0)
 {
     m_class = AI_ADDRLIB;
     memset(&m_settings, 0, sizeof(m_settings));
     memcpy(m_swizzleModeTable, SwizzleModeTable, sizeof(SwizzleModeTable));
+    m_metaEqOverrideIndex = 0;
+    memset(m_cachedMetaEqKey, 0, sizeof(m_cachedMetaEqKey));
 }
 
 /**
 
************************************************************************************************************************
 *   Gfx9Lib::~Gfx9Lib
 *
 *   @brief
 *       Destructor
 
************************************************************************************************************************
 */
-- 
2.7.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to