/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | CommandEncoder.cpp | 343 DAWN_TRY_CONTEXT( in ValidateRenderPassDescriptor() 350 DAWN_TRY_CONTEXT( in ValidateRenderPassDescriptor() 663 DAWN_TRY_CONTEXT(ValidateCopySizeFitsInBuffer(source, sourceOffset, size), in APICopyBufferToBuffer() 665 DAWN_TRY_CONTEXT( in APICopyBufferToBuffer() 670 DAWN_TRY_CONTEXT(ValidateCanUseAs(source, wgpu::BufferUsage::CopySrc), in APICopyBufferToBuffer() 672 DAWN_TRY_CONTEXT(ValidateCanUseAs(destination, wgpu::BufferUsage::CopyDst), in APICopyBufferToBuffer() 701 DAWN_TRY_CONTEXT(ValidateCanUseAs(source->buffer, wgpu::BufferUsage::CopySrc), in APICopyBufferToTexture() 705 DAWN_TRY_CONTEXT( in APICopyBufferToTexture() 760 DAWN_TRY_CONTEXT(ValidateCanUseAs(source->texture, wgpu::TextureUsage::CopySrc), in APICopyTextureToBuffer() 766 DAWN_TRY_CONTEXT( in APICopyTextureToBuffer() [all …]
|
D | Adapter.cpp | 28 DAWN_TRY_CONTEXT(InitializeImpl(), "initializing adapter (backend=%s)", mBackend); in Initialize() 29 DAWN_TRY_CONTEXT( in Initialize() 35 DAWN_TRY_CONTEXT( in Initialize() 179 DAWN_TRY_CONTEXT( in CreateDeviceInternal()
|
D | CopyTextureForBrowserHelper.cpp | 246 DAWN_TRY_CONTEXT(ValidateImageCopyTexture(device, *source, *copySize), in ValidateCopyTextureForBrowser() 248 DAWN_TRY_CONTEXT(ValidateImageCopyTexture(device, *destination, *copySize), in ValidateCopyTextureForBrowser() 251 DAWN_TRY_CONTEXT(ValidateTextureCopyRange(device, *source, *copySize), in ValidateCopyTextureForBrowser() 253 DAWN_TRY_CONTEXT(ValidateTextureCopyRange(device, *destination, *copySize), in ValidateCopyTextureForBrowser()
|
D | RenderPipeline.cpp | 188 DAWN_TRY_CONTEXT(ValidateVertexAttribute(device, &buffer->attributes[i], metadata, in ValidateVertexBufferLayout() 206 DAWN_TRY_CONTEXT( in ValidateVertexState() 218 DAWN_TRY_CONTEXT(ValidateVertexBufferLayout(device, &descriptor->buffers[i], in ValidateVertexState() 344 DAWN_TRY_CONTEXT(ValidateBlendState(device, descriptor->blend), in ValidateColorTargetState() 403 DAWN_TRY_CONTEXT( in ValidateFragmentState() 418 DAWN_TRY_CONTEXT( in ValidateFragmentState() 503 DAWN_TRY_CONTEXT(ValidateVertexState(device, &descriptor->vertex, descriptor->layout), in ValidateRenderPipelineDescriptor() 506 DAWN_TRY_CONTEXT(ValidatePrimitiveState(device, &descriptor->primitive), in ValidateRenderPipelineDescriptor() 510 DAWN_TRY_CONTEXT(ValidateDepthStencilState(device, descriptor->depthStencil), in ValidateRenderPipelineDescriptor() 514 DAWN_TRY_CONTEXT(ValidateMultisampleState(&descriptor->multisample), in ValidateRenderPipelineDescriptor() [all …]
|
D | RenderBundleEncoder.cpp | 74 DAWN_TRY_CONTEXT(ValidateColorAttachmentFormat(device, descriptor->colorFormats[i]), in ValidateRenderBundleEncoderDescriptor() 79 DAWN_TRY_CONTEXT(ValidateDepthStencilAttachmentFormat( in ValidateRenderBundleEncoderDescriptor()
|
D | Device.cpp | 1235 DAWN_TRY_CONTEXT(ValidateBindGroupDescriptor(this, descriptor), in CreateBindGroup() 1246 DAWN_TRY_CONTEXT( in CreateBindGroupLayout() 1256 DAWN_TRY_CONTEXT(ValidateBufferDescriptor(this, descriptor), "validating %s", in CreateBuffer() 1388 DAWN_TRY_CONTEXT(ValidateExternalTextureDescriptor(this, descriptor), "validating %s", in CreateExternalTexture() 1399 DAWN_TRY_CONTEXT(ValidateQuerySetDescriptor(this, descriptor), "validating %s", in CreateQuerySet() 1481 DAWN_TRY_CONTEXT(ValidateSamplerDescriptor(this, descriptor), "validating %s", in CreateSampler() 1498 DAWN_TRY_CONTEXT( in CreateShaderModule() 1511 DAWN_TRY_CONTEXT(ValidateSwapChainDescriptor(this, surface, descriptor), in CreateSwapChain() 1541 DAWN_TRY_CONTEXT(ValidateTextureDescriptor(this, descriptor), "validating %s.", in CreateTexture() 1554 DAWN_TRY_CONTEXT(ValidateTextureViewDescriptor(this, texture, &desc), in CreateTextureView()
|
D | BindGroup.cpp | 304 DAWN_TRY_CONTEXT(ValidateBufferBinding(device, entry, bindingInfo), in ValidateBindGroupDescriptor() 309 DAWN_TRY_CONTEXT(ValidateTextureBinding(device, entry, bindingInfo), in ValidateBindGroupDescriptor() 313 DAWN_TRY_CONTEXT(ValidateSamplerBinding(device, entry, bindingInfo), in ValidateBindGroupDescriptor() 317 DAWN_TRY_CONTEXT(ValidateExternalTextureBinding(device, entry, bindingInfo), in ValidateBindGroupDescriptor()
|
D | RenderPassEncoder.cpp | 325 DAWN_TRY_CONTEXT( in APIBeginOcclusionQuery() 375 DAWN_TRY_CONTEXT( in APIWriteTimestamp()
|
D | ExternalTexture.cpp | 68 DAWN_TRY_CONTEXT( in ValidateExternalTextureDescriptor()
|
D | Error.h | 119 #define DAWN_TRY_CONTEXT(EXPR, ...) \ macro
|
D | Limits.cpp | 168 DAWN_TRY_CONTEXT(CheckLimit<LimitBetterDirection::Better>::Validate( \ in ValidateLimits()
|
D | BindGroupLayout.cpp | 171 DAWN_TRY_CONTEXT(ValidateBindGroupLayoutEntry(device, entry, allowInternalBinding), in ValidateBindGroupLayoutDescriptor() 179 DAWN_TRY_CONTEXT(ValidateBindingCounts(bindingCounts), "validating binding counts"); in ValidateBindGroupLayoutDescriptor()
|
D | PipelineLayout.cpp | 247 DAWN_TRY_CONTEXT(ValidateBindGroupLayoutDescriptor(device, &desc), "validating %s", in CreateDefault()
|
D | Queue.cpp | 381 DAWN_TRY_CONTEXT( in CopyTextureForBrowserInternal()
|
D | ShaderModule.cpp | 600 DAWN_TRY_CONTEXT(ValidateCompatibilityOfSingleBindingWithLayout( in ValidateCompatibilityWithBindGroupLayout() 1112 DAWN_TRY_CONTEXT(ValidateCompatibilityWithBindGroupLayout( in ValidateCompatibilityWithPipelineLayout()
|
/third_party/skia/third_party/externals/dawn/docs/ |
D | errors.md | 37 // TODO: Cover `MaybeError`, `ResultOrError<T>`, `DAWN_TRY(_ASSIGN)`, `DAWN_TRY_CONTEXT`, etc... 76 When calling functions that perform validation consider if calling `DAWN_TRY_CONTEXT()` rather than
|