mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 01:24:11 +01:00
[dxvk] Pass DxvkDevice to DxvkMetaPackObjects constructor
This commit is contained in:
parent
9a2da555c0
commit
6a58c432ec
@ -26,7 +26,7 @@ namespace dxvk {
|
||||
m_metaCopyObjects (new DxvkMetaCopyObjects (this)),
|
||||
m_metaResolveObjects(new DxvkMetaResolveObjects (this)),
|
||||
m_metaMipGenObjects (new DxvkMetaMipGenObjects (this)),
|
||||
m_metaPackObjects (new DxvkMetaPackObjects (vkd)),
|
||||
m_metaPackObjects (new DxvkMetaPackObjects (this)),
|
||||
m_unboundResources (this),
|
||||
m_submissionQueue (this) {
|
||||
auto queueFamilies = m_adapter->findQueueFamilies();
|
||||
|
@ -12,6 +12,8 @@
|
||||
|
||||
namespace dxvk {
|
||||
|
||||
class DxvkDevice;
|
||||
|
||||
/**
|
||||
* \brief Copy pipeline
|
||||
*
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "dxvk_meta_pack.h"
|
||||
#include "dxvk_device.h"
|
||||
|
||||
#include <dxvk_pack_d24s8.h>
|
||||
#include <dxvk_pack_d32s8.h>
|
||||
@ -9,8 +10,8 @@
|
||||
|
||||
namespace dxvk {
|
||||
|
||||
DxvkMetaPackObjects::DxvkMetaPackObjects(const Rc<vk::DeviceFn>& vkd)
|
||||
: m_vkd (vkd),
|
||||
DxvkMetaPackObjects::DxvkMetaPackObjects(const DxvkDevice* device)
|
||||
: m_vkd (device->vkd()),
|
||||
m_sampler (createSampler()),
|
||||
m_dsetLayoutPack (createPackDescriptorSetLayout()),
|
||||
m_dsetLayoutUnpack(createUnpackDescriptorSetLayout()),
|
||||
|
@ -76,7 +76,7 @@ namespace dxvk {
|
||||
|
||||
public:
|
||||
|
||||
DxvkMetaPackObjects(const Rc<vk::DeviceFn>& vkd);
|
||||
DxvkMetaPackObjects(const DxvkDevice* device);
|
||||
~DxvkMetaPackObjects();
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user