Update multisampling
This commit is contained in:
@@ -373,7 +373,10 @@ class HelloTriangleApplication {
|
||||
vk::PhysicalDeviceVulkan13Features,
|
||||
vk::PhysicalDeviceVulkan11Features,
|
||||
vk::PhysicalDeviceExtendedDynamicStateFeaturesEXT> featureChain = {
|
||||
{.features = {.samplerAnisotropy = true}}, // vk::PhysicalDeviceFeatures2
|
||||
{.features = {
|
||||
.sampleRateShading = true,
|
||||
.samplerAnisotropy = true,
|
||||
}}, // vk::PhysicalDeviceFeatures2
|
||||
{.synchronization2 = true,
|
||||
.dynamicRendering = true}, // Enable dynamic rendering and synchronization2 from Vulkan 1.3
|
||||
{.shaderDrawParameters = true}, // Enable shader draw parameters from Vulkan 1.2
|
||||
@@ -523,7 +526,7 @@ class HelloTriangleApplication {
|
||||
// Multisampling
|
||||
vk::PipelineMultisampleStateCreateInfo multisampling = {
|
||||
.rasterizationSamples = msaaSamples,
|
||||
.sampleShadingEnable = vk::False,
|
||||
.sampleShadingEnable = vk::True,
|
||||
};
|
||||
|
||||
// Color blending
|
||||
|
||||
Reference in New Issue
Block a user