projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc5fdcd
)
anv: Structify a one-member union
author
Chad Versace
<chad.versace@intel.com>
Mon, 1 Feb 2016 20:18:10 +0000
(12:18 -0800)
committer
Chad Versace
<chad.versace@intel.com>
Mon, 1 Feb 2016 20:18:10 +0000
(12:18 -0800)
anv_descriptor contained a union with one member.
src/vulkan/anv_private.h
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_private.h
b/src/vulkan/anv_private.h
index f4794d9fb9dbb9ff388f4931f0630840a975eab4..b9490ae31e2464de8263a1547c37a83cd59d46ac 100644
(file)
--- a/
src/vulkan/anv_private.h
+++ b/
src/vulkan/anv_private.h
@@
-918,9
+918,7
@@
struct anv_descriptor {
union {
struct {
- union {
- struct anv_image_view *image_view;
- };
+ struct anv_image_view *image_view;
struct anv_sampler *sampler;
};