mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-22 07:54:15 +01:00
[dxvk] Remove redundant parameter from DxvkCommandList constructor
This commit is contained in:
parent
2d93452cba
commit
9e3914b368
@ -4,12 +4,11 @@
|
|||||||
namespace dxvk {
|
namespace dxvk {
|
||||||
|
|
||||||
DxvkCommandList::DxvkCommandList(
|
DxvkCommandList::DxvkCommandList(
|
||||||
const Rc<vk::DeviceFn>& vkd,
|
|
||||||
DxvkDevice* device,
|
DxvkDevice* device,
|
||||||
uint32_t queueFamily)
|
uint32_t queueFamily)
|
||||||
: m_vkd (vkd),
|
: m_vkd (device->vkd()),
|
||||||
m_cmdBuffersUsed(0),
|
m_cmdBuffersUsed(0),
|
||||||
m_descAlloc (vkd),
|
m_descAlloc (device->vkd()),
|
||||||
m_stagingAlloc (device) {
|
m_stagingAlloc (device) {
|
||||||
VkFenceCreateInfo fenceInfo;
|
VkFenceCreateInfo fenceInfo;
|
||||||
fenceInfo.sType = VK_STRUCTURE_TYPE_FENCE_CREATE_INFO;
|
fenceInfo.sType = VK_STRUCTURE_TYPE_FENCE_CREATE_INFO;
|
||||||
|
@ -43,7 +43,6 @@ namespace dxvk {
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
DxvkCommandList(
|
DxvkCommandList(
|
||||||
const Rc<vk::DeviceFn>& vkd,
|
|
||||||
DxvkDevice* device,
|
DxvkDevice* device,
|
||||||
uint32_t queueFamily);
|
uint32_t queueFamily);
|
||||||
~DxvkCommandList();
|
~DxvkCommandList();
|
||||||
|
@ -106,8 +106,8 @@ namespace dxvk {
|
|||||||
Rc<DxvkCommandList> cmdList = m_recycledCommandLists.retrieveObject();
|
Rc<DxvkCommandList> cmdList = m_recycledCommandLists.retrieveObject();
|
||||||
|
|
||||||
if (cmdList == nullptr) {
|
if (cmdList == nullptr) {
|
||||||
cmdList = new DxvkCommandList(m_vkd,
|
cmdList = new DxvkCommandList(this,
|
||||||
this, m_adapter->graphicsQueueFamily());
|
m_adapter->graphicsQueueFamily());
|
||||||
}
|
}
|
||||||
|
|
||||||
return cmdList;
|
return cmdList;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user