anv: Structify a one-member union
anv_descriptor contained a union with one member.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user