rhi: Switch command lists to QVLA
Change-Id: Ic163533eee973f0ee2f3e2efe25390caa57dd659 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>bb10
parent
63e54fbdfe
commit
7f3b62324e
|
|
@ -457,7 +457,7 @@ struct QD3D11CommandBuffer : public QRhiCommandBuffer
|
|||
ComputePass
|
||||
};
|
||||
|
||||
QList<Command> commands;
|
||||
QVarLengthArray<Command, 1024> commands;
|
||||
PassType recordingPass;
|
||||
QRhiRenderTarget *currentTarget;
|
||||
QRhiGraphicsPipeline *currentGraphicsPipeline;
|
||||
|
|
|
|||
|
|
@ -514,7 +514,7 @@ struct QGles2CommandBuffer : public QRhiCommandBuffer
|
|||
ComputePass
|
||||
};
|
||||
|
||||
QList<Command> commands;
|
||||
QVarLengthArray<Command, 1024> commands;
|
||||
QVarLengthArray<QRhiPassResourceTracker, 8> passResTrackers;
|
||||
int currentPassResTrackerIndex;
|
||||
|
||||
|
|
|
|||
|
|
@ -533,7 +533,7 @@ struct QVkCommandBuffer : public QRhiCommandBuffer
|
|||
} executeSecondary;
|
||||
} args;
|
||||
};
|
||||
QList<Command> commands;
|
||||
QVarLengthArray<Command, 1024> commands;
|
||||
QVarLengthArray<QRhiPassResourceTracker, 8> passResTrackers;
|
||||
int currentPassResTrackerIndex;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue