Home
last modified time | relevance | path

Searched refs:computePipeline (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DCreatePipelineAsyncTests.cpp22 wgpu::ComputePipeline computePipeline = nullptr; member
46 ASSERT_NE(nullptr, currentTask->computePipeline.Get()); in ValidateCreateComputePipelineAsync()
48 utils::MakeBindGroup(device, currentTask->computePipeline.GetBindGroupLayout(0), in ValidateCreateComputePipelineAsync()
53 pass.SetPipeline(currentTask->computePipeline); in ValidateCreateComputePipelineAsync()
153 task->computePipeline = wgpu::ComputePipeline::Acquire(returnPipeline); in TEST_P()
186 task->computePipeline = wgpu::ComputePipeline::Acquire(returnPipeline); in TEST_P()
222 task->computePipeline = wgpu::ComputePipeline::Acquire(returnPipeline); in TEST_P()
233 ASSERT_EQ(nullptr, task.computePipeline.Get()); in TEST_P()
361 ASSERT_EQ(nullptr, task.computePipeline.Get()); in TEST_P()
381 task->computePipeline = wgpu::ComputePipeline::Acquire(returnPipeline); in TEST_P()
[all …]
DDrawIndexedIndirectTests.cpp616 wgpu::ComputePipeline computePipeline = device.CreateComputePipeline(&computeDesc); in TEST_P() local
624 device, computePipeline.GetBindGroupLayout(0), in TEST_P()
627 pass.SetPipeline(computePipeline); in TEST_P()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/
DDestroyObjectTests.cpp269 Ref<ComputePipelineBase> computePipeline; in TEST_F() local
272 DAWN_ASSERT_AND_ASSIGN(computePipeline, mDevice.CreateComputePipeline(&desc)); in TEST_F()
274 EXPECT_TRUE(computePipeline->IsAlive()); in TEST_F()
275 EXPECT_TRUE(computePipeline->IsCachedReference()); in TEST_F()
617 Ref<ComputePipelineBase> computePipeline; in TEST_F() local
633 DAWN_ASSERT_AND_ASSIGN(computePipeline, mDevice.CreateComputePipeline(&desc)); in TEST_F()
634 EXPECT_TRUE(computePipeline->IsAlive()); in TEST_F()
635 EXPECT_TRUE(computePipeline->IsCachedReference()); in TEST_F()
745 EXPECT_FALSE(computePipeline->IsAlive()); in TEST_F()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DMinimumBufferSizeValidationTests.cpp281 void TestDispatch(const wgpu::ComputePipeline& computePipeline, in TestDispatch() argument
286 computePassEncoder.SetPipeline(computePipeline); in TestDispatch()
433 wgpu::ComputePipeline computePipeline = CreateComputePipeline({layout}, computeShader); in TEST_F() local
438 TestDispatch(computePipeline, {bindGroup}, expectation); in TEST_F()
456 wgpu::ComputePipeline computePipeline = CreateComputePipeline({layout}, computeShader); in TEST_F() local
461 TestDispatch(computePipeline, {bindGroup}, expectation); in TEST_F()
482 wgpu::ComputePipeline computePipeline = in TEST_F() local
490 TestDispatch(computePipeline, {bindGroup0, bindGroup1}, expectation); in TEST_F()
DBindGroupValidationTests.cpp1495 wgpu::ComputePipeline computePipeline = CreateComputePipeline(); in TestComputePassBindGroup() local
1499 computePassEncoder.SetPipeline(computePipeline); in TestComputePassBindGroup()
1564 wgpu::ComputePipeline computePipeline = CreateComputePipeline(); in TEST_F() local
1567 computePassEncoder.SetPipeline(computePipeline); in TEST_F()
2364 wgpu::ComputePipeline computePipeline = CreateComputePipeline({bgl[0], bgl[1], bgl[2]}); in TEST_F() local
2369 TestComputePassBindings(bg.data(), kBindingNum + 1, computePipeline, true); in TEST_F()
2384 TestComputePassBindings(bg.data(), kBindingNum, computePipeline, false); in TEST_F()
2404 wgpu::ComputePipeline computePipeline = CreateComputePipeline({bgl[0], bgl[1], bgl[2]}); in TEST_F() local
2409 TestComputePassBindings(bg.data(), kBindingNum - 1, computePipeline, false); in TEST_F()
2417 TestComputePassBindings(bg.data(), kBindingNum, computePipeline, false); in TEST_F()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DComputePipelineD3D12.cpp85 void ComputePipeline::InitializeAsync(Ref<ComputePipelineBase> computePipeline, in InitializeAsync() argument
89 std::make_unique<CreateComputePipelineAsyncTask>(std::move(computePipeline), callback, in InitializeAsync()
DComputePipelineD3D12.h31 static void InitializeAsync(Ref<ComputePipelineBase> computePipeline,
DDeviceD3D12.cpp440 void Device::InitializeComputePipelineAsyncImpl(Ref<ComputePipelineBase> computePipeline, in InitializeComputePipelineAsyncImpl() argument
443 ComputePipeline::InitializeAsync(std::move(computePipeline), callback, userdata); in InitializeComputePipelineAsyncImpl()
741 ComputePipelineBase* computePipeline) const { in ShouldDuplicateNumWorkgroupsForDispatchIndirect()
742 return ToBackend(computePipeline)->UsesNumWorkgroups(); in ShouldDuplicateNumWorkgroupsForDispatchIndirect()
DDeviceD3D12.h149 ComputePipelineBase* computePipeline) const override;
185 void InitializeComputePipelineAsyncImpl(Ref<ComputePipelineBase> computePipeline,
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DComputePipelineVk.cpp107 void ComputePipeline::InitializeAsync(Ref<ComputePipelineBase> computePipeline, in InitializeAsync() argument
111 std::make_unique<CreateComputePipelineAsyncTask>(std::move(computePipeline), callback, in InitializeAsync()
DComputePipelineVk.h32 static void InitializeAsync(Ref<ComputePipelineBase> computePipeline,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDescriptorSetTests.cpp291 …Unique<VkPipeline> computePipeline (createComputePipeline(vk, device, DE_NULL, &computePip… in descriptorSetLayoutLifetimeComputeTest() local
316 vk.cmdBindPipeline(*cmdBuf, VK_PIPELINE_BIND_POINT_COMPUTE, *computePipeline); in descriptorSetLayoutLifetimeComputeTest()
569 …Unique<VkPipeline> computePipeline(createComputePipeline(vk, device, DE_NULL, &computePipelineCrea… in descriptorSetLayoutBindingOrderingTest() local
573 vk.cmdBindPipeline(*cmdBuf, VK_PIPELINE_BIND_POINT_COMPUTE, *computePipeline); in descriptorSetLayoutBindingOrderingTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiDescriptorSetTests.cpp291 …Unique<VkPipeline> computePipeline (createComputePipeline(vk, device, DE_NULL, &computePip… in descriptorSetLayoutLifetimeComputeTest() local
316 vk.cmdBindPipeline(*cmdBuf, VK_PIPELINE_BIND_POINT_COMPUTE, *computePipeline); in descriptorSetLayoutLifetimeComputeTest()
569 …Unique<VkPipeline> computePipeline(createComputePipeline(vk, device, DE_NULL, &computePipelineCrea… in descriptorSetLayoutBindingOrderingTest() local
573 vk.cmdBindPipeline(*cmdBuf, VK_PIPELINE_BIND_POINT_COMPUTE, *computePipeline); in descriptorSetLayoutBindingOrderingTest()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DComputePipelineMTL.mm77 void ComputePipeline::InitializeAsync(Ref<ComputePipelineBase> computePipeline,
81 std::make_unique<CreateComputePipelineAsyncTask>(std::move(computePipeline), callback,
DComputePipelineMTL.h33 static void InitializeAsync(Ref<ComputePipelineBase> computePipeline,
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DDevice.cpp745 Ref<ComputePipelineBase> computePipeline) { in AddOrGetCachedComputePipeline() argument
746 auto insertion = mCaches->computePipelines.insert(computePipeline.Get()); in AddOrGetCachedComputePipeline()
748 computePipeline->SetIsCachedReference(); in AddOrGetCachedComputePipeline()
749 return computePipeline; in AddOrGetCachedComputePipeline()
1333 Ref<ComputePipelineBase> computePipeline, in InitializeComputePipelineAsyncImpl() argument
1339 MaybeError maybeError = computePipeline->Initialize(); in InitializeComputePipelineAsyncImpl()
1344 result = AddOrGetCachedComputePipeline(std::move(computePipeline)); in InitializeComputePipelineAsyncImpl()
1715 ComputePipelineBase* computePipeline) const { in ShouldDuplicateNumWorkgroupsForDispatchIndirect()
DDevice.h349 ComputePipelineBase* computePipeline) const;
431 Ref<ComputePipelineBase> computePipeline);
435 Ref<ComputePipelineBase> computePipeline,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsMultipleDispatchesUniformSubgroupSizeTests.cpp157 …Move<VkPipeline> computePipeline = createComputePipeline(vk, device, (VkPipelineCache) 0u, … in iterate() local
169 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *computePipeline); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
DvktSubgroupsMultipleDispatchesUniformSubgroupSizeTests.cpp157 …Move<VkPipeline> computePipeline = createComputePipeline(vk, device, (VkPipelineCache) 0u, … in iterate() local
169 vk.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *computePipeline); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
DvktRayTracingTraceRaysTests.cpp473 Move<VkPipeline> computePipeline; in runTest() local
510computePipeline = vk::createComputePipeline(vkd, device, (VkPipelineCache)0u, &pipelineCreateInfo); in runTest()
638 vkd.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *computePipeline); in runTest()
656 vkd.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *computePipeline); in runTest()
1101 Move<VkPipeline> computePipeline; in iterate() local
1139computePipeline = vk::createComputePipeline(vkd, device, (VkPipelineCache)0u, &pipelineCreateInfo); in iterate()
1238 vkd.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *computePipeline); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingTraceRaysTests.cpp473 Move<VkPipeline> computePipeline; in runTest() local
510computePipeline = vk::createComputePipeline(vkd, device, (VkPipelineCache)0u, &pipelineCreateInfo); in runTest()
638 vkd.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *computePipeline); in runTest()
656 vkd.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *computePipeline); in runTest()
1101 Move<VkPipeline> computePipeline; in iterate() local
1139computePipeline = vk::createComputePipeline(vkd, device, (VkPipelineCache)0u, &pipelineCreateInfo); in iterate()
1238 vkd.cmdBindPipeline(*cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *computePipeline); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp926 Move<VkPipeline> computePipeline; member
938 Move<VkPipeline> computePipeline; member
955 Move<VkPipeline> computePipeline; member
1145 …m_uStore.computePipeline = makeComputePipeline(m_vk, m_device, *m_uStore.pipelineLayout, *m_uStor… in uploadStore()
1171 m_vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *m_uStore.computePipeline); in uploadStore()
1398 …m_dTex.computePipeline = makeComputePipeline(m_vk, m_device, *m_dTex.pipelineLayout, *m_dTex.co… in downloadTexture()
1438 m_vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *m_dTex.computePipeline); in downloadTexture()
1478 …m_dLoad.computePipeline = makeComputePipeline(m_vk, m_device, *m_dLoad.pipelineLayout, *m_dLoad… in downloadLoad()
1519 m_vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *m_dLoad.computePipeline); in downloadLoad()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageMutableTests.cpp926 Move<VkPipeline> computePipeline; member
938 Move<VkPipeline> computePipeline; member
955 Move<VkPipeline> computePipeline; member
1145 …m_uStore.computePipeline = makeComputePipeline(m_vk, m_device, *m_uStore.pipelineLayout, *m_uStor… in uploadStore()
1171 m_vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *m_uStore.computePipeline); in uploadStore()
1398 …m_dTex.computePipeline = makeComputePipeline(m_vk, m_device, *m_dTex.pipelineLayout, *m_dTex.co… in downloadTexture()
1438 m_vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *m_dTex.computePipeline); in downloadTexture()
1478 …m_dLoad.computePipeline = makeComputePipeline(m_vk, m_device, *m_dLoad.pipelineLayout, *m_dLoad… in downloadLoad()
1519 m_vk.cmdBindPipeline(*m_cmdBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *m_dLoad.computePipeline); in downloadLoad()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseResidency.cpp312 …const Unique<VkPipeline> computePipeline(makeComputePipeline(deviceInterface, getDevice(), *pipel… in iterate() local
314 deviceInterface.cmdBindPipeline(*commandBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *computePipeline); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseResidency.cpp312 …const Unique<VkPipeline> computePipeline(makeComputePipeline(deviceInterface, getDevice(), *pipel… in iterate() local
314 deviceInterface.cmdBindPipeline(*commandBuffer, VK_PIPELINE_BIND_POINT_COMPUTE, *computePipeline); in iterate()

1234