summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenHLSL/RootSignature-Target.hlsl
blob: 50e6bae6786f097c29de8e84bb2e9dc091d11e7d (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-rootsignature \
// RUN: -hlsl-entry EntryRS -emit-llvm -o - %s | FileCheck %s

// CHECK: !dx.rootsignatures = !{![[#ENTRY:]]}
// CHECK: ![[#ENTRY]] = !{null, ![[#ENTRY_RS:]], i32 2}
// CHECK: ![[#ENTRY_RS]] = !{![[#ROOT_CBV:]]}
// CHECK: ![[#ROOT_CBV]] = !{!"RootCBV", i32 0, i32 0, i32 0, i32 4}

#define EntryRS "CBV(b0)"