Expose culling mode in shader config
This commit is contained in:
@@ -67,7 +67,7 @@ namespace openVulkanoCpp::Vulkan
|
||||
attributeDescriptionsSize, attributeDescriptionsData };
|
||||
vk::PipelineInputAssemblyStateCreateInfo inputAssembly = { {}, static_cast<vk::PrimitiveTopology>(shader->topology), 0 };
|
||||
vk::PipelineRasterizationStateCreateInfo rasterizer = {};
|
||||
rasterizer.cullMode = vk::CullModeFlagBits::eBack;
|
||||
rasterizer.cullMode = static_cast<vk::CullModeFlagBits>(shader->cullMode);
|
||||
vk::PipelineMultisampleStateCreateInfo msaa = {};
|
||||
vk::PipelineDepthStencilStateCreateInfo depth = { {}, 1, 1, vk::CompareOp::eLess };
|
||||
depth.maxDepthBounds = 1;
|
||||
|
||||
Reference in New Issue
Block a user