added barriers, started working on libraries
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef VULKAN_COMMANDS_H
|
||||
#define VULKAN_COMMANDS_H
|
||||
|
||||
#include "tier1/utlvector.h"
|
||||
#include "vulkan_state.h"
|
||||
|
||||
BEGIN_VULKAN_COMMAND(ClearColor)
|
||||
@@ -12,4 +13,29 @@ BEGIN_VULKAN_COMMAND(ClearColor)
|
||||
IImage **ppSwapchainImages = NULL;
|
||||
END_VULKAN_COMMAND(ClearColor)
|
||||
|
||||
struct VulkanRenderOutput_t {
|
||||
EResolveMode m_eResolveMode;
|
||||
|
||||
VkFrameObject_t m_stImage;
|
||||
VkFrameObject_t m_stResolveImage;
|
||||
|
||||
ELoadMode m_eLoadMode;
|
||||
EStoreMode m_eStoreMode;
|
||||
};
|
||||
|
||||
BEGIN_VULKAN_COMMAND(Begin)
|
||||
CUtlVector<VulkanRenderOutput_t> images;
|
||||
VulkanRenderOutput_t stDepthImage;
|
||||
uint32_t nResolutionX;
|
||||
uint32_t nResolutionY;
|
||||
|
||||
|
||||
END_VULKAN_COMMAND(Begin)
|
||||
|
||||
BEGIN_VULKAN_COMMAND(End)
|
||||
END_VULKAN_COMMAND(End)
|
||||
|
||||
BEGIN_VULKAN_COMMAND(Empty)
|
||||
END_VULKAN_COMMAND(Empty)
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user