/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_no_buildgn/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()
|
/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()
|
/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()
|
D | ShaderModuleValidationTests.cpp | 165 wgpu::ShaderModule shaderModule = utils::CreateShaderModule(device, R"( in TEST_F() local 170 dawn_native::ShaderModuleBase* shaderModuleBase = dawn_native::FromAPI(shaderModule.Get()); in TEST_F() 212 shaderModule.GetCompilationInfo(callback, nullptr); in TEST_F()
|
/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()
|
/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/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmCrossStageInterfaceTests.cpp | 166 void makeShaderModule (map<VkShaderStageFlagBits, ShaderModuleSP>& shaderModule, 296 map<VkShaderStageFlagBits, ShaderModuleSP> shaderModule; in iterate() local 299 …makeShaderModule(shaderModule, (VkShaderStageFlagBits)shadersStagesFlagsBits[stagesNdx], optionNdx… in iterate() 301 …lineLayout, (VkShaderStageFlagBits)shadersStagesFlagsBits[stagesNdx], shaderModule, ((VkShaderStag… in iterate() 394 …CrossStageTestInstance::makeShaderModule (map<VkShaderStageFlagBits, ShaderModuleSP>& shaderModule, in makeShaderModule() argument 407 …shaderModule[VK_SHADER_STAGE_VERTEX_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShader… in makeShaderModule() 410 …shaderModule[VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT] = (ShaderModuleSP(new Unique<VkShaderModule… in makeShaderModule() 413 …shaderModule[VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT] = (ShaderModuleSP(new Unique<VkShaderMod… in makeShaderModule() 416 …shaderModule[VK_SHADER_STAGE_GEOMETRY_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShad… in makeShaderModule() 419 …shaderModule[VK_SHADER_STAGE_FRAGMENT_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShad… in makeShaderModule()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
D | vktSpvAsmCrossStageInterfaceTests.cpp | 166 void makeShaderModule (map<VkShaderStageFlagBits, ShaderModuleSP>& shaderModule, 296 map<VkShaderStageFlagBits, ShaderModuleSP> shaderModule; in iterate() local 299 …makeShaderModule(shaderModule, (VkShaderStageFlagBits)shadersStagesFlagsBits[stagesNdx], optionNdx… in iterate() 301 …lineLayout, (VkShaderStageFlagBits)shadersStagesFlagsBits[stagesNdx], shaderModule, ((VkShaderStag… in iterate() 394 …CrossStageTestInstance::makeShaderModule (map<VkShaderStageFlagBits, ShaderModuleSP>& shaderModule, in makeShaderModule() argument 407 …shaderModule[VK_SHADER_STAGE_VERTEX_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShader… in makeShaderModule() 410 …shaderModule[VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT] = (ShaderModuleSP(new Unique<VkShaderModule… in makeShaderModule() 413 …shaderModule[VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT] = (ShaderModuleSP(new Unique<VkShaderMod… in makeShaderModule() 416 …shaderModule[VK_SHADER_STAGE_GEOMETRY_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShad… in makeShaderModule() 419 …shaderModule[VK_SHADER_STAGE_FRAGMENT_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShad… in makeShaderModule()
|
/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/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeBasicComputeShaderTests.cpp | 237 …const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollec… in iterate() local 239 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate() 408 …const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollec… in iterate() local 410 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate() 581 …const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollec… in iterate() local 583 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate() 775 …const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollec… in iterate() local 777 …const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate() 958 …const Unique<VkShaderModule> shaderModule(createShaderModule(vkd, data.device, m_context.getBinary… in iterate() local 960 …Unique<VkPipeline> pipeline(makeComputePipeline(vkd, data.device, *pipelineLayout, *shaderModule)); in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/ |
D | vktComputeBasicComputeShaderTests.cpp | 237 …const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollec… in iterate() local 239 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate() 408 …const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollec… in iterate() local 410 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate() 581 …const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollec… in iterate() local 583 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate() 775 …const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollec… in iterate() local 777 …const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate() 958 …const Unique<VkShaderModule> shaderModule(createShaderModule(vkd, data.device, m_context.getBinary… in iterate() local 960 …Unique<VkPipeline> pipeline(makeComputePipeline(vkd, data.device, *pipelineLayout, *shaderModule)); in iterate() [all …]
|
/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()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiNullHandleTests.cpp | 141 inline void release (Context& context, VkShaderModule shaderModule, const VkAllocationCallbacks* pA… in release() argument 144 context.getDeviceInterface().destroyShaderModule(context.getDevice(), shaderModule, pAllocator); in release() 147 DE_UNREF(shaderModule); in release()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiNullHandleTests.cpp | 141 inline void release (Context& context, VkShaderModule shaderModule, const VkAllocationCallbacks* pA… in release() argument 144 context.getDeviceInterface().destroyShaderModule(context.getDevice(), shaderModule, pAllocator); in release() 147 DE_UNREF(shaderModule); in release()
|