16 lines · plain
1// Create a dummy dxv to run2// RUN: mkdir -p %t.dir3// RUN: echo "dxv" > %t.dir/dxv && chmod 754 %t.dir/dxv4 5// RUN: %clang_dxc -Qstrip-rootsignature --dxv-path=%t.dir -T cs_6_0 /Fo %t.dxo -### %s 2>&1 | FileCheck %s6 7// Test to demonstrate that we specify to the root signature with the8// -Qstrip-rootsignature option and that it occurs before DXV9 10// CHECK: "{{.*}}llvm-objcopy{{(.exe)?}}" "{{.*}}.obj" "{{.*}}.obj" "--remove-section=RTS0"11// CHECK: "{{.*}}dxv{{(.exe)?}}" "{{.*}}.obj" "-o" "{{.*}}.dxo"12 13[shader("compute"), RootSignature("")]14[numthreads(1,1,1)]15void EmptyEntry() {}16