anv: Refactor descriptor copy
Refactor descriptor copies to use the existing helper functions instead of rolling our own. In order to facilitate this, we need to store the appropriate buffer views for the relevant descriptors internally and reuse them in the helpers. Signed-off-by: Rohan Garg <rohan.garg@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14909>
This commit is contained in:
@@ -1904,6 +1904,7 @@ struct anv_descriptor {
|
||||
};
|
||||
|
||||
struct {
|
||||
struct anv_buffer_view *set_buffer_view;
|
||||
struct anv_buffer *buffer;
|
||||
uint64_t offset;
|
||||
uint64_t range;
|
||||
|
Reference in New Issue
Block a user