Home
last modified time | relevance | path

Searched refs:nextInChain (Results 1 – 25 of 67) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DSurface.cpp63 DAWN_INVALID_IF(descriptor->nextInChain == nullptr, in ValidateSurfaceDescriptor()
67 DAWN_TRY(ValidateSingleSType(descriptor->nextInChain, in ValidateSurfaceDescriptor()
76 FindInChain(descriptor->nextInChain, &metalDesc); in ValidateSurfaceDescriptor()
88 FindInChain(descriptor->nextInChain, &hwndDesc); in ValidateSurfaceDescriptor()
95 FindInChain(descriptor->nextInChain, &coreWindowDesc); in ValidateSurfaceDescriptor()
106 FindInChain(descriptor->nextInChain, &swapChainPanelDesc); in ValidateSurfaceDescriptor()
120 FindInChain(descriptor->nextInChain, &xDesc); in ValidateSurfaceDescriptor()
139 descriptor->nextInChain->sType); in ValidateSurfaceDescriptor()
144 ASSERT(descriptor->nextInChain != nullptr); in Surface()
150 FindInChain(descriptor->nextInChain, &metalDesc); in Surface()
[all …]
DBindGroup.cpp44 DAWN_INVALID_IF(entry.nextInChain != nullptr, "nextInChain must be nullptr."); in ValidateBufferBinding()
127 DAWN_INVALID_IF(entry.nextInChain != nullptr, "nextInChain must be nullptr."); in ValidateTextureBinding()
207 DAWN_INVALID_IF(entry.nextInChain != nullptr, "nextInChain must be nullptr."); in ValidateSamplerBinding()
247 FindInChain(entry.nextInChain, &externalTextureBindingEntry); in ValidateExternalTextureBinding()
256 DAWN_TRY(ValidateSingleSType(externalTextureBindingEntry->nextInChain, in ValidateExternalTextureBinding()
268 DAWN_INVALID_IF(descriptor->nextInChain != nullptr, "nextInChain must be nullptr."); in ValidateBindGroupDescriptor()
381 FindInChain(entry.nextInChain, &externalTextureBindingEntry); in BindGroupBase()
DRenderPipeline.cpp199 DAWN_INVALID_IF(descriptor->nextInChain != nullptr, "nextInChain must be nullptr."); in ValidateVertexState()
239 DAWN_TRY(ValidateSingleSType(descriptor->nextInChain, in ValidatePrimitiveState()
242 FindInChain(descriptor->nextInChain, &clampInfo); in ValidatePrimitiveState()
266 if (descriptor->nextInChain != nullptr) { in ValidateDepthStencilState()
308 DAWN_INVALID_IF(descriptor->nextInChain != nullptr, "nextInChain must be nullptr."); in ValidateMultisampleState()
341 DAWN_INVALID_IF(descriptor->nextInChain != nullptr, "nextInChain must be nullptr."); in ValidateColorTargetState()
401 DAWN_INVALID_IF(descriptor->nextInChain != nullptr, "nextInChain must be nullptr."); in ValidateFragmentState()
497 DAWN_INVALID_IF(descriptor->nextInChain != nullptr, "nextInChain must be nullptr."); in ValidateRenderPipelineDescriptor()
622 FindInChain(mPrimitive.nextInChain, &clampInfo); in RenderPipelineBase()
DAdapter.cpp128 if (limits->nextInChain != nullptr) { in GetLimits()
184 DAWN_INVALID_IF(descriptor->requiredLimits->nextInChain != nullptr, in CreateDeviceInternal()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireExtensionTests.cpp43 renderPipelineDesc.primitive.nextInChain = &clientExt.chain; in TEST_F()
50 serverDesc->primitive.nextInChain); in TEST_F()
81 renderPipelineDesc.primitive.nextInChain = &clientExt1.chain; in TEST_F()
88 serverDesc->primitive.nextInChain); in TEST_F()
103 renderPipelineDesc.primitive.nextInChain = &clientExt2.chain; in TEST_F()
112 serverDesc->primitive.nextInChain); in TEST_F()
142 renderPipelineDesc.primitive.nextInChain = &clientExt.chain; in TEST_F()
148 EXPECT_EQ(serverDesc->primitive.nextInChain->sType, WGPUSType_Invalid); in TEST_F()
149 EXPECT_EQ(serverDesc->primitive.nextInChain->next, nullptr); in TEST_F()
170 renderPipelineDesc.primitive.nextInChain = &clientExt.chain; in TEST_F()
[all …]
DWireShaderModuleTests.cpp93 compilationInfo.nextInChain = nullptr; in TEST_F()
113 infoMessage->nextInChain == message.nextInChain && in TEST_F()
133 compilationInfo.nextInChain = nullptr; in TEST_F()
193 compilationInfo.nextInChain = nullptr; in TEST_F()
220 compilationInfo.nextInChain = nullptr; in TEST_F()
DWireOptionalTests.cpp43 entry.nextInChain = nullptr; in TEST_F()
55 return desc->nextInChain == nullptr && desc->entryCount == 1 && in TEST_F()
147 desc->depthStencil->nextInChain == nullptr && in TEST_F()
DWireArgumentTests.cpp254 return desc->nextInChain == nullptr && in TEST_F()
289 return desc->nextInChain == nullptr && in TEST_F()
343 return desc->nextInChain == nullptr && desc->entryCount == 3; in TEST_F()
362 return desc->nextInChain == nullptr && desc->bindGroupLayoutCount == 1 && in TEST_F()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DWindowSurfaceTests.cpp91 descriptor.nextInChain = chainedDescriptor.get(); in TEST_F()
99 descriptor.nextInChain = nullptr; // That's the default value but we set it for clarity. in TEST_F()
110 descriptor.nextInChain = &chainedDescriptor; in TEST_F()
121 descriptor.nextInChain = &chainedDescriptor; in TEST_F()
135 descriptor.nextInChain = chainedDescriptor1.get(); in TEST_F()
136 chainedDescriptor1->nextInChain = chainedDescriptor2.get(); in TEST_F()
158 descriptor.nextInChain = &chainedDescriptor; in TEST_F()
171 descriptor.nextInChain = &chainedDescriptor; in TEST_F()
198 descriptor.nextInChain = &chainedDescriptor; in TEST_F()
211 descriptor.nextInChain = &chainedDescriptor; in TEST_F()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DChainUtilsTests.cpp32 chain1.nextInChain = &chain2; in TEST()
46 chain1.nextInChain = &chain2; in TEST()
58 chain1.nextInChain = &chain2; in TEST()
59 chain2.nextInChain = &chain3; in TEST()
71 chain1.nextInChain = &chain2; in TEST()
72 chain2.nextInChain = &chain3; in TEST()
88 chain1.nextInChain = &chain2; in TEST()
89 chain2.nextInChain = &chain3; in TEST()
101 chain1.nextInChain = &chain2; in TEST()
138 chain1.nextInChain = &chain2; in TEST()
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_native/
Dwgpu_structs.cpp30 static_assert(offsetof(ChainedStruct, nextInChain) == offsetof(WGPUChainedStruct, next),
43 static_assert(offsetof({{CppType}}, nextInChain) == offsetof({{CType}}, nextInChain),
54 (nextInChain == rhs.nextInChain) &&
DChainUtils.cpp24 for (; chain; chain = chain->nextInChain) {
37 for (; chain; chain = chain->nextInChain) {
DChainUtils.h59 DAWN_INVALID_IF(chain->nextInChain != nullptr,
71 DAWN_INVALID_IF(chain->nextInChain != nullptr,
Dwgpu_structs.h38 ChainedStruct const * nextInChain = nullptr;
52 ChainedStruct const * nextInChain = nullptr;
/third_party/skia/src/gpu/ops/
DGrOp.cpp54 SkASSERT(op == this || (op->prevInChain() && op->prevInChain()->nextInChain() == op)); in validateChain()
56 if (op->nextInChain()) { in validateChain()
57 SkASSERT(op->nextInChain()->prevInChain() == op); in validateChain()
62 op = op->nextInChain(); in validateChain()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DD3D12Backend.cpp64 ASSERT(!descriptor->nextInChain || in ExternalImageDXGI()
65 descriptor->nextInChain->sType == WGPUSType_DawnTextureInternalUsageDescriptor); in ExternalImageDXGI()
66 if (descriptor->nextInChain) { in ExternalImageDXGI()
68 descriptor->nextInChain) in ExternalImageDXGI()
97 textureDescriptor.nextInChain = &internalDesc; in ProduceTexture()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DInternalUsageValidationTests.cpp32 textureDesc.nextInChain = &internalDesc; in TEST_F()
62 textureDesc.nextInChain = &internalDesc; in TEST_F()
86 textureDesc.nextInChain = &internalDesc; in TEST_F()
104 textureDesc.nextInChain = &internalDesc; in TEST_F()
133 textureDesc.nextInChain = &internalDesc; in TEST_F()
/third_party/skia/third_party/externals/dawn/generator/templates/
Dwebgpu_cpp.cpp60 static_assert(offsetof(ChainedStruct, nextInChain) == offsetof(WGPUChainedStruct, next),
74 static_assert(offsetof({{CppType}}, nextInChain) == offsetof({{CType}}, nextInChain),
Dapi_cpp.h202 ChainedStruct const * nextInChain = nullptr;
207 ChainedStruct * nextInChain = nullptr;
223 ChainedStruct{{Out}} {{const}} * nextInChain = nullptr;
/third_party/skia/third_party/externals/dawn/src/utils/
DWGPUHelpers.cpp49 descriptor.nextInChain = &spirvDesc; in CreateShaderModuleFromASM()
69 descriptor.nextInChain = &wgslDesc; in CreateShaderModule()
309 nextInChain = bindingLayout; in BindingLayoutEntryInitializationHelper()
351 result.nextInChain = &externalTextureBindingEntry; in GetAsBinding()
/third_party/skia/experimental/webgpu-bazel/src/
Dbindings.cpp30 wgpu::ShaderModuleDescriptor desc = {.nextInChain = &wDesc}; in createShaderModule()
62 surface_desc.nextInChain = &surfaceSelector; in getSwapChainForCanvas()
/third_party/skia/third_party/externals/dawn/generator/templates/dawn_wire/
DWireCmd.cpp147 if (record.nextInChain != nullptr) {
148 result += GetChainedStructExtraRequiredSize(record.nextInChain);
217 if (record.nextInChain != nullptr) {
219 WIRE_TRY(SerializeChainedStruct(record.nextInChain, buffer, provider));
311 record->nextInChain = nullptr;
313 … WIRE_TRY(DeserializeChainedStruct(&record->nextInChain, deserializeBuffer, allocator, resolver));
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DEGLImageWrappingTests.cpp189 descriptor.nextInChain = &internalDesc; in TEST_P()
204 descriptor.nextInChain = &chainedDescriptor; in TEST_P()
316 textureDescriptor.nextInChain = &internalDesc; in DoClearTest()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/mocks/
DShaderModuleMock.cpp32 desc.nextInChain = &wgslDesc; in Create()
/third_party/skia/third_party/externals/dawn/docs/features/
Ddawn_internal_usages.md15 desc.nextInChain = &internalDesc;

123