Skip to content

Commit a725b6e

Browse files
committed
add FIXME note to test code
1 parent 35764d5 commit a725b6e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

clang/test/SemaHLSL/Semantics/position.ps.hlsl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
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.
34
float4 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>'

clang/test/SemaHLSL/Semantics/position.ps.struct.hlsl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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.
1213
float4 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'

0 commit comments

Comments
 (0)