clang/test/Driver/HLSL/dxc_fvk_layout.hlsl
raw| 1 | // No errors. Otherwise nothing observable. |
| 2 | // RUN: %clang_dxc -fvk-use-dx-layout -spirv -Tlib_6_7 -### %s |
| 3 | |
| 4 | // RUN: not %clang_dxc -fvk-use-scalar-layout -spirv -Tlib_6_7 -### %s 2>&1 | FileCheck %s -check-prefix=SCALAR |
| 5 | // SCALAR: error: the clang compiler does not support '-fvk-use-scalar-layout' |
| 6 | |
| 7 | // RUN: not %clang_dxc -fvk-use-gl-layout -spirv -Tlib_6_7 -### %s 2>&1 | FileCheck %s -check-prefix=GL |
| 8 | // GL: error: the clang compiler does not support '-fvk-use-gl-layout' |