anv: Rename a variable

The name "desc" shadows another variable.  Name it "desc_data" like all
of the other descriptor data variables in this file.
This commit is contained in:
Jason Ekstrand 2020-01-28 22:25:48 -06:00
parent e3f1a08c56
commit f21b40d0bf
1 changed files with 2 additions and 2 deletions

View File

@ -1341,11 +1341,11 @@ anv_descriptor_set_write_buffer(struct anv_device *device,
element * anv_descriptor_size(bind_layout);
if (bind_layout->data & ANV_DESCRIPTOR_ADDRESS_RANGE) {
struct anv_address_range_descriptor desc = {
struct anv_address_range_descriptor desc_data = {
.address = anv_address_physical(bind_addr),
.range = bind_range,
};
memcpy(desc_map, &desc, sizeof(desc));
memcpy(desc_map, &desc_data, sizeof(desc_data));
}
}