File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
clang/test/SemaHLSL/Semantics Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change 11// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-pixel -x hlsl -finclude-default-header -o - %s -ast-dump | FileCheck %s
22
3+ // FIXME(Keenuts): add mandatory output semantic once those are implemented.
34float4 main (float4 a : SV_Position2) {
45// CHECK: FunctionDecl 0x{{[0-9a-fA-F]+}} <{{.*}}> line:[[@LINE-1]]:8 main 'float4 (float4)'
56// CHECK-NEXT: ParmVarDecl 0x{{[0-9a-fA-F]+}} <{{.*}}> col:20 a 'float4':'vector<float, 4>'
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ struct S {
99// CHECK: HLSLSV_PositionAttr 0x{{[0-9a-fA-F]+}} <col:15> <<<NULL>>> 3 SemanticExplicitIndex
1010};
1111
12+ // FIXME(Keenuts): add mandatory output semantic once those are implemented.
1213float4 main (S s) {
1314// CHECK: FunctionDecl 0x{{[0-9a-fA-F]+}} <{{.*}}> line:[[@LINE-1]]:8 main 'float4 (S)'
1415// CHECK-NEXT: ParmVarDecl 0x{{[0-9a-fA-F]+}} <{{.*}}> col:15 s 'S'
You can’t perform that action at this time.
0 commit comments