Home
last modified time | relevance | path

Searched refs:ValidateCanUseAs (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommandEncoder.cpp170 DAWN_TRY(ValidateCanUseAs(colorAttachment.resolveTarget->GetTexture(), in ValidateResolveTarget()
223 ValidateCanUseAs(attachment->GetTexture(), wgpu::TextureUsage::RenderAttachment)); in ValidateRenderPassColorAttachment()
263 ValidateCanUseAs(attachment->GetTexture(), wgpu::TextureUsage::RenderAttachment)); in ValidateRenderPassDepthStencilAttachment()
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()
706 ValidateCanUseAs(destination->texture, wgpu::TextureUsage::CopyDst), in APICopyBufferToTexture()
760 DAWN_TRY_CONTEXT(ValidateCanUseAs(source->texture, wgpu::TextureUsage::CopySrc), in APICopyTextureToBuffer()
767 ValidateCanUseAs(destination->buffer, wgpu::BufferUsage::CopyDst), in APICopyTextureToBuffer()
854 DAWN_TRY(ValidateCanUseAs(source->texture, wgpu::TextureUsage::CopySrc)); in APICopyTextureToTextureHelper()
[all …]
DCopyTextureForBrowserHelper.cpp269 DAWN_TRY(ValidateCanUseAs(source->texture, wgpu::TextureUsage::CopySrc)); in ValidateCopyTextureForBrowser()
270 DAWN_TRY(ValidateCanUseAs(source->texture, wgpu::TextureUsage::TextureBinding)); in ValidateCopyTextureForBrowser()
272 DAWN_TRY(ValidateCanUseAs(destination->texture, wgpu::TextureUsage::CopyDst)); in ValidateCopyTextureForBrowser()
273 DAWN_TRY(ValidateCanUseAs(destination->texture, wgpu::TextureUsage::RenderAttachment)); in ValidateCopyTextureForBrowser()
DCommandValidation.h76 MaybeError ValidateCanUseAs(const TextureBase* texture, wgpu::TextureUsage usage);
80 MaybeError ValidateCanUseAs(const BufferBase* buffer, wgpu::BufferUsage usage);
DRenderEncoderBase.cpp160 DAWN_TRY(ValidateCanUseAs(indirectBuffer, wgpu::BufferUsage::Indirect)); in APIDrawIndirect()
191 DAWN_TRY(ValidateCanUseAs(indirectBuffer, wgpu::BufferUsage::Indirect)); in APIDrawIndexedIndirect()
276 DAWN_TRY(ValidateCanUseAs(buffer, wgpu::BufferUsage::Index)); in APISetIndexBuffer()
336 DAWN_TRY(ValidateCanUseAs(buffer, wgpu::BufferUsage::Vertex)); in APISetVertexBuffer()
DCommandValidation.cpp441 MaybeError ValidateCanUseAs(const TextureBase* texture, wgpu::TextureUsage usage) { in ValidateCanUseAs() function
458 MaybeError ValidateCanUseAs(const BufferBase* buffer, wgpu::BufferUsage usage) { in ValidateCanUseAs() function
DComputePassEncoder.cpp300 DAWN_TRY(ValidateCanUseAs(indirectBuffer, wgpu::BufferUsage::Indirect)); in APIDispatchIndirect()