File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -3952,16 +3952,12 @@ void WrappedID3D12GraphicsCommandList::FinaliseExecuteIndirectEvents(BakedCmdLis
39523952
39533953 if (arg.Constant .RootParameterIndex < state.graphics .sigelems .size ())
39543954 {
3955- state.graphics .sigelems [arg.Constant .RootParameterIndex ].constants .resize_for_index (
3956- arg.Constant .Num32BitValuesToSet + arg.Constant .DestOffsetIn32BitValues );
39573955 state.graphics .sigelems [arg.Constant .RootParameterIndex ].SetConstants (
39583956 arg.Constant .Num32BitValuesToSet , data32, arg.Constant .DestOffsetIn32BitValues );
39593957 }
39603958
39613959 if (arg.Constant .RootParameterIndex < state.compute .sigelems .size ())
39623960 {
3963- state.compute .sigelems [arg.Constant .RootParameterIndex ].constants .resize_for_index (
3964- arg.Constant .Num32BitValuesToSet + arg.Constant .DestOffsetIn32BitValues );
39653961 state.compute .sigelems [arg.Constant .RootParameterIndex ].SetConstants (
39663962 arg.Constant .Num32BitValuesToSet , data32, arg.Constant .DestOffsetIn32BitValues );
39673963 }
Original file line number Diff line number Diff line change @@ -110,16 +110,12 @@ void D3D12RenderState::ResolvePendingIndirectState(WrappedID3D12Device *device)
110110 if (comSig->sig .graphics )
111111 {
112112 graphics.sigelems .resize_for_index (arg.Constant .RootParameterIndex );
113- graphics.sigelems [arg.Constant .RootParameterIndex ].constants .resize_for_index (
114- arg.Constant .Num32BitValuesToSet + arg.Constant .DestOffsetIn32BitValues );
115113 graphics.sigelems [arg.Constant .RootParameterIndex ].SetConstants (
116114 arg.Constant .Num32BitValuesToSet , data32, arg.Constant .DestOffsetIn32BitValues );
117115 }
118116 else
119117 {
120118 compute.sigelems .resize_for_index (arg.Constant .RootParameterIndex );
121- compute.sigelems [arg.Constant .RootParameterIndex ].constants .resize_for_index (
122- arg.Constant .Num32BitValuesToSet + arg.Constant .DestOffsetIn32BitValues );
123119 compute.sigelems [arg.Constant .RootParameterIndex ].SetConstants (
124120 arg.Constant .Num32BitValuesToSet , data32, arg.Constant .DestOffsetIn32BitValues );
125121 }
You can’t perform that action at this time.
0 commit comments