Home
last modified time | relevance | path

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

1234567

/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/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/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()
DShaderModule.h25 class ShaderModule final : public ObjectBase {
28 ~ShaderModule();
/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/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 __anon964004b50302()
128 …std::function<vk::ShaderModule(ThisType &tester)> createFragmentShader = [](auto &) { return vk::S… in __anon964004b50402()
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/vk-gl-cts/external/amber/src/src/dawn/
Dpipeline_info.h46 ::dawn::ShaderModule vert, in RenderPipelineInfo()
47 ::dawn::ShaderModule frag) in RenderPipelineInfo()
52 ::dawn::ShaderModule vertex_shader;
53 ::dawn::ShaderModule fragment_shader;
80 ::dawn::ShaderModule comp) in ComputePipelineInfo()
84 ::dawn::ShaderModule compute_shader;
/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/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 …]
DD3D12CachingTests.cpp103 wgpu::ShaderModule module = utils::CreateShaderModule(device, R"( in TEST_P()
144 wgpu::ShaderModule module = utils::CreateShaderModule(device, R"( in TEST_P()
183 wgpu::ShaderModule newModule = utils::CreateShaderModule(device, R"( in TEST_P()
210 wgpu::ShaderModule module = utils::CreateShaderModule(device, R"( in TEST_P()
DTextureSubresourceTests.cpp52 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in DrawTriangle()
63 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in DrawTriangle()
89 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in SampleAndDraw()
103 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in SampleAndDraw()
DCreatePipelineAsyncTests.cpp241 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in TEST_P()
245 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in TEST_P()
265 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in TEST_P()
269 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in TEST_P()
330 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in TEST_P()
334 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in TEST_P()
392 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in TEST_P()
396 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in TEST_P()
450 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in TEST_P()
454 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in TEST_P()
[all …]
/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/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryAddressBindingTests.cpp626 struct ShaderModule struct
1007 Dependency<ShaderModule> vertexShader;
1008 Dependency<ShaderModule> fragmentShader;
1014 : vertexShader (env, ShaderModule::Parameters(VK_SHADER_STAGE_VERTEX_BIT, "vert")) in Resources()
1015 , fragmentShader (env, ShaderModule::Parameters(VK_SHADER_STAGE_FRAGMENT_BIT, "frag")) in Resources()
1025 ShaderModule::initPrograms(dst, ShaderModule::Parameters(VK_SHADER_STAGE_VERTEX_BIT, "vert")); in initPrograms()
1026 ShaderModule::initPrograms(dst, ShaderModule::Parameters(VK_SHADER_STAGE_FRAGMENT_BIT, "frag")); in initPrograms()
1222 Dependency<ShaderModule> shaderModule;
1239 : shaderModule (env, ShaderModule::Parameters(VK_SHADER_STAGE_COMPUTE_BIT, "comp")) in Resources()
1247 ShaderModule::initPrograms(dst, ShaderModule::Parameters(VK_SHADER_STAGE_COMPUTE_BIT, "comp")); in initPrograms()
[all …]

1234567