Debian Codegraph @

clang/test/Driver/dxc_frs.hlsl

raw
1 // RUN: %clang_dxc -Vd -T cs_6_0 /Fo %t.dxo /Frs %t.rs.dxo -### %s 2>&1 | FileCheck %s
2
3 // Test to demonstrate extracting the root signature to the specified
4 // 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)]
9 void EmptyEntry() {}