gfxstream: Remove internal vk_util.h and vk_struct_id.h entirely

Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Aaron Ruby <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33006>
This commit is contained in:
Aaron Ruby
2025-01-13 14:35:23 -05:00
committed by Marge Bot
parent e9663276f4
commit e862bb52bd
7 changed files with 104 additions and 455 deletions
@@ -138,7 +138,7 @@ SNAPSHOT_HANDLE_DEPENDENCIES = [
handleDependenciesDict = dict(SNAPSHOT_HANDLE_DEPENDENCIES)
def extract_deps_vkAllocateMemory(param, access, lenExpr, api, cgen):
cgen.stmt("const VkMemoryDedicatedAllocateInfo* dedicatedAllocateInfo = vk_find_struct<VkMemoryDedicatedAllocateInfo>(pAllocateInfo)");
cgen.stmt("const VkMemoryDedicatedAllocateInfo* dedicatedAllocateInfo = vk_find_struct_const(pAllocateInfo, MEMORY_DEDICATED_ALLOCATE_INFO)");
cgen.beginIf("dedicatedAllocateInfo");
cgen.beginIf("dedicatedAllocateInfo->image")
cgen.stmt("mReconstruction.addHandleDependency((const uint64_t*)%s, %s, (uint64_t)(uintptr_t)%s)" % \
@@ -193,7 +193,7 @@ class DeepcopyCodegen(VulkanTypeIterator):
self.cgen.stmt("const void* %s = %s" % (nextVar, self.inputVars[0]))
self.cgen.stmt("size_t %s = 0u" % sizeVar)
self.cgen.beginWhile("!%s && %s" % (sizeVar, nextVar))
self.cgen.stmt("%s = static_cast<const vk_struct_common*>(%s)->%s" % (
self.cgen.stmt("%s = static_cast<const VkBaseOutStructure*>(%s)->%s" % (
nextVar, nextVar, vulkanType.paramName
))
self.cgen.stmt("%s = %s(%s, %s)" % (