Skip to content

Commit 167fd82

Browse files
committed
[Bugfix][SM6.10] Allow LinAlgMatrix type in the validator
1 parent fe26157 commit 167fd82

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/DxilValidation/DxilValidation.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2414,6 +2414,9 @@ static bool ValidateType(Type *Ty, ValidationContext &ValCtx,
24142414
// Allow HitObject type.
24152415
if (ST == HlslOP->GetHitObjectType())
24162416
return true;
2417+
// Allow LinAlgMatrix type.
2418+
if (dxilutil::IsHLSLLinAlgMatrixType(ST))
2419+
return true;
24172420
if (IsDxilBuiltinStructType(ST, HlslOP)) {
24182421
ValCtx.EmitTypeError(Ty, ValidationRule::InstrDxilStructUser);
24192422
Result = false;

0 commit comments

Comments
 (0)