Samples: Explicitly set vk::PipelineMultisampleStateCreateInfo::rasterizationSamples (#459)
This commit is contained in:
committed by
GitHub
parent
0b01a8a74c
commit
7da1c8baf0
@@ -94,7 +94,12 @@ int main(int /*argc*/, char ** /*argv*/)
|
||||
1.0f // lineWidth
|
||||
);
|
||||
|
||||
vk::PipelineMultisampleStateCreateInfo pipelineMultisampleStateCreateInfo;
|
||||
vk::PipelineMultisampleStateCreateInfo pipelineMultisampleStateCreateInfo
|
||||
(
|
||||
vk::PipelineMultisampleStateCreateFlags(), // flags
|
||||
vk::SampleCountFlagBits::e1 // rasterizationSamples
|
||||
// other values can be default
|
||||
);
|
||||
|
||||
vk::StencilOpState stencilOpState(vk::StencilOp::eKeep, vk::StencilOp::eKeep, vk::StencilOp::eKeep, vk::CompareOp::eAlways);
|
||||
vk::PipelineDepthStencilStateCreateInfo pipelineDepthStencilStateCreateInfo
|
||||
|
||||
Reference in New Issue
Block a user