10 lines · plain
1// RUN: %clang_dxc -Vd -T cs_6_0 /Fo %t.dxo /Frs %t.rs.dxo -### %s 2>&1 | FileCheck %s2 3// Test to demonstrate extracting the root signature to the specified4// output file with /Frs.5 6// CHECK: "{{.*}}llvm-objcopy{{(.exe)?}}" "{{.*}}.obj" "{{.*}}.dxo" "--extract-section=RTS0={{.*}}.rs.dxo"7[shader("compute"), RootSignature("")]8[numthreads(1,1,1)]9void EmptyEntry() {}10