renderer_vk: Fix sample-shading enablement

This commit is contained in:
Wunkolo 2023-11-10 18:10:39 -08:00
parent 369a2314c2
commit 90ad4e1a19

View File

@ -156,6 +156,7 @@ bool GraphicsPipeline::Build(bool fail_on_compile_required) {
const vk::PipelineMultisampleStateCreateInfo multisampling = { const vk::PipelineMultisampleStateCreateInfo multisampling = {
.rasterizationSamples = vk::SampleCountFlagBits(info.attachments.sample_count), .rasterizationSamples = vk::SampleCountFlagBits(info.attachments.sample_count),
.sampleShadingEnable = true, .sampleShadingEnable = true,
.minSampleShading = 1.0f,
}; };
const vk::PipelineColorBlendAttachmentState colorblend_attachment = { const vk::PipelineColorBlendAttachmentState colorblend_attachment = {