Skip to content

Commit 137bd96

Browse files
committed
review: add clang checks
1 parent b08b3ac commit 137bd96

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

clang/test/Driver/dxc_rootsig-define.hlsl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
// RUN: %clang_dxc -T cs_6_0 -fcgl -rootsig-define EmptyRS %s | FileCheck %s --check-prefixes=CHECK,EMPTY
33
// RUN: %clang_dxc -T cs_6_0 -fcgl -rootsig-define CmdRS -D CmdRS='"SRV(t0)"' %s | FileCheck %s --check-prefixes=CHECK,CMD
44

5+
// Equivalent clang checks:
6+
// RUN: %clang -target dxil-unknown-shadermodel6.0-compute -S -emit-llvm -o - %s \
7+
// RUN: | FileCheck %s --check-prefixes=CHECK,REG
8+
9+
// RUN: %clang -target dxil-unknown-shadermodel6.0-compute -S -emit-llvm -o - %s \
10+
// RUN: -fdx-rootsignature-define=EmptyRS \
11+
// RUN: | FileCheck %s --check-prefixes=CHECK,EMPTY
12+
13+
// RUN: %clang -target dxil-unknown-shadermodel6.0-compute -S -emit-llvm -o - %s \
14+
// RUN: -fdx-rootsignature-define=CmdRS -D CmdRS='"SRV(t0)"' \
15+
// RUN: | FileCheck %s --check-prefixes=CHECK,CMD
16+
517
#define EmptyRS ""
618
#define NotEmptyRS "CBV(b0)"
719

0 commit comments

Comments
 (0)