mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
Add snasphot support for vk coherent memory
This commit tracks more functions related to coherent memory snapshot and saves the memory content. At this point we are not sure if we need to manually copy the memory content, because they are supposed to be cloned in RAM snapshot. We could revert that part if they turn out to be unnecessary in future. Reviewed-by: Aaron Ruby <aruby@blackberry.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246>
This commit is contained in:
parent
6af6eb87c6
commit
67203e1574
1 changed files with 1 additions and 3 deletions
|
|
@ -112,6 +112,7 @@ apiSequences = {
|
|||
|
||||
apiModifies = {
|
||||
"vkMapMemoryIntoAddressSpaceGOOGLE" : ["memory"],
|
||||
"vkGetBlobGOOGLE" : ["memory"],
|
||||
}
|
||||
|
||||
def is_modify_operation(api, param):
|
||||
|
|
@ -121,9 +122,6 @@ def is_modify_operation(api, param):
|
|||
return False
|
||||
|
||||
def emit_impl(typeInfo, api, cgen):
|
||||
|
||||
cgen.line("// TODO: Implement")
|
||||
|
||||
for p in api.parameters:
|
||||
if not (p.isHandleType):
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue