Home
last modified time | relevance | path

Searched refs:shaderModule (Results 1 - 25 of 174) sorted by relevance

1234567

/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/
H A 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/
H A Dvn_protocol_driver_shader_module.h154 static inline size_t vn_sizeof_vkDestroyShaderModule(VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyShaderModule() argument
161 cmd_size += vn_sizeof_VkShaderModule(&shaderModule); in vn_sizeof_vkDestroyShaderModule()
169 static inline void vn_encode_vkDestroyShaderModule(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator) in vn_encode_vkDestroyShaderModule() argument
177 vn_encode_VkShaderModule(enc, &shaderModule); in vn_encode_vkDestroyShaderModule()
182 static inline size_t vn_sizeof_vkDestroyShaderModule_reply(VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyShaderModule_reply() argument
188 /* skip shaderModule */ in vn_sizeof_vkDestroyShaderModule_reply()
194 static inline void vn_decode_vkDestroyShaderModule_reply(struct vn_cs_decoder *dec, VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator) in vn_decode_vkDestroyShaderModule_reply() argument
201 /* skip shaderModule */ in vn_decode_vkDestroyShaderModule_reply()
226 static inline void vn_submit_vkDestroyShaderModule(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) in vn_submit_vkDestroyShaderModule() argument
230 size_t cmd_size = vn_sizeof_vkDestroyShaderModule(device, shaderModule, pAllocato in vn_submit_vkDestroyShaderModule()
269 vn_call_vkDestroyShaderModule(struct vn_instance *vn_instance, VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator) vn_call_vkDestroyShaderModule() argument
282 vn_async_vkDestroyShaderModule(struct vn_instance *vn_instance, VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator) vn_async_vkDestroyShaderModule() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
H A DWireShaderModuleTests.cpp56 shaderModule = wgpuDeviceCreateShaderModule(device, &descriptor);
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()
[all...]
H A 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()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineDerivativeTests.cpp85 Move<VkShaderModule> shaderModule = createShaderModule(vk, vkDevice, context.getBinaryCollection().get("comp"), 0); in testComputeDerivativeByHandle() local
98 shaderModule.get(), in testComputeDerivativeByHandle()
143 Move<VkShaderModule> shaderModule = createShaderModule(vk, vkDevice, context.getBinaryCollection().get("comp"), 0); in testComputeDerivativeByIndex() local
156 shaderModule.get(), in testComputeDerivativeByIndex()
172 shaderModule.get(), in testComputeDerivativeByIndex()
/third_party/skia/src/gpu/vk/
H A DGrVkUtil.cpp92 VkShaderModule* shaderModule, in GrCompileVkShaderModule()
116 return GrInstallVkShaderModule(gpu, *outSPIRV, stage, shaderModule, stageInfo); in GrCompileVkShaderModule()
122 VkShaderModule* shaderModule, in GrInstallVkShaderModule()
135 shaderModule)); in GrInstallVkShaderModule()
145 stageInfo->module = *shaderModule; in GrInstallVkShaderModule()
89 GrCompileVkShaderModule(GrVkGpu* gpu, const SkSL::String& shaderString, VkShaderStageFlagBits stage, VkShaderModule* shaderModule, VkPipelineShaderStageCreateInfo* stageInfo, const SkSL::Program::Settings& settings, SkSL::String* outSPIRV, SkSL::Program::Inputs* outInputs) GrCompileVkShaderModule() argument
119 GrInstallVkShaderModule(GrVkGpu* gpu, const SkSL::String& spirv, VkShaderStageFlagBits stage, VkShaderModule* shaderModule, VkPipelineShaderStageCreateInfo* stageInfo) GrInstallVkShaderModule() argument
H A DGrVkPipelineStateBuilder.h62 VkShaderModule* shaderModule,
70 VkShaderModule* shaderModule,
H A DGrVkPipelineStateBuilder.cpp76 VkShaderModule* shaderModule, in createVkShaderModule()
81 if (!GrCompileVkShaderModule(fGpu, sksl, stage, shaderModule, in createVkShaderModule()
93 VkShaderModule* shaderModule, in installVkShaderModule()
97 if (!GrInstallVkShaderModule(fGpu, spirv, stage, shaderModule, stageInfo)) { in installVkShaderModule()
74 createVkShaderModule(VkShaderStageFlagBits stage, const SkSL::String& sksl, VkShaderModule* shaderModule, VkPipelineShaderStageCreateInfo* stageInfo, const SkSL::Program::Settings& settings, SkSL::String* outSPIRV, SkSL::Program::Inputs* outInputs) createVkShaderModule() argument
91 installVkShaderModule(VkShaderStageFlagBits stage, const GrGLSLShaderBuilder& builder, VkShaderModule* shaderModule, VkPipelineShaderStageCreateInfo* stageInfo, SkSL::String spirv, SkSL::Program::Inputs inputs) installVkShaderModule() argument
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineDerivativeTests.cpp81 Move<VkShaderModule> shaderModule = createShaderModule(vk, vkDevice, context.getBinaryCollection().get("comp"), 0); in testComputeDerivativeByHandle() local
94 shaderModule.get(), in testComputeDerivativeByHandle()
119 Move<VkShaderModule> shaderModule = createShaderModule(vk, vkDevice, context.getBinaryCollection().get("comp"), 0); in testComputeDerivativeByIndex() local
132 shaderModule.get(), in testComputeDerivativeByIndex()
148 shaderModule.get(), in testComputeDerivativeByIndex()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A 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()
H A 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/third_party/externals/dawn/src/dawn_wire/client/
H A 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/
H A DvktFragmentOperationsMakeUtil.cpp41 const VkShaderModule shaderModule, in makeComputePipeline()
50 shaderModule, // VkShaderModule module; in makeComputePipeline()
38 makeComputePipeline(const DeviceInterface& vk, const VkDevice device, const VkPipelineLayout pipelineLayout, const VkShaderModule shaderModule, const VkSpecializationInfo* specInfo) makeComputePipeline() argument
H A DvktFragmentOperationsMakeUtil.hpp39 vk::Move<vk::VkPipeline> makeComputePipeline (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkPipelineLayout pipelineLayout, const vk::VkShaderModule shaderModule, const vk::VkSpecializationInfo* specInfo);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmCrossStageInterfaceTests.cpp166 void makeShaderModule (map<VkShaderStageFlagBits, ShaderModuleSP>& shaderModule,
296 map<VkShaderStageFlagBits, ShaderModuleSP> shaderModule; in iterate() local
299 makeShaderModule(shaderModule, (VkShaderStageFlagBits)shadersStagesFlagsBits[stagesNdx], optionNdx); in iterate()
301 Move<VkPipeline> graphicsPipeline = makeGraphicsPipeline (*renderPass, *pipelineLayout, (VkShaderStageFlagBits)shadersStagesFlagsBits[stagesNdx], shaderModule, ((VkShaderStageFlagBits)shadersStagesFlagsBits[stagesNdx] & VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT) ? VK_PRIMITIVE_TOPOLOGY_PATCH_LIST : VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP); in iterate()
394 void CrossStageTestInstance::makeShaderModule (map<VkShaderStageFlagBits, ShaderModuleSP>& shaderModule, in makeShaderModule() argument
407 shaderModule[VK_SHADER_STAGE_VERTEX_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get(vertex.str()), 0)))); in makeShaderModule()
410 shaderModule[VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("tessellation_control"), 0)))); in makeShaderModule()
413 shaderModule[VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("tessellation_evaluation"), 0)))); in makeShaderModule()
416 shaderModule[VK_SHADER_STAGE_GEOMETRY_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("geometry"), 0)))); in makeShaderModule()
419 shaderModule[VK_SHADER_STAGE_FRAGMENT_BI in makeShaderModule()
[all...]
H A DvktSpvAsmFromHlslTests.cpp159 const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollection().get("comp"), 0u)); in iterate()
168 *shaderModule, in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmCrossStageInterfaceTests.cpp166 void makeShaderModule (map<VkShaderStageFlagBits, ShaderModuleSP>& shaderModule,
296 map<VkShaderStageFlagBits, ShaderModuleSP> shaderModule; in iterate() local
299 makeShaderModule(shaderModule, (VkShaderStageFlagBits)shadersStagesFlagsBits[stagesNdx], optionNdx); in iterate()
301 Move<VkPipeline> graphicsPipeline = makeGraphicsPipeline (*renderPass, *pipelineLayout, (VkShaderStageFlagBits)shadersStagesFlagsBits[stagesNdx], shaderModule, ((VkShaderStageFlagBits)shadersStagesFlagsBits[stagesNdx] & VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT) ? VK_PRIMITIVE_TOPOLOGY_PATCH_LIST : VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP); in iterate()
394 void CrossStageTestInstance::makeShaderModule (map<VkShaderStageFlagBits, ShaderModuleSP>& shaderModule, in makeShaderModule() argument
407 shaderModule[VK_SHADER_STAGE_VERTEX_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get(vertex.str()), 0)))); in makeShaderModule()
410 shaderModule[VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("tessellation_control"), 0)))); in makeShaderModule()
413 shaderModule[VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("tessellation_evaluation"), 0)))); in makeShaderModule()
416 shaderModule[VK_SHADER_STAGE_GEOMETRY_BIT] = (ShaderModuleSP(new Unique<VkShaderModule>(createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("geometry"), 0)))); in makeShaderModule()
419 shaderModule[VK_SHADER_STAGE_FRAGMENT_BI in makeShaderModule()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A 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/tests/unittests/native/
H A 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/dawn_native/
H A DCopyTextureForBrowserHelper.cpp198 ShaderModuleBase* shaderModule = store->copyTextureForBrowser.Get(); in GetOrCreateCopyTextureForBrowserPipeline() local
202 vertex.module = shaderModule; in GetOrCreateCopyTextureForBrowserPipeline()
207 fragment.module = shaderModule; in GetOrCreateCopyTextureForBrowserPipeline()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/
H A DComputeTests.cpp215 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/compute/
H A DvktComputeBasicComputeShaderTests.cpp237 const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollection().get("comp"), 0u)); in iterate()
239 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate()
408 const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollection().get("comp"), 0u)); in iterate()
410 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate()
581 const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollection().get("comp"), 0u)); in iterate()
583 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate()
775 const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollection().get("comp"), 0u));
777 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule));
958 const Unique<VkShaderModule> shaderModule(createShaderModule(vkd, data.device, m_context.getBinaryCollection().get("comp"), 0u));
960 const Unique<VkPipeline> pipeline(makeComputePipeline(vkd, data.device, *pipelineLayout, *shaderModule));
[all...]
/third_party/mesa3d/src/amd/vulkan/radix_sort/
H A Dradv_radix_sort.c110 vkDestroyShaderModule(VkDevice _device, VkShaderModule shaderModule, in vkDestroyShaderModule() argument
114 device->vk.dispatch_table.DestroyShaderModule(_device, shaderModule, pAllocator); in vkDestroyShaderModule()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/postmortem/
H A DvktPostmortemShaderTimeoutTests.cpp177 const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollection().get("comp"), 0u)); in iterate()
179 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); in iterate()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkComputePipelineConstructionUtil.cpp186 const Unique<VkShaderModule> shaderModule (createShaderModule(vk, device, *m_programBinary)); in buildPipeline()
188 m_pipeline = vk::makeComputePipeline(vk, device, *m_pipelineLayout, m_pipelineCreateFlags, m_pipelineCreatePNext, *shaderModule, 0u, specializationInfo, 0, m_subgroupSize); in buildPipeline()

Completed in 19 milliseconds

1234567