mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
libs/vkd3d: Call compute_input_layout_offsets() unconditionally.
This commit is contained in:
parent
260421f6ee
commit
cfa827b2f8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user