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;
2222static StringRef getRCName (dxil::ResourceClass RC) {
2323 switch (RC) {
2424 case dxil::ResourceClass::SRV:
25- return " SRV " ;
25+ return " texture " ;
2626 case dxil::ResourceClass::UAV:
2727 return " UAV" ;
2828 case dxil::ResourceClass::CBuffer:
Original file line number Diff line number Diff line change 33
44; CHECK-PRETTY: Type Format Dim ID HLSL Bind Count
55; 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
1010; CHECK-PRETTY: UAV i32 buf U0 u7,space2 1
1111; CHECK-PRETTY: UAV f32 buf U1 u5,space3 1
1212
Original file line number Diff line number Diff line change 33
44; CHECK-PRETTY: Type Format Dim ID HLSL Bind Count
55; 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
1010; CHECK-PRETTY: UAV i32 buf U0 u7,space2 1
1111; CHECK-PRETTY: UAV f32 buf U1 u5,space3 1
1212; CHECK-PRETTY: cbuffer NA NA CB0 cb0 1
You can’t perform that action at this time.
0 commit comments