Skip to content
Snippets Groups Projects
Commit cfa827b2 authored by Józef Kucia's avatar Józef Kucia
Browse files

libs/vkd3d: Call compute_input_layout_offsets() unconditionally.

parent 260421f6
No related branches found
No related tags found
No related merge requests found
......@@ -1801,8 +1801,7 @@ static HRESULT d3d12_pipeline_state_init_graphics(struct d3d12_pipeline_state *s
graphics->attribute_count = ARRAY_SIZE(graphics->attributes);
}
if (graphics->attribute_count
&& FAILED(hr = compute_input_layout_offsets(&desc->InputLayout, aligned_offsets)))
if (FAILED(hr = compute_input_layout_offsets(&desc->InputLayout, aligned_offsets)))
goto fail;
for (i = 0, j = 0, mask = 0; i < graphics->attribute_count; ++i)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment