Skip to content

Commit 36d678c

Browse files
simollGreg Roth
andauthored
Update tools/clang/test/SemaHLSL/hlsl/types/invalid-hitobject-decls-struct.hlsl
Co-authored-by: Greg Roth <[email protected]>
1 parent 85746fb commit 36d678c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/clang/test/SemaHLSL/hlsl/types/invalid-hitobject-decls-struct.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ void gs_line(
133133

134134
[shader("geometry")]
135135
[maxvertexcount(12)]
136-
void gs_line(
137-
line TYPE a,
136+
void gs_tri(
137+
triangle TYPE a,
138138
// expected-error@-1{{object 'dx::HitObject' is not allowed in entry function parameters}}
139139
// expected-note@16{{'dx::HitObject' field declared here}}
140140
inout TriangleStream<TYPE> OutputStream0)

0 commit comments

Comments
 (0)