1 // RUN: %clang_dxc -I test -Tlib_6_3 -### %s 2>&1 | FileCheck %s
3 // Make sure report warning.
6 // RUN: echo "dxv" > %T/dxv && chmod 754 %T/dxv && %clang_dxc --dxv-path=%T %s -Tlib_6_3 -### 2>&1 | FileCheck %s --check-prefix=DXV_PATH
7 // DXV_PATH:dxv{{(.exe)?}}" "-" "-o" "-"
9 // RUN: %clang_dxc -I test -Vd -Tlib_6_3 -### %s 2>&1 | FileCheck %s --check-prefix=VD
10 // VD:"-cc1"{{.*}}"-triple" "dxilv1.3-unknown-shadermodel6.3-library"
11 // VD-NOT:dxv not found
13 // RUN: %clang_dxc -Tlib_6_3 -ccc-print-bindings --dxv-path=%T -Fo %t.dxo %s 2>&1 | FileCheck %s --check-prefix=BINDINGS
14 // BINDINGS: "dxilv1.3-unknown-shadermodel6.3-library" - "clang", inputs: ["[[INPUT:.+]]"], output: "[[DXC:.+]].dxo"
15 // BINDINGS-NEXT: "dxilv1.3-unknown-shadermodel6.3-library" - "hlsl::Validator", inputs: ["[[DXC]].dxo"]
17 // RUN: %clang_dxc -Tlib_6_3 -ccc-print-phases --dxv-path=%T -Fo %t.dxc %s 2>&1 | FileCheck %s --check-prefix=PHASES
19 // PHASES: 0: input, "[[INPUT:.+]]", hlsl
20 // PHASES-NEXT: 1: preprocessor, {0}, c++-cpp-output
21 // PHASES-NEXT: 2: compiler, {1}, ir
22 // PHASES-NEXT: 3: backend, {2}, assembler
23 // PHASES-NEXT: 4: assembler, {3}, object
24 // PHASES-NEXT: 5: binary-analyzer, {4}, dx-container