.framebuffer = VK_NULL_HANDLE,
};
const VkClearValue clear_values[2] = {
- [0] = { .color.f32 = { 0.2f, 0.2f, 0.2f, 0.2f } },
- [1] = { .ds = { 1.0f, 0 } },
+ [0] = { .color.float32 = { 0.2f, 0.2f, 0.2f, 0.2f } },
+ [1] = { .depthStencil = { 1.0f, 0 } },
};
const VkRenderPassBeginInfo rp_begin = {
.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO,
.framebuffer = VK_NULL_HANDLE,
};
const VkClearValue clear_values[2] = {
- [0] = { .color.f32 = { 0.2f, 0.2f, 0.2f, 0.2f } },
- [1] = { .ds = { 0.9f, 0 } },
+ [0] = { .color.float32 = { 0.2f, 0.2f, 0.2f, 0.2f } },
+ [1] = { .depthStencil = { 0.9f, 0 } },
};
const VkRenderPassBeginInfo rp_begin = {
.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO,
((major << 22) | (minor << 12) | patch)
// Vulkan API version supported by this file
-#define VK_API_VERSION VK_MAKE_VERSION(0, 154, 0)
+#define VK_API_VERSION VK_MAKE_VERSION(0, 155, 0)
#if defined(__cplusplus) && (_MSC_VER >= 1800 || __cplusplus >= 201103L)
} VkBufferImageCopy;
typedef union {
- float f32[4];
- int32_t s32[4];
- uint32_t u32[4];
+ float float32[4];
+ int32_t int32[4];
+ uint32_t uint32[4];
} VkClearColorValue;
typedef struct {
typedef union {
VkClearColorValue color;
- VkClearDepthStencilValue ds;
+ VkClearDepthStencilValue depthStencil;
} VkClearValue;
typedef struct {