some fixes
This commit is contained in:
@@ -232,7 +232,11 @@ public: \
|
||||
void CVk##name##PipelineLibrary::Build() \
|
||||
{ \
|
||||
VkGraphicsPipelineCreateInfo pipeline = {}; \
|
||||
VkGraphicsPipelineLibraryCreateInfoEXT library = {}; \
|
||||
pipeline.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO; \
|
||||
library.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_LIBRARY_CREATE_INFO_EXT; \
|
||||
pipeline.pNext = &library; \
|
||||
pipeline.flags = VK_PIPELINE_CREATE_LIBRARY_BIT_KHR; \
|
||||
|
||||
#define END_BUILD_PIPELINE_LIBRARY() \
|
||||
vkCreateGraphicsPipelines(g_vkDevice, NULL, 1, &pipeline, NULL, &m_hPipeline); \
|
||||
@@ -263,11 +267,10 @@ struct VkFrameObject_t
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
IRenderingObject *VulkanGetObject( VkFrameObject_t stObject, int iIndex );
|
||||
|
||||
VkAccessFlags2 VulkanGetAccessFlags( EDependencyMode eMode );
|
||||
VkPipelineStageFlags2 VulkanGetStageFlags( EDependencyMode eMode );
|
||||
VkImageLayout VulkanGetImageLayout( EDependencyMode eMode );
|
||||
|
||||
VkFormat VulkanGetVertexFormat( EVertexFormat eFormat );
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user