/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/ |
D | ServerShaderModule.cpp | 22 auto* shaderModule = ShaderModuleObjects().Get(shaderModuleId); in DoShaderModuleGetCompilationInfo() local 23 if (shaderModule == nullptr) { in DoShaderModuleGetCompilationInfo() 28 userdata->shaderModule = ObjectHandle{shaderModuleId, shaderModule->generation}; in DoShaderModuleGetCompilationInfo() 32 shaderModule->handle, in DoShaderModuleGetCompilationInfo() 43 cmd.shaderModule = data->shaderModule; in OnShaderModuleGetCompilationInfo()
|
/third_party/mesa3d/src/virtio/venus-protocol/ |
D | vn_protocol_driver_shader_module.h | 154 static inline size_t vn_sizeof_vkDestroyShaderModule(VkDevice device, VkShaderModule shaderModule, … in vn_sizeof_vkDestroyShaderModule() argument 161 cmd_size += vn_sizeof_VkShaderModule(&shaderModule); in vn_sizeof_vkDestroyShaderModule() 169 …er *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkShaderModule shaderModule, const VkAlloca… in vn_encode_vkDestroyShaderModule() argument 177 vn_encode_VkShaderModule(enc, &shaderModule); in vn_encode_vkDestroyShaderModule() 182 …vn_sizeof_vkDestroyShaderModule_reply(VkDevice device, VkShaderModule shaderModule, const VkAlloca… in vn_sizeof_vkDestroyShaderModule_reply() argument 194 …dule_reply(struct vn_cs_decoder *dec, VkDevice device, VkShaderModule shaderModule, const VkAlloca… in vn_decode_vkDestroyShaderModule_reply() argument 226 …nstance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkShaderModule shaderModule, const VkAlloca… in vn_submit_vkDestroyShaderModule() argument 230 size_t cmd_size = vn_sizeof_vkDestroyShaderModule(device, shaderModule, pAllocator); in vn_submit_vkDestroyShaderModule() 236 …ENERATE_REPLY_BIT_EXT ? vn_sizeof_vkDestroyShaderModule_reply(device, shaderModule, pAllocator) : … in vn_submit_vkDestroyShaderModule() 240 vn_encode_vkDestroyShaderModule(enc, cmd_flags, device, shaderModule, pAllocator); in vn_submit_vkDestroyShaderModule() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/ |
D | WireShaderModuleTests.cpp | 56 shaderModule = wgpuDeviceCreateShaderModule(device, &descriptor); in SetUp() 82 WGPUShaderModule shaderModule; member in WireShaderModuleTests 88 wgpuShaderModuleGetCompilationInfo(shaderModule, ToMockGetCompilationInfoCallback, nullptr); in TEST_F() 128 wgpuShaderModuleGetCompilationInfo(shaderModule, ToMockGetCompilationInfoCallback, nullptr); in TEST_F() 155 wgpuShaderModuleGetCompilationInfo(shaderModule, ToMockGetCompilationInfoCallback, nullptr); in TEST_F() 185 TestData testData = {this, &shaderModule, 10}; in TEST_F() 187 wgpuShaderModuleGetCompilationInfo(shaderModule, ToMockBufferMapCallbackWithNewRequests, in TEST_F() 212 TestData testData = {this, &shaderModule, 10}; in TEST_F() 214 wgpuShaderModuleGetCompilationInfo(shaderModule, ToMockBufferMapCallbackWithNewRequests, in TEST_F() 234 wgpuShaderModuleRelease(shaderModule); in TEST_F()
|
D | WireExtensionTests.cpp | 31 WGPUShaderModule shaderModule = wgpuDeviceCreateShaderModule(device, &shaderModuleDesc); in TEST_F() local 41 renderPipelineDesc.vertex.module = shaderModule; in TEST_F() 64 WGPUShaderModule shaderModule = wgpuDeviceCreateShaderModule(device, &shaderModuleDesc); in TEST_F() local 79 renderPipelineDesc.vertex.module = shaderModule; in TEST_F() 131 WGPUShaderModule shaderModule = wgpuDeviceCreateShaderModule(device, &shaderModuleDesc); in TEST_F() local 140 renderPipelineDesc.vertex.module = shaderModule; in TEST_F() 159 WGPUShaderModule shaderModule = wgpuDeviceCreateShaderModule(device, &shaderModuleDesc); in TEST_F() local 168 renderPipelineDesc.vertex.module = shaderModule; in TEST_F() 188 WGPUShaderModule shaderModule = wgpuDeviceCreateShaderModule(device, &shaderModuleDesc); in TEST_F() local 202 renderPipelineDesc.vertex.module = shaderModule; in TEST_F()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineDerivativeTests.cpp | 81 …Move<VkShaderModule> shaderModule = createShaderModule(vk, vkDevice, context.getBinaryCollection(… in testComputeDerivativeByHandle() local 94 shaderModule.get(), in testComputeDerivativeByHandle() 119 …Move<VkShaderModule> shaderModule = createShaderModule(vk, vkDevice, context.getBinaryCollection(… in testComputeDerivativeByIndex() local 132 shaderModule.get(), in testComputeDerivativeByIndex() 148 shaderModule.get(), in testComputeDerivativeByIndex()
|
D | vktPipelineMakeUtil.cpp | 66 const VkShaderModule shaderModule, in makeComputePipeline() argument 75 shaderModule, // VkShaderModule module; in makeComputePipeline()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkUtil.cpp | 93 VkShaderModule* shaderModule, in GrCompileVkShaderModule() argument 117 return GrInstallVkShaderModule(gpu, *outSPIRV, stage, shaderModule, stageInfo); in GrCompileVkShaderModule() 123 VkShaderModule* shaderModule, in GrInstallVkShaderModule() argument 136 shaderModule)); in GrInstallVkShaderModule() 146 stageInfo->module = *shaderModule; in GrInstallVkShaderModule()
|
D | GrVkPipelineStateBuilder.h | 62 VkShaderModule* shaderModule, 70 VkShaderModule* shaderModule,
|
D | GrVkPipelineStateBuilder.cpp | 76 VkShaderModule* shaderModule, in createVkShaderModule() argument 81 if (!GrCompileVkShaderModule(fGpu, sksl, stage, shaderModule, in createVkShaderModule() 93 VkShaderModule* shaderModule, in installVkShaderModule() argument 97 if (!GrInstallVkShaderModule(fGpu, spirv, stage, shaderModule, stageInfo)) { in installVkShaderModule()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | MultipleDeviceTests.cpp | 45 wgpu::ShaderModule shaderModule = device.CreateShaderModule(&shaderModuleDesc); in TEST_F() local 48 pipelineDesc.compute.module = shaderModule; in TEST_F() 65 wgpu::ShaderModule shaderModule = device2.CreateShaderModule(&shaderModuleDesc); in TEST_F() local 68 pipelineDesc.compute.module = shaderModule; in TEST_F()
|
D | LabelTests.cpp | 594 wgpu::ShaderModule shaderModule = device.CreateShaderModule(&descriptor); in TEST_F() local 595 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(shaderModule.Get()); in TEST_F() 601 wgpu::ShaderModule shaderModule = device.CreateShaderModule(&descriptor); in TEST_F() local 602 shaderModule.SetLabel(label.c_str()); in TEST_F() 603 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(shaderModule.Get()); in TEST_F() 610 wgpu::ShaderModule shaderModule = device.CreateShaderModule(&descriptor); in TEST_F() local 611 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(shaderModule.Get()); in TEST_F()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeTestsUtil.cpp | 76 const VkShaderModule shaderModule, in makeComputePipeline() argument 85 shaderModule, // VkShaderModule module; in makeComputePipeline() 105 const VkShaderModule shaderModule) in makeComputePipeline() argument 107 …e(vk, device, pipelineLayout, static_cast<VkPipelineCreateFlags>(0u), shaderModule, static_cast<Vk… in makeComputePipeline()
|
D | vktComputeTestsUtil.hpp | 85 const vk::VkShaderModule shaderModule); 91 const vk::VkShaderModule shaderModule,
|
D | vktComputeBasicComputeShaderTests.cpp | 235 …const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollec… in iterate() local 237 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate() 406 …const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollec… in iterate() local 408 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate() 579 …const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollec… in iterate() local 581 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate() 773 …const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollec… in iterate() local 775 …const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate() 968 …const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollec… in iterate() local 970 …const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/ |
D | vktPostmortemShaderTimeoutTests.cpp | 77 const VkShaderModule shaderModule, in makeComputePipeline() argument 86 shaderModule, // VkShaderModule module; in makeComputePipeline() 106 const VkShaderModule shaderModule) in makeComputePipeline() argument 108 …e(vk, device, pipelineLayout, static_cast<VkPipelineCreateFlags>(0u), shaderModule, static_cast<Vk… in makeComputePipeline() 216 …const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollec… in iterate() local 218 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate()
|
D | vktPostmortemUseAfterFreeTests.cpp | 259 const VkShaderModule shaderModule, in makeComputePipeline() argument 268 shaderModule, // VkShaderModule module; in makeComputePipeline() 288 const VkShaderModule shaderModule) in makeComputePipeline() argument 290 …e(vk, device, pipelineLayout, static_cast<VkPipelineCreateFlags>(0u), shaderModule, static_cast<Vk… in makeComputePipeline() 371 …const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollec… in iterate() local 373 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate()
|
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/ |
D | ClientDoers.cpp | 122 bool Client::DoShaderModuleGetCompilationInfoCallback(ShaderModule* shaderModule, in DoShaderModuleGetCompilationInfoCallback() argument 127 if (shaderModule == nullptr) { in DoShaderModuleGetCompilationInfoCallback() 130 return shaderModule->GetCompilationInfoCallback(requestSerial, status, info); in DoShaderModuleGetCompilationInfoCallback()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsMakeUtil.cpp | 41 const VkShaderModule shaderModule, in makeComputePipeline() argument 50 shaderModule, // VkShaderModule module; in makeComputePipeline()
|
D | vktFragmentOperationsMakeUtil.hpp | 39 …, const vk::VkPipelineLayout pipelineLayout, const vk::VkShaderModule shaderModule, const vk::VkSp…
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmCrossStageInterfaceTests.cpp | 166 void makeShaderModule (map<VkShaderStageFlagBits, ShaderModuleSP>& shaderModule, 295 map<VkShaderStageFlagBits, ShaderModuleSP> shaderModule; in iterate() local 298 …makeShaderModule(shaderModule, (VkShaderStageFlagBits)shadersStagesFlagsBits[stagesNdx], optionNdx… in iterate() 300 …lineLayout, (VkShaderStageFlagBits)shadersStagesFlagsBits[stagesNdx], shaderModule, ((VkShaderStag… in iterate() 389 …CrossStageTestInstance::makeShaderModule (map<VkShaderStageFlagBits, ShaderModuleSP>& shaderModule, in makeShaderModule() argument 402 …shaderModule[VK_SHADER_STAGE_VERTEX_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShader… in makeShaderModule() 405 …shaderModule[VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT] = (ShaderModuleSP(new Unique<VkShaderModule… in makeShaderModule() 408 …shaderModule[VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT] = (ShaderModuleSP(new Unique<VkShaderMod… in makeShaderModule() 411 …shaderModule[VK_SHADER_STAGE_GEOMETRY_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShad… in makeShaderModule() 414 …shaderModule[VK_SHADER_STAGE_FRAGMENT_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShad… in makeShaderModule()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/ |
D | DestroyObjectTests.cpp | 434 Ref<ShaderModuleBase> shaderModule; in TEST_F() local 437 DAWN_ASSERT_AND_ASSIGN(shaderModule, mDevice.CreateShaderModule(&desc)); in TEST_F() 439 EXPECT_TRUE(shaderModule->IsAlive()); in TEST_F() 440 EXPECT_TRUE(shaderModule->IsCachedReference()); in TEST_F() 695 Ref<ShaderModuleBase> shaderModule; in TEST_F() local 707 DAWN_ASSERT_AND_ASSIGN(shaderModule, mDevice.CreateShaderModule(&desc)); in TEST_F() 708 EXPECT_TRUE(shaderModule->IsAlive()); in TEST_F() 709 EXPECT_TRUE(shaderModule->IsCachedReference()); in TEST_F() 751 EXPECT_FALSE(shaderModule->IsAlive()); in TEST_F()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | ShaderTests.cpp | 304 wgpu::ShaderModule shaderModule = utils::CreateShaderModule(device, shader.c_str()); in TEST_P() local 307 rpDesc.vertex.module = shaderModule; in TEST_P() 309 rpDesc.cFragment.module = shaderModule; in TEST_P() 620 wgpu::ShaderModule shaderModule = utils::CreateShaderModule(device, shader.c_str()); in TEST_P() local 623 csDesc1.compute.module = shaderModule; in TEST_P() 630 csDesc2.compute.module = shaderModule; in TEST_P() 637 csDesc3.compute.module = shaderModule; in TEST_P()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | CopyTextureForBrowserHelper.cpp | 198 ShaderModuleBase* shaderModule = store->copyTextureForBrowser.Get(); in GetOrCreateCopyTextureForBrowserPipeline() local 202 vertex.module = shaderModule; in GetOrCreateCopyTextureForBrowserPipeline() 207 fragment.module = shaderModule; in GetOrCreateCopyTextureForBrowserPipeline()
|
D | ComputePassEncoder.cpp | 46 Ref<ShaderModuleBase> shaderModule; in GetOrCreateIndirectDispatchValidationPipeline() local 47 DAWN_TRY_ASSIGN(shaderModule, utils::CreateShaderModule(device, R"( in GetOrCreateIndirectDispatchValidationPipeline() 102 computePipelineDescriptor.compute.module = shaderModule.Get(); in GetOrCreateIndirectDispatchValidationPipeline()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/ |
D | ComputeTests.cpp | 215 VkShaderModule shaderModule; in test() local 216 VK_ASSERT(device->CreateShaderModule(code, &shaderModule)); in test() 242 VK_ASSERT(device->CreateComputePipeline(shaderModule, pipelineLayout, &pipeline)); in test() 309 device->DestroyShaderModule(shaderModule); in test()
|