File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ using namespace llvm;
22
22
static StringRef getRCName (dxil::ResourceClass RC) {
23
23
switch (RC) {
24
24
case dxil::ResourceClass::SRV:
25
- return " SRV " ;
25
+ return " texture " ;
26
26
case dxil::ResourceClass::UAV:
27
27
return " UAV" ;
28
28
case dxil::ResourceClass::CBuffer:
Original file line number Diff line number Diff line change 3
3
4
4
; CHECK-PRETTY: Type Format Dim ID HLSL Bind Count
5
5
; CHECK-PRETTY: ---------- ------- ----------- ------- -------------- ---------
6
- ; CHECK-PRETTY: SRV f32 buf T0 t7 unbounded
7
- ; CHECK-PRETTY: SRV byte r/o T1 t8,space1 1
8
- ; CHECK-PRETTY: SRV struct r/o T2 t2,space4 1
9
- ; CHECK-PRETTY: SRV u32 buf T3 t3,space5 24
6
+ ; CHECK-PRETTY: texture f32 buf T0 t7 unbounded
7
+ ; CHECK-PRETTY: texture byte r/o T1 t8,space1 1
8
+ ; CHECK-PRETTY: texture struct r/o T2 t2,space4 1
9
+ ; CHECK-PRETTY: texture u32 buf T3 t3,space5 24
10
10
; CHECK-PRETTY: UAV i32 buf U0 u7,space2 1
11
11
; CHECK-PRETTY: UAV f32 buf U1 u5,space3 1
12
12
Original file line number Diff line number Diff line change 3
3
4
4
; CHECK-PRETTY: Type Format Dim ID HLSL Bind Count
5
5
; CHECK-PRETTY: ---------- ------- ----------- ------- -------------- ---------
6
- ; CHECK-PRETTY: SRV f32 buf T0 t7 unbounded
7
- ; CHECK-PRETTY: SRV byte r/o T1 t8,space1 1
8
- ; CHECK-PRETTY: SRV struct r/o T2 t2,space4 1
9
- ; CHECK-PRETTY: SRV u32 buf T3 t3,space5 24
6
+ ; CHECK-PRETTY: texture f32 buf T0 t7 unbounded
7
+ ; CHECK-PRETTY: texture byte r/o T1 t8,space1 1
8
+ ; CHECK-PRETTY: texture struct r/o T2 t2,space4 1
9
+ ; CHECK-PRETTY: texture u32 buf T3 t3,space5 24
10
10
; CHECK-PRETTY: UAV i32 buf U0 u7,space2 1
11
11
; CHECK-PRETTY: UAV f32 buf U1 u5,space3 1
12
12
; CHECK-PRETTY: cbuffer NA NA CB0 cb0 1
You can’t perform that action at this time.
0 commit comments