radv: avoid prefixing few VkXXX structures by struct

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14115>
This commit is contained in:
Samuel Pitoiset 2021-11-26 17:19:51 +01:00 committed by Marge Bot
parent a3886fa471
commit 943ef0edbd
2 changed files with 3 additions and 3 deletions

View file

@ -721,8 +721,8 @@ radv_CreateDescriptorPool(VkDevice _device, const VkDescriptorPoolCreateInfo *pC
{
switch (ext->sType) {
case VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO_EXT: {
const struct VkDescriptorPoolInlineUniformBlockCreateInfoEXT *info =
(const struct VkDescriptorPoolInlineUniformBlockCreateInfoEXT *)ext;
const VkDescriptorPoolInlineUniformBlockCreateInfoEXT *info =
(const VkDescriptorPoolInlineUniformBlockCreateInfoEXT *)ext;
/* the sizes are 4 aligned, and we need to align to at
* most 32, which needs at most 28 bytes extra per
* binding. */

View file

@ -945,7 +945,7 @@ radv_decompress_resolve_src(struct radv_cmd_buffer *cmd_buffer, struct radv_imag
};
}
struct VkDependencyInfoKHR dep_info = {
VkDependencyInfoKHR dep_info = {
.sType = VK_STRUCTURE_TYPE_DEPENDENCY_INFO_KHR,
.imageMemoryBarrierCount = 1,
.pImageMemoryBarriers = &barrier,