mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
lavapipe: fix beta build due to changes in AMDX ext
This is probably not correct, but this needs an overhaul,
fixes the -Dvulkan-beta=true build.
Fixes: fcaf0f2590 ("vulkan: update to 302 headers for av1 encode")
Acked-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32520>
This commit is contained in:
parent
bed66430ab
commit
a0918ca13d
1 changed files with 2 additions and 1 deletions
|
|
@ -1469,7 +1469,8 @@ lvp_GetExecutionGraphPipelineScratchSizeAMDX(VkDevice device, VkPipeline executi
|
|||
VkExecutionGraphPipelineScratchSizeAMDX *pSizeInfo)
|
||||
{
|
||||
VK_FROM_HANDLE(lvp_pipeline, pipeline, executionGraph);
|
||||
pSizeInfo->size = MAX2(pipeline->exec_graph.scratch_size * 32, 16);
|
||||
pSizeInfo->minSize = MAX2(pipeline->exec_graph.scratch_size * 32, 16);
|
||||
pSizeInfo->maxSize = pSizeInfo->minSize;
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue