10 lines · plain
1// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-rootsignature \2// RUN: -hlsl-entry EntryRS -emit-llvm -o - %s | FileCheck %s3 4// CHECK: !dx.rootsignatures = !{![[#ENTRY:]]}5// CHECK: ![[#ENTRY]] = !{null, ![[#ENTRY_RS:]], i32 2}6// CHECK: ![[#ENTRY_RS]] = !{![[#ROOT_CBV:]]}7// CHECK: ![[#ROOT_CBV]] = !{!"RootCBV", i32 0, i32 0, i32 0, i32 4}8 9#define EntryRS "CBV(b0)"10