summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/amd/addrlib/r800/egbaddrlib.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/amd/addrlib/r800/egbaddrlib.cpp b/src/amd/addrlib/r800/egbaddrlib.cpp
index 3947cfda2fd..905d443cfa9 100644
--- a/src/amd/addrlib/r800/egbaddrlib.cpp
+++ b/src/amd/addrlib/r800/egbaddrlib.cpp
@@ -33,6 +33,8 @@
#include "egbaddrlib.h"
+#include "util/macros.h"
+
namespace Addr
{
namespace V1
@@ -979,7 +981,7 @@ BOOL_32 EgBasedLib::SanityCheckMacroTiled(
) const
{
BOOL_32 valid = TRUE;
- UINT_32 numPipes = HwlGetPipes(pTileInfo);
+ MAYBE_UNUSED UINT_32 numPipes = HwlGetPipes(pTileInfo);
switch (pTileInfo->banks)
{