File tree 1 file changed +3
-3
lines changed
clang/test/CodeGenHLSL/semantics
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -emit-llvm -disable-llvm-passes -o - -hlsl-entry main %s
1
+ // RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-compute -x hlsl -emit-llvm -disable-llvm-passes -o - -hlsl-entry main %s | FileCheck %s
2
2
3
3
[numthreads (1 ,1 ,1 )]
4
4
void main (unsigned GI : SV_GroupIndex ) {
@@ -10,7 +10,7 @@ void main(unsigned GI : SV_GroupIndex) {
10
10
// semantic parameters and provides the expected void(void) signature that
11
11
// drivers expect for entry points.
12
12
13
- //CHECK: define void @main() #[[ENTRY_ATTR:#]] {
13
+ //CHECK: define void @main() #[[# ENTRY_ATTR:]] {
14
14
//CHECK-NEXT: entry:
15
15
//CHECK-NEXT: %0 = call i32 @llvm.dx.flattened.thread.id.in.group()
16
16
//CHECK-NEXT: call void @"?main@@YAXI@Z"(i32 %0)
@@ -19,4 +19,4 @@ void main(unsigned GI : SV_GroupIndex) {
19
19
20
20
// Verify that the entry had the expected dx.shader attribute
21
21
22
- //CHECK: attributes #[[ENTRY_ATTR]] = { {{.*}}"dx .shader"="compute"{{.*}} }
22
+ //CHECK: attributes #[[# ENTRY_ATTR]] = { {{.*}}"hlsl .shader"="compute"{{.*}} }
You can’t perform that action at this time.
0 commit comments