This commit is contained in:
Philip Rebohle 2017-10-11 09:51:22 +02:00
parent 7e4e7dd395
commit fce424ccfe
3 changed files with 6 additions and 16 deletions

View File

@ -1,6 +1,8 @@
#pragma once
#include "dxgi_private_data.h"
#include "dxgi_include.h"
#include "../util/com/com_private_data.h"
namespace dxvk {
@ -34,7 +36,7 @@ namespace dxvk {
private:
DxgiPrivateData m_privateData;
ComPrivateData m_privateData;
};

View File

@ -50,7 +50,7 @@ namespace dxvk {
Rc<DxvkImage> DxvkDevice::createImage(
const DxvkImageCreateInfo& createInfo,
VkMemoryPropertyFlags memoryType) {
// TODO implement
}
@ -112,7 +112,7 @@ namespace dxvk {
if (m_vkd->vkQueueSubmit(m_graphicsQueue, 1, &info, fence->handle()) != VK_SUCCESS)
throw DxvkError("DxvkDevice::submitCommandList: Command submission failed");
// TODO Store fence + command list pairs in a ring buffer
// TODO Delay synchronization by putting these into a ring buffer
fence->wait(std::numeric_limits<uint64_t>::max());
commandList->reset();
return fence;

View File

@ -34,18 +34,6 @@ namespace dxvk {
public:
/**
* \brief Creates a new image
*
* \param [in] vkd Vulkan device functions
* \param [in] info Image properties
* \param [in] memory Image memory
*/
// DxvkImage(
// const Rc<vk::DeviceFn>& vkd,
// const DxvkImageCreateInfo& info,
// DxvkMemory&& memory);
/**
* \brief Creates image object from existing image
*