vk/meta: Actually create the CB state for blits
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 27 May 2015 19:06:30 +0000 (12:06 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 27 May 2015 19:06:30 +0000 (12:06 -0700)
src/vulkan/meta.c

index f8b66b0b2fe1c702b828fd4f13fcceab19bfe160..83e37c43c7bf713e6455ec1252dc4899ecc360ec 100644 (file)
@@ -482,6 +482,12 @@ anv_device_init_meta_blit_state(struct anv_device *device)
          .sType = VK_STRUCTURE_TYPE_DYNAMIC_RS_STATE_CREATE_INFO,
        },
       &device->blit_state.rs_state);
+
+   anv_CreateDynamicColorBlendState((VkDevice) device,
+      &(VkDynamicCbStateCreateInfo) {
+         .sType = VK_STRUCTURE_TYPE_DYNAMIC_CB_STATE_CREATE_INFO
+      },
+      &device->blit_state.cb_state);
 }
 
 static void