File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
clang/test/CodeGenHLSL/semantics Expand file tree Collapse file tree 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
22
33[numthreads (1 ,1 ,1 )]
44void main (unsigned GI : SV_GroupIndex ) {
@@ -10,7 +10,7 @@ void main(unsigned GI : SV_GroupIndex) {
1010// semantic parameters and provides the expected void(void) signature that
1111// drivers expect for entry points.
1212
13- //CHECK: define void @main() #[[ENTRY_ATTR:#]] {
13+ //CHECK: define void @main() #[[# ENTRY_ATTR:]] {
1414//CHECK-NEXT: entry:
1515//CHECK-NEXT: %0 = call i32 @llvm.dx.flattened.thread.id.in.group()
1616//CHECK-NEXT: call void @"?main@@YAXI@Z"(i32 %0)
@@ -19,4 +19,4 @@ void main(unsigned GI : SV_GroupIndex) {
1919
2020// Verify that the entry had the expected dx.shader attribute
2121
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