projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95feb95
)
vulkan/render_pass: add common vkGetRenderingAreaGranularityKHR()
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Mon, 7 Aug 2023 06:42:53 +0000
(08:42 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Thu, 10 Aug 2023 03:05:02 +0000
(
03:05
+0000)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24392>
src/vulkan/runtime/vk_render_pass.c
patch
|
blob
|
history
diff --git
a/src/vulkan/runtime/vk_render_pass.c
b/src/vulkan/runtime/vk_render_pass.c
index
f096dfd
..
bc1ae99
100644
(file)
--- a/
src/vulkan/runtime/vk_render_pass.c
+++ b/
src/vulkan/runtime/vk_render_pass.c
@@
-1059,6
+1059,14
@@
vk_common_GetRenderAreaGranularity(VkDevice device,
VkRenderPass renderPass,
VkExtent2D *pGranularity)
{
+ *pGranularity = (VkExtent2D){1, 1};
+}
+
+VKAPI_ATTR void VKAPI_CALL
+vk_common_GetRenderingAreaGranularityKHR(
+ VkDevice _device, const VkRenderingAreaInfoKHR *pRenderingAreaInfo,
+ VkExtent2D *pGranularity)
+{
*pGranularity = (VkExtent2D) { 1, 1 };
}