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:
parent
725a04b954
commit
501b0991da
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user