From f84e7b4edacd5b8942cc66405fc88a1f601fa21e Mon Sep 17 00:00:00 2001 From: Jiawei Shao Date: Wed, 22 Sep 2021 09:25:05 +0000 Subject: [PATCH] Remove prefix 'm' on mCreateInfo in ComputeVertexInputDesc This patch removes the prefix 'm' on the local variable 'mCreateInfo' in Vulkan::RenderPipeline::ConputeVertexInputDesc() in case we may misunderstand that it is a member of Vulkan::RenderPipeline. BUG=dawn:529 Change-Id: Ifa3302a58a88f9628f09787977b5157fb55f9c55 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/64841 Commit-Queue: Corentin Wallez Reviewed-by: Corentin Wallez --- src/dawn_native/vulkan/RenderPipelineVk.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/dawn_native/vulkan/RenderPipelineVk.cpp b/src/dawn_native/vulkan/RenderPipelineVk.cpp index a3c76e5990..2ece1f23aa 100644 --- a/src/dawn_native/vulkan/RenderPipelineVk.cpp +++ b/src/dawn_native/vulkan/RenderPipelineVk.cpp @@ -570,15 +570,15 @@ namespace dawn_native { namespace vulkan { } // Build the create info - VkPipelineVertexInputStateCreateInfo mCreateInfo; - mCreateInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO; - mCreateInfo.pNext = nullptr; - mCreateInfo.flags = 0; - mCreateInfo.vertexBindingDescriptionCount = bindingCount; - mCreateInfo.pVertexBindingDescriptions = tempAllocations->bindings.data(); - mCreateInfo.vertexAttributeDescriptionCount = attributeCount; - mCreateInfo.pVertexAttributeDescriptions = tempAllocations->attributes.data(); - return mCreateInfo; + VkPipelineVertexInputStateCreateInfo createInfo; + createInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO; + createInfo.pNext = nullptr; + createInfo.flags = 0; + createInfo.vertexBindingDescriptionCount = bindingCount; + createInfo.pVertexBindingDescriptions = tempAllocations->bindings.data(); + createInfo.vertexAttributeDescriptionCount = attributeCount; + createInfo.pVertexAttributeDescriptions = tempAllocations->attributes.data(); + return createInfo; } RenderPipeline::~RenderPipeline() {