1 // RUN: %clang_dxc -T cs_6_0 -spirv -### %s 2>&1 | FileCheck %s
2 // RUN: %clang_dxc -T cs_6_0 -spirv -fspv-target-env=vulkan1.2 -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-VULKAN12
3 // RUN: %clang_dxc -T cs_6_0 -spirv -fspv-target-env=vulkan1.3 -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-VULKAN13
4 // RUN: not %clang_dxc -T cs_6_0 -spirv -fspv-target-env=vulkan1.0 -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
6 // CHECK: "-triple" "spirv-unknown-vulkan-compute"
7 // CHECK-SAME: "-x" "hlsl"
9 // CHECK-VULKAN12: "-triple" "spirv-unknown-vulkan1.2-compute"
11 // CHECK-VULKAN13: "-triple" "spirv-unknown-vulkan1.3-compute"
13 // CHECK-ERROR: error: invalid value 'vulkan1.0' in '-fspv-target-env=vulkan1.0'