gallium: correctly name the flags of svm_migrate

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19712>
This commit is contained in:
Karol Herbst
2022-11-13 14:17:00 +01:00
committed by Marge Bot
parent e5654cb3ee
commit 50097ffae0

View File

@@ -1006,11 +1006,12 @@ struct pipe_context {
* *
* \param to_device - true if the virtual memory is migrated to the device * \param to_device - true if the virtual memory is migrated to the device
* false if the virtual memory is migrated to the host * false if the virtual memory is migrated to the host
* \param migrate_content - whether the content should be migrated as well * \param content_undefined - whether the content of the migrated memory
* is undefined after migration
*/ */
void (*svm_migrate)(struct pipe_context *context, unsigned num_ptrs, void (*svm_migrate)(struct pipe_context *context, unsigned num_ptrs,
const void* const* ptrs, const size_t *sizes, const void* const* ptrs, const size_t *sizes,
bool to_device, bool migrate_content); bool to_device, bool content_undefined);
/*@}*/ /*@}*/
/** /**