Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mantle: fix rasterizationSamples validation error
VUID_Undefined(ERROR / SPEC): msgNum: 2044605652 - Validation Error: [ VUID_Undefined ] Object 0: handle = 0x7fb618413830, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x79de34d4 | vkCreateGraphicsPipelines: parameter pCreateInfos[0].pMultisampleState->rasterizationSamples must be greater than 0. Objects: 1 [0] 0x7fb618413830, type: 3, name: NULL VUID-VkPipelineMultisampleStateCreateInfo-rasterizationSamples-parameter(ERROR / SPEC): msgNum: -158280821 - Validation Error: [ VUID-VkPipelineMultisampleStateCreateInfo-rasterizationSamples-parameter ] Object 0: handle = 0x7fb618413830, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xf690d38b | vkCreateGraphicsPipelines: value of pCreateInfos[0].pMultisampleState->rasterizationSamples must not be 0. The Vulkan spec states: rasterizationSamples must be a valid VkSampleCountFlagBits value (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkPipelineMultisampleStateCreateInfo-rasterizationSamples-parameter) Objects: 1 [0] 0x7fb618413830, type: 3, name: NULL VUID-VkGraphicsPipelineCreateInfo-rasterizerDiscardEnable-00751(ERROR / SPEC): msgNum: 433274771 - Validation Error: [ VUID-VkGraphicsPipelineCreateInfo-rasterizerDiscardEnable-00751 ] Object 0: handle = 0x7fb618413830, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x19d33f93 | vkCreateGraphicsPipelines(): pCreateInfos[0] is being created without multisample state (VkGraphicsPipelineCreateInfo::pMultisampleState == null). The Vulkan spec states: If the pipeline is being created with fragment output interface state, pMultisampleState must be a valid pointer to a valid VkPipelineMultisampleStateCreateInfo structure (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-rasterizerDiscardEnable-00751) Objects: 1 [0] 0x7fb618413830, type: 3, name: NULL
- Loading branch information