summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_meta.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-11-30 18:12:55 -0800
committerJason Ekstrand <[email protected]>2015-12-03 13:43:52 -0800
commit4cf0b57bbfd5526e63c63d3a6fa6b4cadd128a98 (patch)
tree3a3447523d64215412d270a082a7cd8e9388019c /src/vulkan/anv_meta.c
parent7f2284063df569df40f68074833f1518005d348d (diff)
vk/0.210.0: Rename ChannelFlags to ColorComponentFlags
Diffstat (limited to 'src/vulkan/anv_meta.c')
-rw-r--r--src/vulkan/anv_meta.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/vulkan/anv_meta.c b/src/vulkan/anv_meta.c
index f9b40004b23..a3f5733e122 100644
--- a/src/vulkan/anv_meta.c
+++ b/src/vulkan/anv_meta.c
@@ -371,8 +371,11 @@ anv_device_init_meta_blit_state(struct anv_device *device)
.sType = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO,
.attachmentCount = 1,
.pAttachments = (VkPipelineColorBlendAttachmentState []) {
- { .channelWriteMask = VK_CHANNEL_A_BIT |
- VK_CHANNEL_R_BIT | VK_CHANNEL_G_BIT | VK_CHANNEL_B_BIT },
+ { .colorWriteMask =
+ VK_COLOR_COMPONENT_A_BIT |
+ VK_COLOR_COMPONENT_R_BIT |
+ VK_COLOR_COMPONENT_G_BIT |
+ VK_COLOR_COMPONENT_B_BIT },
}
},
.pDynamicState = &(VkPipelineDynamicStateCreateInfo) {