clang/test/Driver/hlsl_matrix_pack_order.hlsl
raw| 1 | // RUN: %clang_dxc -T lib_6_7 -Zpr -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-ROW-MAJOR |
| 2 | // CHECK-ROW-MAJOR: -fmatrix-memory-layout=row-major |
| 3 | |
| 4 | // RUN: %clang_dxc -T lib_6_7 -Zpc -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-COL-MAJOR |
| 5 | // CHECK-COL-MAJOR: -fmatrix-memory-layout=column-major |
| 6 | |
| 7 | // RUN: not %clang_dxc -Tlib_6_7 -Zpr -Zpc -fcgl -Fo - %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-MISMATCH-MAJOR |
| 8 | // CHECK-MISMATCH-MAJOR: cannot specify /Zpr and /Zpc together |