Debian Codegraph @

clang/test/AST/HLSL/semantic-input.hlsl

raw
1 // RUN: %clang_cc1 -triple spirv-unknown-vulkan1.3-vertex -finclude-default-header -ast-dump -o - %s | FileCheck %s
2 // RUN: %clang_cc1 -triple dxil-pc-shadermodel6.8-vertex -finclude-default-header -ast-dump -o - %s | FileCheck %s
3
4 // CHECK: ParmVarDecl {{.*}} a 'float4':'vector<float, 4>'
5 // CHECK-NEXT: HLSLParsedSemanticAttr {{.*}} "ABC" 0
6 // CHECK-NEXT: HLSLAppliedSemanticAttr {{.*}} "ABC" 0
7
8 void main(float4 a : ABC) {
9 }