summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-02-18 19:00:30 -0600
committerTim Rowley <[email protected]>2016-03-25 14:26:16 -0500
commitdd0f9eed8cda45ed1373abebad7dd2398a16e9a7 (patch)
tree1656be906bc2b3d75d90f1830917b11e9001b25c /src/gallium
parent45a4afa634bdca2b1147a76b74ed15a690b7a014 (diff)
swr: [rasterizer] switch assert uses to SWR_ASSERT
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/swr/rasterizer/core/tilemgr.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/core/tilemgr.h b/src/gallium/drivers/swr/rasterizer/core/tilemgr.h
index 9137941bad4..b5eaaab63a3 100644
--- a/src/gallium/drivers/swr/rasterizer/core/tilemgr.h
+++ b/src/gallium/drivers/swr/rasterizer/core/tilemgr.h
@@ -299,8 +299,8 @@ public:
uint32_t x, y;
MacroTileMgr::getTileIndices(macroID, x, y);
- assert(x < KNOB_NUM_HOT_TILES_X);
- assert(y < KNOB_NUM_HOT_TILES_Y);
+ SWR_ASSERT(x < KNOB_NUM_HOT_TILES_X);
+ SWR_ASSERT(y < KNOB_NUM_HOT_TILES_Y);
HotTileSet &tile = mHotTiles[x][y];
HOTTILE& hotTile = tile.Attachment[attachment];
@@ -326,7 +326,7 @@ public:
{
// tile should be either uninitialized or resolved if we're deleting and switching to a
// new sample count
- assert((hotTile.state == HOTTILE_INVALID) ||
+ SWR_ASSERT((hotTile.state == HOTTILE_INVALID) ||
(hotTile.state == HOTTILE_RESOLVED) ||
(hotTile.state == HOTTILE_CLEAR));
_aligned_free(hotTile.pBuffer);
@@ -377,8 +377,8 @@ public:
{
uint32_t x, y;
MacroTileMgr::getTileIndices(macroID, x, y);
- assert(x < KNOB_NUM_HOT_TILES_X);
- assert(y < KNOB_NUM_HOT_TILES_Y);
+ SWR_ASSERT(x < KNOB_NUM_HOT_TILES_X);
+ SWR_ASSERT(y < KNOB_NUM_HOT_TILES_Y);
return mHotTiles[x][y];
}