Skip to content

Commit 7848f77

Browse files
committed
[ser] Remove AvailabilityAttribute on HitObject ctor (unused)
1 parent c651610 commit 7848f77

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

tools/clang/lib/AST/ASTContextHLSL.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,10 +1243,6 @@ CXXRecordDecl *hlsl::DeclareHitObjectType(NamespaceDecl &NSDecl) {
12431243
static_cast<int>(hlsl::IntrinsicOp::MOP_DxHitObject_MakeNop)));
12441244
pConstructorDecl->addAttr(HLSLCXXOverloadAttr::CreateImplicit(Context));
12451245

1246-
// Shader Execution Reordering requires SM6.9
1247-
VersionTuple VT69 = VersionTuple(6, 9);
1248-
pConstructorDecl->addAttr(ConstructAvailabilityAttribute(Context, VT69));
1249-
12501246
// Add the implicit HLSLHitObjectAttr attribute to unambiguously recognize the
12511247
// builtin HitObject type (SM6.9+). This distinguishes it from any
12521248
// user-defined type named 'HitObject' pre SM6.9.

0 commit comments

Comments
 (0)