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:
afe2ef9
)
panvk: Non-destructively stub GetRenderAreaGranularity
author
Jason Ekstrand
<jason.ekstrand@collabora.com>
Fri, 28 Jan 2022 21:04:50 +0000
(15:04 -0600)
committer
Marge Bot
<emma+marge@anholt.net>
Tue, 8 Mar 2022 17:03:47 +0000
(17:03 +0000)
Don't crash. Just print a warning and return 1x1.
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15285>
src/panfrost/vulkan/panvk_pass.c
patch
|
blob
|
history
diff --git
a/src/panfrost/vulkan/panvk_pass.c
b/src/panfrost/vulkan/panvk_pass.c
index
6505647
..
f197528
100644
(file)
--- a/
src/panfrost/vulkan/panvk_pass.c
+++ b/
src/panfrost/vulkan/panvk_pass.c
@@
-218,5
+218,6
@@
panvk_GetRenderAreaGranularity(VkDevice _device,
VkRenderPass renderPass,
VkExtent2D *pGranularity)
{
- panvk_stub();
+ /* TODO: Return the actual tile size for the render pass? */
+ *pGranularity = (VkExtent2D) { 1, 1 };
}