projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3f1a08
)
anv: Rename a variable
author
Jason Ekstrand
<jason@jlekstrand.net>
Wed, 29 Jan 2020 04:25:48 +0000
(22:25 -0600)
committer
Jason Ekstrand
<jason@jlekstrand.net>
Wed, 29 Jan 2020 15:43:42 +0000
(09:43 -0600)
The name "desc" shadows another variable. Name it "desc_data" like all
of the other descriptor data variables in this file.
src/intel/vulkan/anv_descriptor_set.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_descriptor_set.c
b/src/intel/vulkan/anv_descriptor_set.c
index a8e1915e6b98cc1b2e703ff82fe6135b60dae1f2..585ff89306a64adfaccec6fb339b896bc372bb18 100644
(file)
--- a/
src/intel/vulkan/anv_descriptor_set.c
+++ b/
src/intel/vulkan/anv_descriptor_set.c
@@
-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
));
}
}