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 <caio.oliveira@intel.com>
This commit is contained in:
@@ -447,8 +447,8 @@ VkResult genX(CreateSampler)(
|
||||
}
|
||||
#if GEN_GEN >= 9
|
||||
case VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT: {
|
||||
struct VkSamplerReductionModeCreateInfoEXT *sampler_reduction =
|
||||
(struct VkSamplerReductionModeCreateInfoEXT *) ext;
|
||||
VkSamplerReductionModeCreateInfoEXT *sampler_reduction =
|
||||
(VkSamplerReductionModeCreateInfoEXT *) ext;
|
||||
sampler_reduction_mode =
|
||||
vk_to_gen_sampler_reduction_mode[sampler_reduction->reductionMode];
|
||||
enable_sampler_reduction = true;
|
||||
|
Reference in New Issue
Block a user