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];
{
// 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);
{
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];
}