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:
8636597
)
nvk: Implement GetRenderingAreaGranularityKHR
author
Faith Ekstrand
<faith.ekstrand@collabora.com>
Fri, 4 Aug 2023 15:45:25 +0000
(10:45 -0500)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 4 Aug 2023 21:32:07 +0000
(21:32 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_cmd_draw.c
patch
|
blob
|
history
diff --git
a/src/nouveau/vulkan/nvk_cmd_draw.c
b/src/nouveau/vulkan/nvk_cmd_draw.c
index
8192a5b
..
3b60b0c
100644
(file)
--- a/
src/nouveau/vulkan/nvk_cmd_draw.c
+++ b/
src/nouveau/vulkan/nvk_cmd_draw.c
@@
-507,6
+507,15
@@
nil_to_nv9097_samples_mode(enum nil_sample_layout sample_layout)
return nil_to_nv9097[sample_layout];
}
+VKAPI_ATTR void VKAPI_CALL
+nvk_GetRenderingAreaGranularityKHR(
+ VkDevice device,
+ const VkRenderingAreaInfoKHR *pRenderingAreaInfo,
+ VkExtent2D *pGranularity)
+{
+ *pGranularity = (VkExtent2D) { .width = 1, .height = 1 };
+}
+
void
nvk_CmdBeginRendering(VkCommandBuffer commandBuffer,
const VkRenderingInfo *pRenderingInfo)