Silence unusued variable warning when building without asserts (#1073)
* Silence unusued variable warning when building without asserts * Spaces instead of tabs * Replaced DXASSERT with DXASSERT_LOCALVAR instead
This commit is contained in:
Родитель
236cdc1cdf
Коммит
44dff38588
|
@ -1206,7 +1206,7 @@ void HLMatrixLowerPass::TranslateMatMajorCast(CallInst *matInst,
|
||||||
Type *castTy = GetMatrixInfo(castInst->getType(), castCol, castRow);
|
Type *castTy = GetMatrixInfo(castInst->getType(), castCol, castRow);
|
||||||
unsigned srcCol, srcRow;
|
unsigned srcCol, srcRow;
|
||||||
Type *srcTy = GetMatrixInfo(matInst->getType(), srcCol, srcRow);
|
Type *srcTy = GetMatrixInfo(matInst->getType(), srcCol, srcRow);
|
||||||
DXASSERT(srcTy == castTy, "type must match");
|
DXASSERT_LOCALVAR((castTy, srcTy), srcTy == castTy, "type must match");
|
||||||
DXASSERT(castCol == srcRow && castRow == srcCol, "col row must match");
|
DXASSERT(castCol == srcRow && castRow == srcCol, "col row must match");
|
||||||
col = srcCol;
|
col = srcCol;
|
||||||
row = srcRow;
|
row = srcRow;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче