vkGetRenderAreaGranularity implementation There's no reason to have any limitation on granularity in SwiftShader, so the granularity is always 1 pixel. Passes all tests in: dEQP-VK.api.granularity Bug b/119620965 Change-Id: Ie2f09737c0054da1b6806b9572e515446a8b1263 Reviewed-on: https://swiftshader-review.googlesource.com/c/24890 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/src/Vulkan/VkRenderPass.hpp b/src/Vulkan/VkRenderPass.hpp index 2355bb6..8a8a63d 100644 --- a/src/Vulkan/VkRenderPass.hpp +++ b/src/Vulkan/VkRenderPass.hpp
@@ -29,6 +29,8 @@ static size_t ComputeRequiredAllocationSize(const VkRenderPassCreateInfo* pCreateInfo); + void getRenderAreaGranularity(VkExtent2D* pGranularity) const; + void begin(); void nextSubpass(); void end();