add stencil support

This commit is contained in:
InoriRus
2022-03-21 19:23:27 +10:00
parent 02a77aa81a
commit 838a09c810
30 changed files with 2448 additions and 781 deletions
@@ -12,6 +12,8 @@
namespace Kyty::Libs::Graphics {
class CommandBuffer;
struct VulkanSwapchain
{
VkSwapchainKHR swapchain = nullptr;
@@ -102,6 +104,11 @@ struct VulkanBuffer
VkBufferUsageFlags usage = 0;
};
struct StorageVulkanBuffer: public VulkanBuffer
{
CommandBuffer* cmd_buffer = nullptr;
};
} // namespace Kyty::Libs::Graphics
#endif // KYTY_EMU_ENABLED