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 @@ -23,7 +23,7 @@ using namespace llvm;
2323static StringRef getRCName (dxil::ResourceClass RC) {
2424 switch (RC) {
2525 case dxil::ResourceClass::SRV:
26- return " SRV " ;
26+ return " texture " ;
2727 case dxil::ResourceClass::UAV:
2828 return " UAV" ;
2929 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