Home
last modified time | relevance | path

Searched refs:ShaderModule (Results 1 – 25 of 218) sorted by relevance

123456789

/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DShaderModuleVk.cpp31 ShaderModule::ConcurrentTransformedShaderModuleCache::ConcurrentTransformedShaderModuleCache( in ConcurrentTransformedShaderModuleCache()
36 ShaderModule::ConcurrentTransformedShaderModuleCache::
44 VkShaderModule ShaderModule::ConcurrentTransformedShaderModuleCache::FindShaderModule( in FindShaderModule()
55 VkShaderModule ShaderModule::ConcurrentTransformedShaderModuleCache::AddOrGetCachedShaderModule( in AddOrGetCachedShaderModule()
71 ResultOrError<Ref<ShaderModule>> ShaderModule::Create(Device* device, in Create()
74 Ref<ShaderModule> module = AcquireRef(new ShaderModule(device, descriptor)); in Create()
79 ShaderModule::ShaderModule(Device* device, const ShaderModuleDescriptor* descriptor) in ShaderModule() function in dawn_native::vulkan::ShaderModule
85 MaybeError ShaderModule::Initialize(ShaderModuleParseResult* parseResult) { in Initialize()
102 void ShaderModule::DestroyImpl() { in DestroyImpl()
108 ShaderModule::~ShaderModule() = default;
[all …]
DShaderModuleVk.h30 class ShaderModule final : public ShaderModuleBase {
32 static ResultOrError<Ref<ShaderModule>> Create(Device* device,
40 ShaderModule(Device* device, const ShaderModuleDescriptor* descriptor);
41 ~ShaderModule() override;
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
DShaderModule.cpp21 ShaderModule::~ShaderModule() { in ~ShaderModule()
25 void ShaderModule::GetCompilationInfo(WGPUCompilationInfoCallback callback, void* userdata) { in GetCompilationInfo()
40 bool ShaderModule::GetCompilationInfoCallback(uint64_t requestSerial, in GetCompilationInfoCallback()
52 void ShaderModule::CancelCallbacksForDisconnect() { in CancelCallbacksForDisconnect()
56 void ShaderModule::ClearAllCallbacks(WGPUCompilationInfoRequestStatus status) { in ClearAllCallbacks()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkShaderModule.hpp23 class ShaderModule : public Object<ShaderModule, VkShaderModule> class
26 ShaderModule(const VkShaderModuleCreateInfo *pCreateInfo, void *mem);
35 static inline ShaderModule *Cast(VkShaderModule object) in Cast()
37 return ShaderModule::Cast(object); in Cast()
DVkShaderModule.cpp23 ShaderModule::ShaderModule(const VkShaderModuleCreateInfo *pCreateInfo, void *mem) in ShaderModule() function in vk::ShaderModule
36 size_t ShaderModule::ComputeRequiredAllocationSize(const VkShaderModuleCreateInfo *pCreateInfo) in ComputeRequiredAllocationSize()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DGetBindGroupLayoutValidationTests.cpp23 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in RenderPipelineFromFragmentShader()
28 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, shader); in RenderPipelineFromFragmentShader()
48 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in TEST_F()
61 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in TEST_F()
178 wgpu::ShaderModule emptyVertexModule = utils::CreateShaderModule(device, R"( in TEST_F()
187 wgpu::ShaderModule textureLoadVertexModule = utils::CreateShaderModule(device, R"( in TEST_F()
196 wgpu::ShaderModule textureSampleVertexModule = utils::CreateShaderModule(device, R"( in TEST_F()
204 wgpu::ShaderModule unusedTextureFragmentModule = utils::CreateShaderModule(device, R"( in TEST_F()
212 wgpu::ShaderModule textureLoadFragmentModule = utils::CreateShaderModule(device, R"( in TEST_F()
220 wgpu::ShaderModule textureSampleFragmentModule = utils::CreateShaderModule(device, R"( in TEST_F()
[all …]
DRenderPipelineValidationTests.cpp45 wgpu::ShaderModule vsModule;
46 wgpu::ShaderModule fsModule;
47 wgpu::ShaderModule fsModuleUint;
767 wgpu::ShaderModule vsModuleWithStorageBuffer = utils::CreateShaderModule(device, R"( in TEST_F()
872 wgpu::ShaderModule module = utils::CreateShaderModule(device, R"( in TEST_F()
918 wgpu::ShaderModule module = utils::CreateShaderModule(device, R"( in TEST_F()
960 wgpu::ShaderModule module = utils::CreateShaderModule(device, R"( in TEST_F()
994 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in TEST_F()
1000 wgpu::ShaderModule fsModuleWriteNone = utils::CreateShaderModule(device, R"( in TEST_F()
1004 wgpu::ShaderModule fsModuleWrite0 = utils::CreateShaderModule(device, R"( in TEST_F()
[all …]
DVertexBufferValidationTests.cpp42 wgpu::ShaderModule MakeVertexShader(unsigned int bufferCount) { in MakeVertexShader()
69 wgpu::RenderPipeline MakeRenderPipeline(const wgpu::ShaderModule& vsModule, in MakeRenderPipeline()
86 wgpu::ShaderModule fsModule;
92 wgpu::ShaderModule vsModule2 = MakeVertexShader(2); in TEST_F()
93 wgpu::ShaderModule vsModule1 = MakeVertexShader(1); in TEST_F()
129 wgpu::ShaderModule vsModule2 = MakeVertexShader(2); in TEST_F()
130 wgpu::ShaderModule vsModule1 = MakeVertexShader(1); in TEST_F()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DShaderModuleVk.cpp24 ShaderModule::ShaderModule(Device* device, const ShaderModuleDescriptor* descriptor) in ShaderModule() function in dawn_native::vulkan::ShaderModule
44 ShaderModule::~ShaderModule() { in ~ShaderModule()
53 VkShaderModule ShaderModule::GetHandle() const { in GetHandle()
DShaderModuleVk.h26 class ShaderModule : public ShaderModuleBase {
28 ShaderModule(Device* device, const ShaderModuleDescriptor* descriptor);
29 ~ShaderModule();
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DDrawTester.hpp58 void onCreateVertexShader(std::function<vk::ShaderModule(ThisType &tester)> callback);
62 void onCreateFragmentShader(std::function<vk::ShaderModule(ThisType &tester)> callback);
74 vk::ShaderModule createShaderModule(const char *glslSource, EShLanguage glslLanguage);
127 …std::function<vk::ShaderModule(ThisType &tester)> createVertexShader = [](auto &) { return vk::Sha… in __anondc680b0a0302()
128 …std::function<vk::ShaderModule(ThisType &tester)> createFragmentShader = [](auto &) { return vk::S… in __anondc680b0a0402()
182 inline void DrawTester::onCreateVertexShader(std::function<vk::ShaderModule(ThisType &tester)> call… in onCreateVertexShader()
187 inline void DrawTester::onCreateFragmentShader(std::function<vk::ShaderModule(ThisType &tester)> ca… in onCreateFragmentShader()
/third_party/skia/experimental/webgpu-bazel/src/
Dbindings.cpp26 wgpu::ShaderModule createShaderModule(wgpu::Device device, const char* source) { in createShaderModule()
34 wgpu::RenderPipeline createRenderPipeline(wgpu::Device device, wgpu::ShaderModule vertexShader, in createRenderPipeline()
35 wgpu::ShaderModule fragmentShader) { in createRenderPipeline()
106 wgpu::ShaderModule makeShader(std::string source) { in makeShader()
110 wgpu::RenderPipeline makeRenderPipeline(wgpu::ShaderModule vertexShader, in makeRenderPipeline()
111 wgpu::ShaderModule fragmentShader) { in makeRenderPipeline()
132 class_<wgpu::ShaderModule>("ShaderModule"); in EMSCRIPTEN_BINDINGS()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DShaderModuleD3D12.h50 class ShaderModule final : public ShaderModuleBase {
52 static ResultOrError<Ref<ShaderModule>> Create(Device* device,
62 ShaderModule(Device* device, const ShaderModuleDescriptor* descriptor);
63 ~ShaderModule() override = default;
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DShaderModuleMTL.h31 class ShaderModule final : public ShaderModuleBase {
33 static ResultOrError<Ref<ShaderModule>> Create(Device* device,
63 ShaderModule(Device* device, const ShaderModuleDescriptor* descriptor);
64 ~ShaderModule() override = default;
DShaderModuleMTL.mm30 ResultOrError<Ref<ShaderModule>> ShaderModule::Create(Device* device,
33 Ref<ShaderModule> module = AcquireRef(new ShaderModule(device, descriptor));
38 ShaderModule::ShaderModule(Device* device, const ShaderModuleDescriptor* descriptor)
42 MaybeError ShaderModule::Initialize(ShaderModuleParseResult* parseResult) {
47 ResultOrError<std::string> ShaderModule::TranslateToMSL(
173 MaybeError ShaderModule::CreateFunction(const char* entryPointName,
176 ShaderModule::MetalFunctionData* out,
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DShaderModuleGL.h50 class ShaderModule final : public ShaderModuleBase {
52 static ResultOrError<Ref<ShaderModule>> Create(Device* device,
63 ShaderModule(Device* device, const ShaderModuleDescriptor* descriptor);
64 ~ShaderModule() override = default;
DShaderModuleGL.cpp215 ResultOrError<Ref<ShaderModule>> ShaderModule::Create(Device* device, in Create()
218 Ref<ShaderModule> module = AcquireRef(new ShaderModule(device, descriptor)); in Create()
223 ShaderModule::ShaderModule(Device* device, const ShaderModuleDescriptor* descriptor) in ShaderModule() function in dawn_native::opengl::ShaderModule
228 ResultOrError<BindingInfoArrayTable> ShaderModule::ReflectShaderUsingSPIRVCross( in ReflectShaderUsingSPIRVCross()
246 MaybeError ShaderModule::Initialize(ShaderModuleParseResult* parseResult) { in Initialize()
263 ResultOrError<std::string> ShaderModule::TranslateToGLSL(const char* entryPointName, in TranslateToGLSL()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DShaderModuleGL.cpp50 ShaderModule::ShaderModule(Device* device, const ShaderModuleDescriptor* descriptor) in ShaderModule() function in dawn_native::opengl::ShaderModule
134 const char* ShaderModule::GetSource() const { in GetSource()
138 const ShaderModule::CombinedSamplerInfo& ShaderModule::GetCombinedSamplerInfo() const { in GetCombinedSamplerInfo()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUShaderModule.h30 GPUShaderModule(wgpu::ShaderModule shader, std::shared_ptr<AsyncRunner> async);
33 inline operator const wgpu::ShaderModule &() const {
44 wgpu::ShaderModule shader_;
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DShaderTests.cpp126 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, vertexShader.c_str()); in TEST_P()
133 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, fragmentShader.c_str()); in TEST_P()
162 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, vertexShader.c_str()); in TEST_P()
169 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, fragmentShader.c_str()); in TEST_P()
205 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, vertexShader.c_str()); in TEST_P()
217 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, fragmentShader.c_str()); in TEST_P()
252 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, vertexShader.c_str()); in TEST_P()
264 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, fragmentShader.c_str()); in TEST_P()
304 wgpu::ShaderModule shaderModule = utils::CreateShaderModule(device, shader.c_str()); in TEST_P()
367 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in TEST_P()
[all …]
DObjectCachingTests.cpp106 wgpu::ShaderModule module = utils::CreateShaderModule(device, R"( in TEST_P()
110 wgpu::ShaderModule sameModule = utils::CreateShaderModule(device, R"( in TEST_P()
114 wgpu::ShaderModule otherModule = utils::CreateShaderModule(device, R"( in TEST_P()
125 wgpu::ShaderModule module = utils::CreateShaderModule(device, R"( in TEST_P()
130 wgpu::ShaderModule sameModule = utils::CreateShaderModule(device, R"( in TEST_P()
135 wgpu::ShaderModule otherModule = utils::CreateShaderModule(device, R"( in TEST_P()
235 wgpu::ShaderModule module = utils::CreateShaderModule(device, R"( in TEST_P()
239 wgpu::ShaderModule sameModule = utils::CreateShaderModule(device, R"( in TEST_P()
243 wgpu::ShaderModule otherModule = utils::CreateShaderModule(device, R"( in TEST_P()
272 wgpu::ShaderModule module = utils::CreateShaderModule(device, R"( in TEST_P()
[all …]
DGpuMemorySynchronizationTests.cpp38 wgpu::ShaderModule csModule = utils::CreateShaderModule(device, R"( in CreatePipelineAndBindGroupForCompute()
60 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in CreatePipelineAndBindGroupForRender()
65 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in CreatePipelineAndBindGroupForRender()
245 wgpu::ShaderModule csModule = utils::CreateShaderModule(device, R"( in CreatePipelineAndBindGroupForCompute()
266 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in CreatePipelineAndBindGroupForRender()
271 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in CreatePipelineAndBindGroupForRender()
442 wgpu::ShaderModule csModule = utils::CreateShaderModule(device, R"( in TEST_P()
499 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in TEST_P()
505 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in TEST_P()
564 wgpu::ShaderModule csModule = utils::CreateShaderModule(device, R"( in TEST_P()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DObjectCachingTests.cpp75 dawn::ShaderModule module = utils::CreateShaderModule(device, utils::ShaderStage::Fragment, R"( in TEST_P()
81 dawn::ShaderModule sameModule = in TEST_P()
88 dawn::ShaderModule otherModule = in TEST_P()
102 dawn::ShaderModule module = utils::CreateShaderModule(device, utils::ShaderStage::Compute, R"( in TEST_P()
107 dawn::ShaderModule sameModule = in TEST_P()
113 dawn::ShaderModule otherModule = in TEST_P()
222 dawn::ShaderModule module = utils::CreateShaderModule(device, utils::ShaderStage::Vertex, R"( in TEST_P()
227 dawn::ShaderModule sameModule = in TEST_P()
233 dawn::ShaderModule otherModule = in TEST_P()
264 dawn::ShaderModule module = utils::CreateShaderModule(device, utils::ShaderStage::Fragment, R"( in TEST_P()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DShaderModuleD3D12.cpp27 ShaderModule::ShaderModule(Device* device, const ShaderModuleDescriptor* descriptor) in ShaderModule() function in dawn_native::d3d12::ShaderModule
34 const std::string ShaderModule::GetHLSLSource(PipelineLayout* layout) const { in GetHLSLSource()
DShaderModuleD3D12.h25 class ShaderModule : public ShaderModuleBase {
27 ShaderModule(Device* device, const ShaderModuleDescriptor* descriptor);

123456789