diff options
author | Jason Ekstrand <[email protected]> | 2020-01-03 11:20:22 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2020-01-03 11:32:34 -0600 |
commit | 9bd8000c6c3742ac36ff79ef3566bea0851a1682 (patch) | |
tree | cc7ef55c36c108bde21ef81aae2183f4ce511d42 /src/intel/vulkan/anv_device.c | |
parent | 8dc7c467e630df327400f0b91f68d66ddd28bc57 (diff) |
anv: Drop unneeded struct keywords
All VkFoo structs are typedef'd to not need the struct keyword. Leaving
it in there is just extra characters and breaks Vulkan's aliasing when
stuff gets promoted to core versions. It's better to just never use
struct for VkFoo.
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 3b4f40a998d..c6d31190a68 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -3186,7 +3186,7 @@ VkResult anv_AllocateMemory( if (result != VK_SUCCESS) goto fail; - const struct VkImportAndroidHardwareBufferInfoANDROID import_info = { + const VkImportAndroidHardwareBufferInfoANDROID import_info = { .buffer = mem->ahw, }; result = anv_import_ahw_memory(_device, mem, &import_info); |