}
}
-VkResult anv_image_create(
- VkDevice _device,
- const struct anv_image_create_info * create_info,
- VkImage* pImage)
+VkResult
+anv_image_create(VkDevice _device,
+ const struct anv_image_create_info *create_info,
+ VkImage *pImage)
{
struct anv_device *device = (struct anv_device *) _device;
const VkImageCreateInfo *pCreateInfo = create_info->vk_info;
return VK_SUCCESS;
}
-VkResult anv_CreateImage(
- VkDevice device,
- const VkImageCreateInfo* pCreateInfo,
- VkImage* pImage)
+VkResult
+anv_CreateImage(VkDevice device,
+ const VkImageCreateInfo *pCreateInfo,
+ VkImage *pImage)
{
return anv_image_create(device,
&(struct anv_image_create_info) {
pImage);
}
-VkResult anv_GetImageSubresourceInfo(
- VkDevice device,
- VkImage image,
- const VkImageSubresource* pSubresource,
- VkSubresourceInfoType infoType,
- size_t* pDataSize,
- void* pData)
+VkResult
+anv_GetImageSubresourceInfo(VkDevice device,
+ VkImage image,
+ const VkImageSubresource *pSubresource,
+ VkSubresourceInfoType infoType,
+ size_t *pDataSize,
+ void *pData)
{
stub_return(VK_UNSUPPORTED);
}
GEN8_RENDER_SURFACE_STATE_pack(NULL, view->surface_state.map, &surface_state);
}
-VkResult anv_CreateImageView(
- VkDevice _device,
- const VkImageViewCreateInfo* pCreateInfo,
- VkImageView* pView)
+VkResult
+anv_CreateImageView(VkDevice _device,
+ const VkImageViewCreateInfo *pCreateInfo,
+ VkImageView *pView)
{
struct anv_device *device = (struct anv_device *) _device;
struct anv_surface_view *view;
GEN8_RENDER_SURFACE_STATE_pack(NULL, view->surface_state.map, &surface_state);
}
-VkResult anv_CreateColorAttachmentView(
- VkDevice _device,
- const VkColorAttachmentViewCreateInfo* pCreateInfo,
- VkColorAttachmentView* pView)
+VkResult
+anv_CreateColorAttachmentView(VkDevice _device,
+ const VkColorAttachmentViewCreateInfo *pCreateInfo,
+ VkColorAttachmentView *pView)
{
struct anv_device *device = (struct anv_device *) _device;
struct anv_surface_view *view;
return VK_SUCCESS;
}
-VkResult anv_CreateDepthStencilView(
- VkDevice _device,
- const VkDepthStencilViewCreateInfo* pCreateInfo,
- VkDepthStencilView* pView)
+VkResult
+anv_CreateDepthStencilView(VkDevice _device,
+ const VkDepthStencilViewCreateInfo *pCreateInfo,
+ VkDepthStencilView *pView)
{
struct anv_device *device = (struct anv_device *) _device;
struct anv_depth_stencil_view *view;