Home
last modified time | relevance | path

Searched refs:DAWN_TRY_CONTEXT (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommandEncoder.cpp343 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 …]
DAdapter.cpp28 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()
DCopyTextureForBrowserHelper.cpp246 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()
DRenderPipeline.cpp188 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 …]
DRenderBundleEncoder.cpp74 DAWN_TRY_CONTEXT(ValidateColorAttachmentFormat(device, descriptor->colorFormats[i]), in ValidateRenderBundleEncoderDescriptor()
79 DAWN_TRY_CONTEXT(ValidateDepthStencilAttachmentFormat( in ValidateRenderBundleEncoderDescriptor()
DDevice.cpp1235 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()
DBindGroup.cpp304 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()
DRenderPassEncoder.cpp325 DAWN_TRY_CONTEXT( in APIBeginOcclusionQuery()
375 DAWN_TRY_CONTEXT( in APIWriteTimestamp()
DExternalTexture.cpp68 DAWN_TRY_CONTEXT( in ValidateExternalTextureDescriptor()
DError.h119 #define DAWN_TRY_CONTEXT(EXPR, ...) \ macro
DLimits.cpp168 DAWN_TRY_CONTEXT(CheckLimit<LimitBetterDirection::Better>::Validate( \ in ValidateLimits()
DBindGroupLayout.cpp171 DAWN_TRY_CONTEXT(ValidateBindGroupLayoutEntry(device, entry, allowInternalBinding), in ValidateBindGroupLayoutDescriptor()
179 DAWN_TRY_CONTEXT(ValidateBindingCounts(bindingCounts), "validating binding counts"); in ValidateBindGroupLayoutDescriptor()
DPipelineLayout.cpp247 DAWN_TRY_CONTEXT(ValidateBindGroupLayoutDescriptor(device, &desc), "validating %s", in CreateDefault()
DQueue.cpp381 DAWN_TRY_CONTEXT( in CopyTextureForBrowserInternal()
DShaderModule.cpp600 DAWN_TRY_CONTEXT(ValidateCompatibilityOfSingleBindingWithLayout( in ValidateCompatibilityWithBindGroupLayout()
1112 DAWN_TRY_CONTEXT(ValidateCompatibilityWithBindGroupLayout( in ValidateCompatibilityWithPipelineLayout()
/third_party/skia/third_party/externals/dawn/docs/
Derrors.md37 // 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