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:
parent
a10f5331f2
commit
f84e7b4eda
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue