mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
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:
parent
a3886fa471
commit
943ef0edbd
2 changed files with 3 additions and 3 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue