vk: Implement the GetRenderAreaGranularity function

At the moment, we're just going to scissor clears so a granularity of 1x1
is all we need.
This commit is contained in:
Jason Ekstrand
2015-07-07 17:11:35 -07:00
parent 435b062b26
commit 0ff06540ae
2 changed files with 16 additions and 0 deletions

View File

@@ -3641,6 +3641,16 @@ VkResult anv_CreateRenderPass(
return VK_SUCCESS;
}
VkResult anv_GetRenderAreaGranularity(
VkDevice device,
VkRenderPass renderPass,
VkExtent2D* pGranularity)
{
*pGranularity = (VkExtent2D) { 1, 1 };
return VK_SUCCESS;
}
static void
anv_cmd_buffer_emit_depth_stencil(struct anv_cmd_buffer *cmd_buffer,
struct anv_render_pass *pass)