mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d: Prepend pNext chain structures.
Order of structures doesn't matter so we can simply prepend instead of apending. Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
8b49b6e057
commit
8df3bfc5c2
@@ -1729,7 +1729,7 @@ static void rs_depth_clip_info_from_d3d12(VkPipelineRasterizationDepthClipStateC
|
||||
depth_clip_info->flags = 0;
|
||||
depth_clip_info->depthClipEnable = d3d12_desc->DepthClipEnable;
|
||||
|
||||
vk_append_struct(vk_rs_desc, depth_clip_info);
|
||||
vk_prepend_struct(vk_rs_desc, depth_clip_info);
|
||||
}
|
||||
|
||||
static void rs_stream_info_from_d3d12(VkPipelineRasterizationStateStreamCreateInfoEXT *stream_info,
|
||||
@@ -1750,7 +1750,7 @@ static void rs_stream_info_from_d3d12(VkPipelineRasterizationStateStreamCreateIn
|
||||
stream_info->flags = 0;
|
||||
stream_info->rasterizationStream = so_desc->RasterizedStream;
|
||||
|
||||
vk_append_struct(vk_rs_desc, stream_info);
|
||||
vk_prepend_struct(vk_rs_desc, stream_info);
|
||||
}
|
||||
|
||||
static enum VkStencilOp vk_stencil_op_from_d3d12(D3D12_STENCIL_OP op)
|
||||
|
||||
Reference in New Issue
Block a user