Lines Matching refs:pipelineLayout
591 PipelineLayout pipelineLayout;
597 pipelineLayout.pushConstant.shaderStageFlags = static_cast<ShaderStageFlagBits>(header.type);
598 pipelineLayout.pushConstant.byteSize = static_cast<uint32_t>(*(ptr + 1) | (*(ptr + 2) << 8));
603 pipelineLayout.descriptorSetCount = static_cast<uint32_t>(*(ptr) | (*(ptr + 1) << 8));
605 for (auto i = 0u; i < pipelineLayout.descriptorSetCount; ++i) {
609 auto& layout = pipelineLayout.descriptorSetLayouts[set];
627 return pipelineLayout;
1227 PipelineLayout pipelineLayout;
1228 reflectDescriptorSets(compiler, resources, shaderStateFlags, pipelineLayout.descriptorSetLayouts);
1229 pipelineLayout.descriptorSetCount =
1230 static_cast<uint32_t>(std::count_if(std::begin(pipelineLayout.descriptorSetLayouts),
1231 std::end(pipelineLayout.descriptorSetLayouts), [](const DescriptorSetLayout& layout) {
1234 reflectPushContants(compiler, resources, shaderStateFlags, pipelineLayout.pushConstant);
1277 if (pipelineLayout.pushConstant.byteSize) {
1279 push(reflection, static_cast<uint16_t>(pipelineLayout.pushConstant.byteSize));
1312 push(reflection, static_cast<uint16_t>(pipelineLayout.descriptorSetCount));
1314 auto begin = std::begin(pipelineLayout.descriptorSetLayouts);
1316 std::advance(end, pipelineLayout.descriptorSetCount);
1383 void SortSets(PipelineLayout& pipelineLayout)
1385 pipelineLayout.descriptorSetCount = 0;
1387 DescriptorSetLayout& currSet = pipelineLayout.descriptorSetLayouts[idx];
1389 pipelineLayout.descriptorSetCount++;