Home
last modified time | relevance | path

Searched refs:shaderModule (Results 1 – 25 of 128) sorted by relevance

123456

/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/
DServerShaderModule.cpp22 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/
Dvn_protocol_driver_shader_module.h154 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/
DWireShaderModuleTests.cpp56 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()
DWireExtensionTests.cpp31 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/
DvktPipelineDerivativeTests.cpp81 …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()
DvktPipelineMakeUtil.cpp66 const VkShaderModule shaderModule, in makeComputePipeline() argument
75 shaderModule, // VkShaderModule module; in makeComputePipeline()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DMultipleDeviceTests.cpp45 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()
DLabelTests.cpp594 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/skia/src/gpu/vk/
DGrVkUtil.cpp89 VkShaderModule* shaderModule, in GrCompileVkShaderModule() argument
110 return GrInstallVkShaderModule(gpu, *outSPIRV, stage, shaderModule, stageInfo); in GrCompileVkShaderModule()
116 VkShaderModule* shaderModule, in GrInstallVkShaderModule() argument
129 shaderModule)); in GrInstallVkShaderModule()
139 stageInfo->module = *shaderModule; in GrInstallVkShaderModule()
DGrVkPipelineStateBuilder.h62 VkShaderModule* shaderModule,
70 VkShaderModule* shaderModule,
DGrVkPipelineStateBuilder.cpp76 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/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeTestsUtil.cpp76 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()
DvktComputeTestsUtil.hpp85 const vk::VkShaderModule shaderModule);
91 const vk::VkShaderModule shaderModule,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/
DvktPostmortemShaderTimeoutTests.cpp77 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()
DvktPostmortemUseAfterFreeTests.cpp259 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/flutter/skia/src/gpu/vk/
DGrVkUtil.cpp127 VkShaderModule* shaderModule, in GrCompileVkShaderModule() argument
147 return GrInstallVkShaderModule(gpu, *outSPIRV, stage, shaderModule, stageInfo); in GrCompileVkShaderModule()
153 VkShaderModule* shaderModule, in GrInstallVkShaderModule() argument
166 shaderModule)); in GrInstallVkShaderModule()
176 stageInfo->module = *shaderModule; in GrInstallVkShaderModule()
DGrVkUtil.h48 VkShaderModule* shaderModule,
57 VkShaderModule* shaderModule,
DGrVkPipelineStateBuilder.h102 VkShaderModule* shaderModule,
111 VkShaderModule* shaderModule,
DGrVkPipelineStateBuilder.cpp70 VkShaderModule* shaderModule, in createVkShaderModule() argument
76 if (!GrCompileVkShaderModule(fGpu, sksl, stage, shaderModule, in createVkShaderModule()
88 VkShaderModule* shaderModule, in installVkShaderModule() argument
92 if (!GrInstallVkShaderModule(fGpu, spirv, stage, shaderModule, stageInfo)) { in installVkShaderModule()
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
DClientDoers.cpp122 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/
DvktFragmentOperationsMakeUtil.cpp41 const VkShaderModule shaderModule, in makeComputePipeline() argument
50 shaderModule, // VkShaderModule module; in makeComputePipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmCrossStageInterfaceTests.cpp166 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
402shaderModule[VK_SHADER_STAGE_VERTEX_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShader… in makeShaderModule()
405shaderModule[VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT] = (ShaderModuleSP(new Unique<VkShaderModule… in makeShaderModule()
408shaderModule[VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT] = (ShaderModuleSP(new Unique<VkShaderMod… in makeShaderModule()
411shaderModule[VK_SHADER_STAGE_GEOMETRY_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShad… in makeShaderModule()
414shaderModule[VK_SHADER_STAGE_FRAGMENT_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShad… in makeShaderModule()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/
DDestroyObjectTests.cpp434 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/
DShaderTests.cpp304 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/
DCopyTextureForBrowserHelper.cpp198 ShaderModuleBase* shaderModule = store->copyTextureForBrowser.Get(); in GetOrCreateCopyTextureForBrowserPipeline() local
202 vertex.module = shaderModule; in GetOrCreateCopyTextureForBrowserPipeline()
207 fragment.module = shaderModule; in GetOrCreateCopyTextureForBrowserPipeline()

123456