1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 14:52:11 +01:00

[dxvk] Remove per-context staging buffer

No longer used.
This commit is contained in:
Philip Rebohle 2024-10-05 10:07:29 +02:00 committed by Philip Rebohle
parent 725a04b954
commit 501b0991da
2 changed files with 2 additions and 4 deletions

View File

@ -16,8 +16,7 @@ namespace dxvk {
m_initBarriers(DxvkCmdBuffer::InitBuffer),
m_execAcquires(DxvkCmdBuffer::ExecBuffer),
m_execBarriers(DxvkCmdBuffer::ExecBuffer),
m_queryManager(m_common->queryPool()),
m_staging (device, StagingBufferSize) {
m_queryManager(m_common->queryPool()) {
// Init framebuffer info with default render pass in case
// the app does not explicitly bind any render targets
m_state.om.framebufferInfo = makeFramebufferInfo(m_state.om.renderTargets);

View File

@ -31,7 +31,7 @@ namespace dxvk {
* recorded.
*/
class DxvkContext : public RcObject {
constexpr static VkDeviceSize StagingBufferSize = 4ull << 20;
public:
DxvkContext(const Rc<DxvkDevice>& device, DxvkContextType type);
@ -1464,7 +1464,6 @@ namespace dxvk {
DxvkBarrierControlFlags m_barrierControl;
DxvkGpuQueryManager m_queryManager;
DxvkStagingBuffer m_staging;
DxvkGlobalPipelineBarrier m_globalRoGraphicsBarrier;
DxvkGlobalPipelineBarrier m_globalRwGraphicsBarrier;