Home
last modified time | relevance | path

Searched refs:chainedDescriptor (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DWindowSurfaceTests.cpp87 std::unique_ptr<wgpu::ChainedStruct> chainedDescriptor = in TEST_F() local
91 descriptor.nextInChain = chainedDescriptor.get(); in TEST_F()
106 wgpu::ChainedStruct chainedDescriptor; in TEST_F() local
107 chainedDescriptor.sType = wgpu::SType::Invalid; // The default but we set it for clarity. in TEST_F()
110 descriptor.nextInChain = &chainedDescriptor; in TEST_F()
117 wgpu::SurfaceDescriptorFromCanvasHTMLSelector chainedDescriptor; in TEST_F() local
118 chainedDescriptor.selector = "#myCanvas"; in TEST_F()
121 descriptor.nextInChain = &chainedDescriptor; in TEST_F()
146 std::unique_ptr<wgpu::ChainedStruct> chainedDescriptor = in TEST_F() local
148 ASSERT_EQ(chainedDescriptor->sType, wgpu::SType::SurfaceDescriptorFromWindowsHWND); in TEST_F()
[all …]
DD3D12ResourceWrappingTests.cpp189 wgpu::ChainedStruct chainedDescriptor; in TEST_P() local
190 chainedDescriptor.sType = wgpu::SType::SurfaceDescriptorFromWindowsSwapChainPanel; in TEST_P()
191 baseDawnDescriptor.nextInChain = &chainedDescriptor; in TEST_P()
DIOSurfaceWrappingTests.cpp145 wgpu::ChainedStruct chainedDescriptor; in TEST_P() local
146 descriptor.nextInChain = &chainedDescriptor; in TEST_P()
/third_party/skia/third_party/externals/dawn/src/utils/
DGLFWUtils.cpp52 std::unique_ptr<wgpu::ChainedStruct> chainedDescriptor = in CreateSurfaceForWindow() local
56 descriptor.nextInChain = chainedDescriptor.get(); in CreateSurfaceForWindow()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DEGLImageWrappingTests.cpp202 wgpu::ChainedStruct chainedDescriptor; in TEST_P() local
203 chainedDescriptor.sType = wgpu::SType::SurfaceDescriptorFromWindowsSwapChainPanel; in TEST_P()
204 descriptor.nextInChain = &chainedDescriptor; in TEST_P()
DVulkanImageWrappingTestsDmaBuf.cpp208 wgpu::ChainedStruct chainedDescriptor; in TEST_P() local
209 chainedDescriptor.sType = wgpu::SType::SurfaceDescriptorFromWindowsSwapChainPanel; in TEST_P()
210 defaultDescriptor.nextInChain = &chainedDescriptor; in TEST_P()
DVulkanImageWrappingTestsOpaqueFD.cpp289 wgpu::ChainedStruct chainedDescriptor; in TEST_P() local
290 chainedDescriptor.sType = wgpu::SType::SurfaceDescriptorFromWindowsSwapChainPanel; in TEST_P()
291 defaultDescriptor.nextInChain = &chainedDescriptor; in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DShaderModule.cpp986 const ChainedStruct* chainedDescriptor = descriptor->nextInChain; in ValidateShaderModuleDescriptor() local
987 DAWN_INVALID_IF(chainedDescriptor == nullptr, in ValidateShaderModuleDescriptor()
991 DAWN_TRY(ValidateSingleSType(chainedDescriptor, wgpu::SType::ShaderModuleSPIRVDescriptor, in ValidateShaderModuleDescriptor()
997 FindInChain(chainedDescriptor, &spirvDesc); in ValidateShaderModuleDescriptor()
999 FindInChain(chainedDescriptor, &wgslDesc); in ValidateShaderModuleDescriptor()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DBindGroupValidationTests.cpp96 wgpu::ChainedStruct chainedDescriptor; in TEST_F() local
97 chainedDescriptor.sType = wgpu::SType::Invalid; in TEST_F()
98 descriptor.nextInChain = &chainedDescriptor; in TEST_F()