mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14:52:11 +01:00
[dxvk] Remove unused buffer barrier array
This commit is contained in:
parent
763b82b1e4
commit
af3c46d83c
@ -225,11 +225,6 @@ namespace dxvk {
|
||||
depInfo.pMemoryBarriers = &m_memBarrier;
|
||||
}
|
||||
|
||||
if (!m_bufBarriers.empty()) {
|
||||
depInfo.bufferMemoryBarrierCount = m_bufBarriers.size();
|
||||
depInfo.pBufferMemoryBarriers = m_bufBarriers.data();
|
||||
}
|
||||
|
||||
if (!m_imgBarriers.empty()) {
|
||||
depInfo.imageMemoryBarrierCount = m_imgBarriers.size();
|
||||
depInfo.pImageMemoryBarriers = m_imgBarriers.data();
|
||||
@ -289,8 +284,7 @@ namespace dxvk {
|
||||
m_memBarrier.dstStageMask = 0;
|
||||
m_memBarrier.dstAccessMask = 0;
|
||||
|
||||
m_bufBarriers.resize(0);
|
||||
m_imgBarriers.resize(0);
|
||||
m_imgBarriers.clear();
|
||||
|
||||
m_bufSlices.clear();
|
||||
m_imgSlices.clear();
|
||||
|
@ -602,7 +602,6 @@ namespace dxvk {
|
||||
VkPipelineStageFlags2 m_allBarrierSrcStages = 0;
|
||||
|
||||
VkMemoryBarrier2 m_memBarrier = { VK_STRUCTURE_TYPE_MEMORY_BARRIER_2 };
|
||||
std::vector<VkBufferMemoryBarrier2> m_bufBarriers;
|
||||
std::vector<VkImageMemoryBarrier2> m_imgBarriers;
|
||||
|
||||
DxvkBarrierSubresourceSet<VkBuffer, DxvkBarrierBufferSlice> m_bufSlices;
|
||||
|
Loading…
x
Reference in New Issue
Block a user