mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-26 07:50:06 +00:00
vk_graphics_pipeline: Add sample_count
to AttachmentInfo
Controls the actual Multisample pipeline-state
This commit is contained in:
parent
0f1e969211
commit
85a2304b42
@ -154,7 +154,7 @@ bool GraphicsPipeline::Build(bool fail_on_compile_required) {
|
||||
};
|
||||
|
||||
const vk::PipelineMultisampleStateCreateInfo multisampling = {
|
||||
.rasterizationSamples = vk::SampleCountFlagBits::e1,
|
||||
.rasterizationSamples = vk::SampleCountFlagBits(info.attachments.sample_count),
|
||||
.sampleShadingEnable = false,
|
||||
};
|
||||
|
||||
|
@ -123,6 +123,7 @@ struct VertexLayout {
|
||||
struct AttachmentInfo {
|
||||
VideoCore::PixelFormat color;
|
||||
VideoCore::PixelFormat depth;
|
||||
u8 sample_count;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user