mirror of https://github.com/libsdl-org/SDL
Renamed SDL_GpuGraphicsPipelineTargetInfo to SDL_GPUGraphicsPipelineTargetInfo
Fixes https://github.com/libsdl-org/SDL/issues/10855
This commit is contained in:
parent
604d0c519e
commit
19243092c6
|
@ -1434,7 +1434,7 @@ typedef struct SDL_GPUColorTargetDescription
|
|||
*
|
||||
* \sa SDL_GPUGraphicsPipelineCreateInfo
|
||||
*/
|
||||
typedef struct SDL_GpuGraphicsPipelineTargetInfo
|
||||
typedef struct SDL_GPUGraphicsPipelineTargetInfo
|
||||
{
|
||||
const SDL_GPUColorTargetDescription *color_target_descriptions; /**< A pointer to an array of color target descriptions. */
|
||||
Uint32 num_color_targets; /**< The number of color target descriptions in the above array. */
|
||||
|
@ -1443,7 +1443,7 @@ typedef struct SDL_GpuGraphicsPipelineTargetInfo
|
|||
Uint8 padding1;
|
||||
Uint8 padding2;
|
||||
Uint8 padding3;
|
||||
} SDL_GpuGraphicsPipelineTargetInfo;
|
||||
} SDL_GPUGraphicsPipelineTargetInfo;
|
||||
|
||||
/**
|
||||
* A structure specifying the parameters of a graphics pipeline state.
|
||||
|
@ -1461,7 +1461,7 @@ typedef struct SDL_GPUGraphicsPipelineCreateInfo
|
|||
SDL_GPURasterizerState rasterizer_state; /**< The rasterizer state of the graphics pipeline. */
|
||||
SDL_GPUMultisampleState multisample_state; /**< The multisample state of the graphics pipeline. */
|
||||
SDL_GPUDepthStencilState depth_stencil_state; /**< The depth-stencil state of the graphics pipeline. */
|
||||
SDL_GpuGraphicsPipelineTargetInfo target_info; /**< Formats and blend modes for the render targets of the graphics pipeline. */
|
||||
SDL_GPUGraphicsPipelineTargetInfo target_info; /**< Formats and blend modes for the render targets of the graphics pipeline. */
|
||||
|
||||
SDL_PropertiesID props; /**< A properties ID for extensions. Should be 0 if no extensions are needed. */
|
||||
} SDL_GPUGraphicsPipelineCreateInfo;
|
||||
|
|
|
@ -6192,7 +6192,7 @@ static VkRenderPass VULKAN_INTERNAL_CreateRenderPass(
|
|||
|
||||
static VkRenderPass VULKAN_INTERNAL_CreateTransientRenderPass(
|
||||
VulkanRenderer *renderer,
|
||||
SDL_GpuGraphicsPipelineTargetInfo attachmentInfo,
|
||||
SDL_GPUGraphicsPipelineTargetInfo attachmentInfo,
|
||||
VkSampleCountFlagBits sampleCount)
|
||||
{
|
||||
VkAttachmentDescription attachmentDescriptions[2 * MAX_COLOR_TARGET_BINDINGS + 1];
|
||||
|
|
Loading…
Reference in New Issue