summaryrefslogtreecommitdiffstats
path: root/src/amd/addrlib/r800/siaddrlib.cpp
diff options
context:
space:
mode:
authorXavi Zhang <[email protected]>2015-04-17 03:22:34 -0400
committerMarek Olšák <[email protected]>2017-03-30 14:44:33 +0200
commit199912a9bc7621baa9f1cd185194df133fe338e6 (patch)
tree2d4afb80c50c367e8f61b1dcb64249c747cd598f /src/amd/addrlib/r800/siaddrlib.cpp
parent10f7d1cb0321c5c15b9eb318c2c59ea0d9ac14db (diff)
amdgpu/addrlib: Add a flag to skip calculate indices
This is useful for debugging and special cases for stencil surfaces do not require texture fetch compatible.
Diffstat (limited to 'src/amd/addrlib/r800/siaddrlib.cpp')
-rw-r--r--src/amd/addrlib/r800/siaddrlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/addrlib/r800/siaddrlib.cpp b/src/amd/addrlib/r800/siaddrlib.cpp
index 686bb7fc343..4822d77a4c2 100644
--- a/src/amd/addrlib/r800/siaddrlib.cpp
+++ b/src/amd/addrlib/r800/siaddrlib.cpp
@@ -3274,7 +3274,7 @@ VOID SiAddrLib::InitEquationTable()
UINT_32 bpp = 1 << (log2ElementBytes + 3);
// Loop all possible tile index
- for (INT_32 tileIndex = 0; tileIndex < m_noOfEntries; tileIndex++)
+ for (INT_32 tileIndex = 0; tileIndex < static_cast<INT_32>(m_noOfEntries); tileIndex++)
{
UINT_32 equationIndex = ADDR_INVALID_EQUATION_INDEX;