Lines Matching refs:get

251 	ComputePipelineWrapper			pipeline(vk, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp"));
252 pipeline.setDescriptorSetLayout(descriptorSetLayout.get());
265 vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline.getPipelineLayout(), 0u, 1u, &descriptorSet.get(), 0u, DE_NULL);
433 ComputePipelineWrapper pipeline(vk, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp"));
434 pipeline.setDescriptorSetLayout(descriptorSetLayout.get());
447 vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline.getPipelineLayout(), 0u, 1u, &descriptorSet.get(), 0u, DE_NULL);
618 ComputePipelineWrapper pipeline(vk, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp"));
619 pipeline.setDescriptorSetLayout(descriptorSetLayout.get());
632 vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline.getPipelineLayout(), 0u, 1u, &descriptorSet.get(), 0u, DE_NULL);
823 ComputePipelineWrapper pipeline(vk, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp"));
824 pipeline.setDescriptorSetLayout(descriptorSetLayout.get());
840 vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline.getPipelineLayout(), 0u, 1u, &descriptorSet.get(), 0u, DE_NULL);
1017 ComputePipelineWrapper pipeline(vkd, data.device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp"));
1018 pipeline.setDescriptorSetLayout(descriptorSetLayout.get());
1040 vkd.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline.getPipelineLayout(), 0u, 1u, &descriptorSet.get(), 0u, DE_NULL);
1303 ComputePipelineWrapper pipeline(vk, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp"));
1304 pipeline.setDescriptorSetLayout(descriptorSetLayout.get());
1319 vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline.getPipelineLayout(), 0u, 1u, &descriptorSet.get(), 0u, DE_NULL);
1505 ComputePipelineWrapper pipeline (vk, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp"));
1506 pipeline.setDescriptorSetLayout(descriptorSetLayout.get());
1521 vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline.getPipelineLayout(), 0u, 1u, &descriptorSet.get(), 0u, DE_NULL);
1708 ComputePipelineWrapper pipeline(vk, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp"));
1709 pipeline.setDescriptorSetLayout(descriptorSetLayout.get());
1726 vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline.getPipelineLayout(), 0u, 1u, &descriptorSet.get(), 0u, DE_NULL);
1938 ComputePipelineWrapper pipeline0(vk, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp0"));
1939 pipeline0.setDescriptorSetLayout(descriptorSetLayout.get());
1942 ComputePipelineWrapper pipeline1(vk, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp1"));
1943 pipeline1.setDescriptorSetLayout(descriptorSetLayout.get());
1960 vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline0.getPipelineLayout(), 0u, 1u, &descriptorSet.get(), 0u, DE_NULL);
2157 ComputePipelineWrapper pipeline(vk, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp"));
2158 pipeline.setDescriptorSetLayout(descriptorSetLayout.get());
2178 vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline.getPipelineLayout(), 0u, 1u, &descriptorSet.get(), 0u, DE_NULL);
2377 ComputePipelineWrapper pipeline0(vk, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp0"));
2378 pipeline0.setDescriptorSetLayout(descriptorSetLayout.get());
2380 ComputePipelineWrapper pipeline1(vk, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp1"));
2381 pipeline1.setDescriptorSetLayout(descriptorSetLayout.get());
2406 vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline0.getPipelineLayout(), 0u, 1u, &descriptorSet.get(), 0u, DE_NULL);
2605 m_deviceDriver = de::MovePtr<DeviceDriverSC, DeinitDeviceDeleter>(new DeviceDriverSC(m_context.getPlatformInterface(), m_context.getInstance(), *m_logicalDevice, m_context.getTestContext().getCommandLine(), m_context.getResourceInterface(), m_context.getDeviceVulkanSC10Properties(), m_context.getDeviceProperties(), m_context.getUsedApiVersion()), vk::DeinitDeviceDeleter(m_context.getResourceInterface().get(), *m_logicalDevice));
2822 ComputePipelineWrapper pipeline(vk, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp"));
2823 pipeline.setDescriptorSetLayout(descriptorSetLayout.get());
2852 vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline.getPipelineLayout(), 0u, 1u, &descriptorSet.get(), 0u, DE_NULL);
3046 VkMemoryRequirements memReqs = getBufferMemoryRequirements(vk, device, sboBuffer.get());
3075 VK_CHECK(vk.bindBufferMemory(device, *sboBuffer, sboBufferMemory.get(), 0));
3114 ComputePipelineWrapper pipeline(vk, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp"));
3115 pipeline.setDescriptorSetLayout(descriptorSetLayout.get());
3137 vk.cmdBindDescriptorSets(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline.getPipelineLayout(), 0u, 1u, &descriptorSet.get(), 0u, DE_NULL);
3414 de::MovePtr<vk::DeviceDriverSC, vk::DeinitDeviceDeleter> deviceDriver = de::MovePtr<DeviceDriverSC, DeinitDeviceDeleter>(new DeviceDriverSC(m_context.getPlatformInterface(), instance, *logicalDevice, m_context.getTestContext().getCommandLine(), m_context.getResourceInterface(), m_context.getDeviceVulkanSC10Properties(), m_context.getDeviceProperties(), m_context.getUsedApiVersion()), vk::DeinitDeviceDeleter(m_context.getResourceInterface().get(), *logicalDevice));
3496 const Unique<VkShaderModule> shaderModule(createShaderModule(vk, *logicalDevice, m_context.getBinaryCollection().get("comp"), 0u));
3498 ComputePipelineWrapper pipeline1(vk, *logicalDevice, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp"));
3506 ComputePipelineWrapper pipeline2(vk, *logicalDevice, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp"));
3518 vk.cmdBindDescriptorSets(*cmdBuffer1, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline1.getPipelineLayout(), 0u, 1u, &descriptorSet1.get(), 0u, DE_NULL);
3528 vk.cmdBindDescriptorSets(*cmdBuffer2, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline2.getPipelineLayout(), 0u, 1u, &descriptorSet2.get(), 0u, DE_NULL);
3542 &cmdBuffer1.get(), // pCommandBuffers
3555 &cmdBuffer2.get(), // pCommandBuffers
3570 if (VK_SUCCESS != vk.waitForFences(*logicalDevice, 1u, &fence2.get(), DE_TRUE, ~0ull))
3574 if (VK_SUCCESS != vk.getFenceStatus(*logicalDevice, fence1.get()))
3578 // Wait for the high-priority fence so we don't get errors on teardown.
3579 vk.waitForFences(*logicalDevice, 1u, &fence1.get(), DE_TRUE, ~0ull);
3703 ComputePipelineWrapper pipeline(vkd, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp"));
3704 pipeline.setDescriptorSetLayout(descriptorSetLayout.get());
3710 const auto descriptorSet = makeDescriptorSet(vkd, device, descriptorPool.get(), descriptorSetLayout.get());
3713 const auto verifBufferDescInfo = makeDescriptorBufferInfo(verifBuffer.get(), 0ull, verifBufferSize);
3714 updateBuilder.writeSingle(descriptorSet.get(), DescriptorSetUpdateBuilder::Location::binding(0u), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, &verifBufferDescInfo);
3718 const auto cmdBufferPtr = allocateCommandBuffer(vkd, device, cmdPool.get(), VK_COMMAND_BUFFER_LEVEL_PRIMARY);
3719 const auto cmdBuffer = cmdBufferPtr.get();
3723 vkd.cmdBindDescriptorSets(cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, pipeline.getPipelineLayout(), 0u, 1u, &descriptorSet.get(), 0u, nullptr);
3940 ComputePipelineWrapper testPipeline (vkd, device, m_computePipelineConstructionType, m_context.getBinaryCollection().get("comp"));
3941 testPipeline.setDescriptorSetLayout(descriptorSetLayout.get());
3949 const auto descriptorSet = vk::makeDescriptorSet(vkd, device, descriptorPool.get(), descriptorSetLayout.get());
3954 ssbo.get(), // VkBuffer buffer;
3960 updateBuilder.writeSingle(descriptorSet.get(), vk::DescriptorSetUpdateBuilder::Location::binding(0u), vk::VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, &ssboBufferInfo);
3971 const auto cmdBUfferPtr = vk::allocateCommandBuffer(vkd, device, cmdPool.get(), vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY);
3972 const auto cmdBuffer = cmdBUfferPtr.get();
3977 const auto hostToComputeBarrier = vk::makeBufferMemoryBarrier(vk::VK_ACCESS_HOST_WRITE_BIT, vk::VK_ACCESS_SHADER_WRITE_BIT, ssbo.get(), 0ull, VK_WHOLE_SIZE);
3981 vkd.cmdBindDescriptorSets(cmdBuffer, vk::VK_PIPELINE_BIND_POINT_COMPUTE, testPipeline.getPipelineLayout(), 0u, 1u, &descriptorSet.get(), 0u, nullptr);
3984 const auto computeToHostBarrier = vk::makeBufferMemoryBarrier(vk::VK_ACCESS_SHADER_WRITE_BIT, vk::VK_ACCESS_HOST_READ_BIT, ssbo.get(), 0ull, VK_WHOLE_SIZE);
3993 deUint32* valuesPtr = valuesArray.get();
4038 ComputePipelineWrapper pipeline (vk, device, computePipelineConstructionType, context.getBinaryCollection().get("comp"));
4099 queueFamilyIndex = getComputeOnlyQueueFamily(context).get();
4220 device = customDevice.get();
4226 m_context.getDeviceProperties(), m_context.getUsedApiVersion()), DeinitDeviceDeleter(m_context.getResourceInterface().get(), device));
4235 BufferWithMemory buffer (vkdi, device, *allocator.get(), makeBufferCreateInfo(bufferSize, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible);
4248 const auto descriptorSetBuffer = makeDescriptorSet(vkdi, device, descriptorPool.get(), descriptorSetLayout.get());
4253 const auto bufferInfo = makeDescriptorBufferInfo(buffer.get(), 0ull, bufferSize);
4254 updater.writeSingle(descriptorSetBuffer.get(), DescriptorSetUpdateBuilder::Location::binding(0u), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, &bufferInfo);
4258 auto shader = createShaderModule(vkdi, device, m_context.getBinaryCollection().get("comp"));
4289 beginCommandBuffer(vkdi, cmdBuffer.get());
4290 vkdi.beginCommandBuffer(cmdBuffer2.get(), &commandBufBeginParams);
4291 vkdi.cmdBindPipeline(cmdBuffer2.get(), VK_PIPELINE_BIND_POINT_COMPUTE, computePipeline.get());
4292 vkdi.cmdBindDescriptorSets(cmdBuffer2.get(), VK_PIPELINE_BIND_POINT_COMPUTE, pipelineLayout.get(), 0u, 1, &descriptorSetBuffer.get(), 0u, nullptr);
4293 vkdi.cmdDispatch(cmdBuffer2.get(), 1, 1, 1);
4294 endCommandBuffer(vkdi, cmdBuffer2.get());
4295 vkdi.cmdExecuteCommands(cmdBuffer.get(), 1, &cmdBuffer2.get());
4296 const VkBufferMemoryBarrier renderBufferBarrier = makeBufferMemoryBarrier(VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, buffer.get(), 0ull, bufferSize);
4297 cmdPipelineBufferMemoryBarrier(vkdi, cmdBuffer.get(), VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT, &renderBufferBarrier);
4298 endCommandBuffer(vkdi, cmdBuffer.get());
4299 submitCommandsAndWait(vkdi, device, queue, cmdBuffer.get());
4333 addFunctionCaseWithPrograms(basicComputeTests.get(), "empty_shader", EmptyShaderTest::checkSupport, EmptyShaderTest::createProgram, EmptyShaderTest::createTest, computePipelineConstructionType);