summaryrefslogtreecommitdiffstats
path: root/src/amd/addrlib/gfx9
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-03-30 19:01:02 +0200
committerMarek Olšák <[email protected]>2017-03-30 19:17:39 +0200
commit331714d72eb33bfcc401e99629dd3e416652a15a (patch)
tree14bf4a1c1e5676f667ab352993ba2327e6868619 /src/amd/addrlib/gfx9
parent681adbc18ca934566a42e952fe20e26c39a2d0d1 (diff)
Partially revert "amd/addrlib: silence warnings" to fix builds with DEBUG
This partially reverts commit 8a74140a21fe6b0d2e8a60b065b890f797f2db51.
Diffstat (limited to 'src/amd/addrlib/gfx9')
-rw-r--r--src/amd/addrlib/gfx9/gfx9addrlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/addrlib/gfx9/gfx9addrlib.cpp b/src/amd/addrlib/gfx9/gfx9addrlib.cpp
index fce0c000be9..380b785e595 100644
--- a/src/amd/addrlib/gfx9/gfx9addrlib.cpp
+++ b/src/amd/addrlib/gfx9/gfx9addrlib.cpp
@@ -2159,7 +2159,7 @@ ADDR_E_RETURNCODE Gfx9Lib::HwlComputeBlock256Equation(
// Post validation
if (ret == ADDR_OK)
{
- //Dim2d microBlockDim = Block256b[elementBytesLog2];
+ Dim2d microBlockDim = Block256b[elementBytesLog2];
ADDR_ASSERT((2u << GetMaxValidChannelIndex(pEquation->addr, 8, 0)) ==
(microBlockDim.w * (1 << elementBytesLog2)));
ADDR_ASSERT((2u << GetMaxValidChannelIndex(pEquation->addr, 8, 1)) == microBlockDim.h);