dzn: Drop an unused argument passed to dzn_graphics_pipeline_translate_vi()

The 'out' argument is not used, let's drop it.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16948>
This commit is contained in:
Boris Brezillon 2022-06-09 16:00:30 +02:00
parent 185bae4c60
commit 83c7fab53f
1 changed files with 1 additions and 2 deletions

View File

@ -357,7 +357,6 @@ out:
static VkResult
dzn_graphics_pipeline_translate_vi(struct dzn_graphics_pipeline *pipeline,
const VkAllocationCallbacks *alloc,
D3D12_GRAPHICS_PIPELINE_STATE_DESC *out,
const VkGraphicsPipelineCreateInfo *in,
D3D12_INPUT_ELEMENT_DESC *inputs)
{
@ -955,7 +954,7 @@ dzn_graphics_pipeline_create(struct dzn_device *device,
pCreateInfo->pRasterizationState->rasterizerDiscardEnable ?
NULL : pCreateInfo->pViewportState;
ret = dzn_graphics_pipeline_translate_vi(pipeline, pAllocator, &desc, pCreateInfo, attribs);
ret = dzn_graphics_pipeline_translate_vi(pipeline, pAllocator, pCreateInfo, attribs);
if (ret != VK_SUCCESS)
goto out;