Set up pipeline layout
| 1076 | |
| 1077 | // Set up pipeline layout |
| 1078 | void setupPipelineLayout() |
| 1079 | { |
| 1080 | VkPipelineLayoutCreateInfo pipelineLayoutCreateInfo = VkPipelineLayoutCreateInfo(); |
| 1081 | pipelineLayoutCreateInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO; |
| 1082 | pipelineLayoutCreateInfo.setLayoutCount = 1; |
| 1083 | pipelineLayoutCreateInfo.pSetLayouts = &descriptorSetLayout; |
| 1084 | |
| 1085 | // Create pipeline layout |
| 1086 | if (vkCreatePipelineLayout(device, &pipelineLayoutCreateInfo, nullptr, &pipelineLayout) != VK_SUCCESS) |
| 1087 | { |
| 1088 | vulkanAvailable = false; |
| 1089 | return; |
| 1090 | } |
| 1091 | } |
| 1092 | |
| 1093 | // Set up rendering pipeline |
| 1094 | void setupPipeline() |
nothing calls this directly
no test coverage detected