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 <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Jiawei Shao 2021-09-22 09:25:05 +00:00 committed by Dawn LUCI CQ
parent a10f5331f2
commit f84e7b4eda
1 changed files with 9 additions and 9 deletions

View File

@ -570,15 +570,15 @@ namespace dawn_native { namespace vulkan {
} }
// Build the create info // Build the create info
VkPipelineVertexInputStateCreateInfo mCreateInfo; VkPipelineVertexInputStateCreateInfo createInfo;
mCreateInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO; createInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO;
mCreateInfo.pNext = nullptr; createInfo.pNext = nullptr;
mCreateInfo.flags = 0; createInfo.flags = 0;
mCreateInfo.vertexBindingDescriptionCount = bindingCount; createInfo.vertexBindingDescriptionCount = bindingCount;
mCreateInfo.pVertexBindingDescriptions = tempAllocations->bindings.data(); createInfo.pVertexBindingDescriptions = tempAllocations->bindings.data();
mCreateInfo.vertexAttributeDescriptionCount = attributeCount; createInfo.vertexAttributeDescriptionCount = attributeCount;
mCreateInfo.pVertexAttributeDescriptions = tempAllocations->attributes.data(); createInfo.pVertexAttributeDescriptions = tempAllocations->attributes.data();
return mCreateInfo; return createInfo;
} }
RenderPipeline::~RenderPipeline() { RenderPipeline::~RenderPipeline() {