Lines Matching refs:get
561 DE_ASSERT(pipelineToRun.get() < pipelineCount);
1347 generateSources(programCollection, m_params.get());
1443 ? getShaderModuleIdentifier(vkd1, device1, shaderModule1.get())
1448 ? getShaderModuleIdentifier(vkd2, device2, shaderModule2.get())
1550 vkd.reset(new DeviceDriver(vkp, instance, device.get(), context.getUsedApiVersion()));
1552 allocator.reset(new SimpleAllocator(*vkd, device.get(), getPhysicalDeviceMemoryProperties(vki, physicalDevice)));
1566 const auto dev2 = (m_params->differentDevices ? helper->device.get() : device);
1586 const auto paramsPtr = dynamic_cast<Params*>(m_params.get());
1672 , m_createAndUseIdsParams (dynamic_cast<const CreateAndUseIdsInstance::Params*>(m_params.get()))
1781 return m_moduleIdCreateInfo.get();
1786 return m_specInfo.get();
1876 const auto cmdBufferPtr = allocateCommandBuffer(vkd, device, cmdPool.get(), VK_COMMAND_BUFFER_LEVEL_PRIMARY);
1877 const auto cmdBuffer = cmdBufferPtr.get();
1890 setLayouts.push_back(mainSetLayout.get());
1896 setLayouts.push_back(auxSetLayout.get());
2018 colorAttView = makeImageView(vkd, device, colorAtt->get(), VK_IMAGE_VIEW_TYPE_2D, fbFormat, colorSRR);
2020 renderPass.createFramebuffer(vkd, device, **colorAtt, colorAttView.get(), fbExtent.width, fbExtent.height);
2032 const auto mainDescriptorSet = makeDescriptorSet(vkd, device, descriptorPool.get(), mainSetLayout.get());
2033 const auto auxDescriptorSet = (isRT ? makeDescriptorSet(vkd, device, descriptorPool.get(), auxSetLayout.get()) : Move<VkDescriptorSet>());
2036 rawDescriptorSets.push_back(mainDescriptorSet.get());
2038 rawDescriptorSets.push_back(auxDescriptorSet.get());
2043 const auto storageDescInfo = makeDescriptorBufferInfo(storageBuffer.get(), 0ull, storageBufferSize);
2044 updateBuilder.writeSingle(mainDescriptorSet.get(), DescriptorSetUpdateBuilder::Location::binding(0u), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, &storageDescInfo);
2048 const auto uboDescInfo = makeDescriptorBufferInfo(uniformBuffer.get(), minBlock * uboIdx, minBlock);
2049 updateBuilder.writeSingle(mainDescriptorSet.get(), DescriptorSetUpdateBuilder::Location::binding(uboIdx + 1u), VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, &uboDescInfo);
2058 tlas.get()->getPtr(),
2061 updateBuilder.writeSingle(auxDescriptorSet.get(), DescriptorSetUpdateBuilder::Location::binding(0u), VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR, &accelDescInfo);
2150 const auto runThis = (runOnePipeline && static_cast<uint32_t>(m_params->pipelineToRun.get()) == i);
2173 vertModules .push_back(ShaderWrapper(vkd, device, binaries.get(vertName)));
2179 tescModules .push_back(ShaderWrapper(vkd, device, binaries.get(tescName)));
2186 teseModules .push_back(ShaderWrapper(vkd, device, binaries.get(teseName)));
2193 geomModules .push_back(ShaderWrapper(vkd, device, binaries.get(geomName)));
2200 fragModules .push_back(ShaderWrapper(vkd, device, binaries.get(fragName)));
2211 .setupVertexInputState(&vertexInputState, &inputAssemblyState, pipelineCache.get())
2216 renderPass.get(),
2223 vertSpecInfo.get(),
2224 tescSpecInfo.get(),
2225 teseSpecInfo.get(),
2226 geomSpecInfo.get(),
2229 pipelineCache.get())
2232 renderPass.get(),
2237 fragSpecInfo.get(),
2238 pipelineCache.get())
2239 .setupFragmentOutputState(*renderPass, 0u, &colorBlendState, &multisampleState, pipelineCache.get())
2241 .buildPipeline(pipelineCache.get());
2292 .setupVertexInputState(&vertexInputState, &inputAssemblyState, pipelineCache.get())
2297 renderPass.get(),
2314 pipelineCache.get())
2317 renderPass.get(),
2324 pipelineCache.get())
2325 .setupFragmentOutputState(*renderPass, 0u, &colorBlendState, &multisampleState, pipelineCache.get())
2327 .buildPipeline(pipelineCache.get());
2355 const auto runThis = (runOnePipeline && static_cast<uint32_t>(m_params->pipelineToRun.get()) == i);
2363 compModules.push_back(ShaderWrapper(vkd, device, binaries.get(compName)));
2364 pipelinePtrs.push_back(makeComputePipeline(vkd, device, pipelineLayout.get(), captureFlags, nullptr, compModules.back().getModule(), 0u, scInfo.get(), pipelineCache.get()));
2365 pipelines.push_back(pipelinePtrs.back().get());
2393 modInfo.get(), // const void* pNext;
2398 scInfo.get(), // const VkSpecializationInfo* pSpecializationInfo;
2407 pipelineLayout.get(), // VkPipelineLayout layout;
2413 VkResult creationResult = vkd.createComputePipelines(device, pipelineCache.get(), 1u, &pipelineCreateInfo, nullptr, &pipeline);
2461 const auto runThis = (runOnePipeline && static_cast<uint32_t>(m_params->pipelineToRun.get()) == i);
2490 rgenModules .push_back(ShaderWrapper(vkd, device, binaries.get(rgenName)));
2496 chitModules .push_back(ShaderWrapper(vkd, device, binaries.get(chitName)));
2504 ahitModules .push_back(ShaderWrapper(vkd, device, binaries.get(ahitName)));
2512 isecModules .push_back(ShaderWrapper(vkd, device, binaries.get(isecName)));
2520 missModules .push_back(ShaderWrapper(vkd, device, binaries.get(missName)));
2528 callModules .push_back(ShaderWrapper(vkd, device, binaries.get(callName)));
2544 rayTracingPipeline->addShader(VK_SHADER_STAGE_RAYGEN_BIT_KHR, rgenModule.getModule(), rgenGroup, rgenSpecInfo.get());
2547 rayTracingPipeline->addShader(VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR, chitModule.getModule(), xhitGroup.get(), chitSpecInfo.get());
2550 rayTracingPipeline->addShader(VK_SHADER_STAGE_ANY_HIT_BIT_KHR, ahitModule.getModule(), xhitGroup.get(), ahitSpecInfo.get());
2553 rayTracingPipeline->addShader(VK_SHADER_STAGE_INTERSECTION_BIT_KHR, isecModule.getModule(), xhitGroup.get(), isecSpecInfo.get());
2556 rayTracingPipeline->addShader(VK_SHADER_STAGE_MISS_BIT_KHR, missModule.getModule(), missGroup.get(), missSpecInfo.get());
2559 rayTracingPipeline->addShader(VK_SHADER_STAGE_CALLABLE_BIT_KHR, callModule.getModule(), callGroup.get(), callSpecInfo.get());
2561 pipelinePtrs.emplace_back(rayTracingPipeline->createPipeline(vkd, device, pipelineLayout.get(), emptyPipelinesVec, pipelineCache.get()));
2562 pipelines.push_back(pipelinePtrs.back().get());
2574 pipelinePtrs.emplace_back(linkedPipeline->createPipeline(vkd, device, pipelineLayout.get(), rawPipelines, pipelineCache.get()));
2575 pipelines.push_back(pipelinePtrs.back().get());
2648 const auto shaderOwningPipeline = shaderOwningPipelinePtr->get();
2657 auxiliaryPipeline = auxiliaryPipelinePtr->get();
2684 xhitGroup.get(),
2694 xhitGroup.get(),
2704 xhitGroup.get(),
2714 missGroup.get(),
2724 callGroup.get(),
2732 pipelinePtrs.emplace_back(shaderOwningPipeline->createPipeline(vkd, device, pipelineLayout.get(), emptyPipelinesVec, pipelineCache.get()));
2733 pipelines.push_back(pipelinePtrs.back().get());
2755 pipelinePtrs.emplace_back(auxiliaryPipeline->createPipeline(vkd, device, pipelineLayout.get(), rawPipelines, pipelineCache.get()));
2756 pipelines.push_back(pipelinePtrs.back().get());
2780 rgenRegion = makeStridedDeviceAddressRegionKHR(getBufferDeviceAddress(vkd, device, rgenSBT->get(), 0), shaderGroupHandleSize, shaderGroupHandleSize);
2784 xhitSBT = boundPipeline->createShaderBindingTable(vkd, device, pipeline, alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, xhitGroup.get(), 1u);
2785 xhitRegion = makeStridedDeviceAddressRegionKHR(getBufferDeviceAddress(vkd, device, xhitSBT->get(), 0), shaderGroupHandleSize, shaderGroupHandleSize);
2790 missSBT = boundPipeline->createShaderBindingTable(vkd, device, pipeline, alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, missGroup.get(), 1u);
2791 missRegion = makeStridedDeviceAddressRegionKHR(getBufferDeviceAddress(vkd, device, missSBT->get(), 0), shaderGroupHandleSize, shaderGroupHandleSize);
2796 callSBT = boundPipeline->createShaderBindingTable(vkd, device, pipeline, alloc, shaderGroupHandleSize, shaderGroupBaseAlignment, callGroup.get(), 1u);
2797 callRegion = makeStridedDeviceAddressRegionKHR(getBufferDeviceAddress(vkd, device, callSBT->get(), 0), shaderGroupHandleSize, shaderGroupHandleSize);
2835 vkd.cmdBindDescriptorSets(cmdBuffer, bindPoint, pipelineLayout.get(), 0u, de::sizeU32(rawDescriptorSets), de::dataOrNull(rawDescriptorSets), 0u, nullptr);
2845 colorAtt->get(), colorSRR);
2849 vkd.cmdCopyImageToBuffer(cmdBuffer, colorAtt->get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, verifBuffer->get(), 1u, ©Region);
2859 vkd.cmdBindDescriptorSets(cmdBuffer, bindPoint, pipelineLayout.get(), 0u, de::sizeU32(rawDescriptorSets), de::dataOrNull(rawDescriptorSets), 0u, nullptr);
2870 vkd.cmdBindDescriptorSets(cmdBuffer, bindPoint, pipelineLayout.get(), 0u, de::sizeU32(rawDescriptorSets), de::dataOrNull(rawDescriptorSets), 0u, nullptr);
2912 const auto& expected = shaderConstants.at(getShaderIdx(m_params->pipelineToRun.get(), stageIdx, stagesCount));
3202 const auto colorAttView = makeImageView(vkd, device, colorAtt.get(), VK_IMAGE_VIEW_TYPE_2D, fbFormat, colorSRR);
3204 renderPass.createFramebuffer(vkd, device, colorAtt.get(), colorAttView.get(), fbExtent.width, fbExtent.height);
3214 const auto vertModule = ShaderWrapper(vkd, device, binaries.get("vert"));
3215 const auto fragModule = ShaderWrapper(vkd, device, binaries.get("frag"));
3216 const auto teseModule = ShaderWrapper(vkd, device, binaries.get("tese"));
3227 tescModules.emplace_back(ShaderWrapper(vkd, device, binaries.get(shaderName)));
3302 .setupVertexInputState(&vertexInputState, &inputAssemblyState, pipelineCache.get())
3307 renderPass.get(),
3320 pipelineCache.get())
3323 renderPass.get(),
3329 pipelineCache.get())
3335 pipelineCache.get())
3337 .buildPipeline(pipelineCache.get());
3372 .setupVertexInputState(&vertexInputState, &inputAssemblyState, pipelineCache.get())
3377 renderPass.get(),
3380 PipelineShaderStageModuleIdentifierCreateInfoWrapper(vertIdInfo.get()),
3383 PipelineShaderStageModuleIdentifierCreateInfoWrapper(tescIdInfos.at(tescIdx).get()),
3385 PipelineShaderStageModuleIdentifierCreateInfoWrapper(teseIdInfo.get()),
3394 pipelineCache.get())
3397 renderPass.get(),
3400 PipelineShaderStageModuleIdentifierCreateInfoWrapper(fragIdInfo.get()),
3404 pipelineCache.get())
3410 pipelineCache.get())
3412 .buildPipeline(pipelineCache.get());
3422 const auto cmdBufferPtr = allocateCommandBuffer(vkd, device, cmdPool.get(), VK_COMMAND_BUFFER_LEVEL_PRIMARY);
3423 const auto cmdBuffer = cmdBufferPtr.get();
3440 colorAtt.get(), colorSRR);
3443 vkd.cmdCopyImageToBuffer(cmdBuffer, colorAtt.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, verifBuffer.get(), 1u, ©Region);
3485 addFunctionCase(propertiesGroup.get(), "constant_algorithm_uuid", checkShaderModuleIdentifierSupport, constantAlgorithmUUIDCase);