Stub VkPipelineDepthStencilStateCreateInfo

Maxwell3D Depth State is composed of several registers and will be implemented at a later date, for the time being it's been stubbed.
This commit is contained in:
PixelyIon 2021-12-08 02:29:53 +05:30
parent 9e63ecf05d
commit 525850ae09

View File

@ -1248,6 +1248,9 @@ namespace skyline::gpu::interconnect {
runtimeInfo.input_topology = shaderTopology; runtimeInfo.input_topology = shaderTopology;
} }
/* Depth */
vk::PipelineDepthStencilStateCreateInfo depthState{};
/* Multisampling */ /* Multisampling */
vk::PipelineMultisampleStateCreateInfo multisampleState{ vk::PipelineMultisampleStateCreateInfo multisampleState{
.rasterizationSamples = vk::SampleCountFlagBits::e1, .rasterizationSamples = vk::SampleCountFlagBits::e1,
@ -1261,7 +1264,7 @@ namespace skyline::gpu::interconnect {
.pViewportState = &viewportState, .pViewportState = &viewportState,
.pRasterizationState = &rasterizerState.get<vk::PipelineRasterizationStateCreateInfo>(), .pRasterizationState = &rasterizerState.get<vk::PipelineRasterizationStateCreateInfo>(),
.pMultisampleState = &multisampleState, .pMultisampleState = &multisampleState,
.pDepthStencilState = nullptr, .pDepthStencilState = &depthState,
.pColorBlendState = &blendState, .pColorBlendState = &blendState,
.pDynamicState = nullptr, .pDynamicState = nullptr,
}; };