MCPcopy Create free account
hub / github.com/defold/defold / VulkanStoreOp

Function VulkanStoreOp

engine/graphics/src/vulkan/graphics_vulkan.cpp:4086–4096  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4084 }
4085
4086 static inline VkAttachmentStoreOp VulkanStoreOp(AttachmentOp op)
4087 {
4088 switch(op)
4089 {
4090 case ATTACHMENT_OP_STORE: return VK_ATTACHMENT_STORE_OP_STORE;
4091 case ATTACHMENT_OP_DONT_CARE: return VK_ATTACHMENT_STORE_OP_DONT_CARE;
4092 default:break;
4093 }
4094 assert(0);
4095 return (VkAttachmentStoreOp) -1;
4096 }
4097
4098 static inline VkAttachmentLoadOp VulkanLoadOp(AttachmentOp op)
4099 {

Callers 1

CreateRenderTargetFunction · 0.85

Calls 1

assertFunction · 0.50

Tested by

no test coverage detected