Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2952: Vulkan: fix setting up primitive restart enable flag while creating graphics pipeline r=kvark a=royaltm Related to #1510 PR checklist: - [ ] `make` succeeds (on *nix) - [ ] `make reftests` succeeds - [ ] tested examples with the following backends: - [ ] `rustfmt` run on changed code Hello! The fix is obvious, the: `primitiveRestartEnable` property of the [VkPipelineInputAssemblyStateCreateInfo](https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VkPipelineInputAssemblyStateCreateInfo) should be `VK_TRUE` for `primitive_restart` == `pso::PrimitiveRestart::U16` or `pso::PrimitiveRestart::U32`. It doesn't matter which `IndexType` you later bind the index buffer with. Co-authored-by: Rafal Michalski <[email protected]>
- Loading branch information