vkCmdUpdateBuffer: Make a copy of the data.
"Buffer updates performed with vkCmdUpdateBuffer first copy the data into command buffer memory when the command is recorded (which requires additional storage and may incur an additional allocation), and then copy the data from the command buffer into dstBuffer when the command is executed on a device."
Bug: b/133127573
Bug: b/118619338
Bug: b/118383648
Change-Id: I8ba9bcdd6bf9e5b4f7e181c6fc379595a1d32e2a
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/31839
Presubmit-Ready: Ben Clayton <bclayton@google.com>
Tested-by:
Ben Clayton <bclayton@google.com>
Reviewed-by:
Chris Forbes <chrisforbes@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Showing
Please
register
or
sign in
to comment