Home
last modified time | relevance | path

Searched refs:GetUsage (Results 1 - 25 of 25) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DBindGroup.cpp104 DAWN_INVALID_IF(!(entry.buffer->GetUsage() & requiredUsage), in ValidateBufferBinding()
106 entry.buffer->GetUsage(), entry.buffer, requiredUsage); in ValidateBufferBinding()
146 !(texture->GetUsage() & wgpu::TextureUsage::TextureBinding), in ValidateTextureBinding()
148 texture->GetUsage(), texture); in ValidateTextureBinding()
168 !(texture->GetUsage() & wgpu::TextureUsage::StorageBinding), in ValidateTextureBinding()
170 texture->GetUsage(), texture); in ValidateTextureBinding()
H A DCommandValidation.cpp92 DAWN_INVALID_IF(!(buffer->GetUsage() & wgpu::BufferUsage::CopyDst), in ValidateWriteBuffer()
93 "%s usage (%s) does not include %s.", buffer, buffer->GetUsage(), in ValidateWriteBuffer()
443 DAWN_INVALID_IF(!(texture->GetUsage() & usage), "%s usage (%s) doesn't include %s.", in ValidateCanUseAs()
444 texture, texture->GetUsage(), usage); in ValidateCanUseAs()
460 DAWN_INVALID_IF(!(buffer->GetUsage() & usage), "%s usage (%s) doesn't include %s.", buffer, in ValidateCanUseAs()
461 buffer->GetUsage(), usage); in ValidateCanUseAs()
H A DExternalTexture.cpp34 (textureView->GetTexture()->GetUsage() & wgpu::TextureUsage::TextureBinding) == 0, in ValidateExternalTexturePlane()
36 textureView, textureView->GetTexture()->GetUsage(), wgpu::TextureUsage::TextureBinding); in ValidateExternalTexturePlane()
H A DSwapChain.cpp105 desc.usage = swapChain->GetUsage(); in GetSwapChainBaseTextureDescriptor()
331 ASSERT(IsSubset(mUsage, view->GetTexture()->GetUsage())); in APIGetCurrentTextureView()
369 wgpu::TextureUsage NewSwapChainBase::GetUsage() const { in GetUsage() function in dawn_native::NewSwapChainBase
H A DBuffer.h59 wgpu::BufferUsage GetUsage() const;
H A DTexture.h68 // |GetUsage| returns the usage with which the texture was created using the base WebGPU
71 wgpu::TextureUsage GetUsage() const;
H A DSwapChain.h128 wgpu::TextureUsage GetUsage() const;
H A DQueue.cpp468 DAWN_INVALID_IF(!(destination->texture->GetUsage() & wgpu::TextureUsage::CopyDst), in ValidateWriteTexture()
469 "Usage (%s) of %s does not include %s.", destination->texture->GetUsage(), in ValidateWriteTexture()
H A DComputePassEncoder.cpp271 ASSERT(indirectBuffer->GetUsage() & kInternalStorageBuffer); in TransformIndirectDispatchBuffer()
H A DBuffer.cpp216 wgpu::BufferUsage BufferBase::GetUsage() const { in GetUsage() function in BufferBase
H A DTexture.cpp551 wgpu::TextureUsage TextureBase::GetUsage() const { in GetUsage() function in dawn_native::TextureBase
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DBufferD3D12.cpp112 size_t alignment = D3D12BufferSizeAlignment(GetUsage()); in Initialize()
132 resourceDescriptor.Flags = D3D12ResourceFlags(GetUsage() | wgpu::BufferUsage::CopyDst); in Initialize()
134 auto heapType = D3D12HeapType(GetUsage()); in Initialize()
314 return (GetUsage() & wgpu::BufferUsage::MapWrite) != 0; in IsCPUWritableAtCreation()
347 ASSERT((GetUsage() & wgpu::BufferUsage::MapWrite) != 0); in MapAtCreationImpl()
469 if (D3D12HeapType(GetUsage()) == D3D12_HEAP_TYPE_UPLOAD) { in ClearBuffer()
H A DSwapChainD3D12.cpp161 mConfig.usage = ToDXGIUsage(GetUsage()); in Initialize()
/third_party/skia/src/sksl/
H A DSkSLAnalysis.h87 std::unique_ptr<ProgramUsage> GetUsage(const Program& program);
88 std::unique_ptr<ProgramUsage> GetUsage(const LoadedModule& module);
H A DSkSLCompiler.cpp518 std::unique_ptr<ProgramUsage> usage = Analysis::GetUsage(module); in optimize()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DBufferVk.cpp145 if (GetUsage() & (wgpu::BufferUsage::Vertex | wgpu::BufferUsage::Index)) { in Initialize()
187 createInfo.usage = VulkanBufferUsage(GetUsage() | wgpu::BufferUsage::CopyDst); in Initialize()
202 if (GetUsage() & kMappableBufferUsages) { in Initialize()
H A DSwapChainVk.cpp376 VulkanImageUsage(GetUsage(), GetDevice()->GetValidInternalFormat(GetFormat())); in ChooseConfig()
382 config.wgpuUsage = GetUsage(); in ChooseConfig()
H A DTextureVk.cpp1296 if ((GetTexture()->GetUsage() & in Initialize()
/third_party/skia/src/sksl/analysis/
H A DSkSLProgramUsage.cpp92 std::unique_ptr<ProgramUsage> Analysis::GetUsage(const Program& program) { in GetUsage() function in SkSL::Analysis
99 std::unique_ptr<ProgramUsage> Analysis::GetUsage(const LoadedModule& module) { in GetUsage() function in SkSL::Analysis
/third_party/lzma/CPP/7zip/UI/Common/
H A DBench.h34 UInt64 GetUsage() const;
H A DBench.cpp704 UInt64 CBenchInfo::GetUsage() const
2802 Usage = info.GetUsage();
3297 UsageRes = info.GetUsage();
3498 usage = info.GetUsage();
4428 const UInt64 usage = bi.GetUsage();
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DExternalImageSiblingImpl11.cpp46 resource->GetUsage(&resourceUsage); in initialize()
/third_party/skia/src/sksl/ir/
H A DSkSLProgram.h94 fUsage = Analysis::GetUsage(*this); in Program()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DTextureGL.cpp105 (texture->GetUsage() & wgpu::TextureUsage::TextureBinding) != 0 && in RequiresCreatingNewTextureView()
543 if (!UsageNeedsTextureView(texture->GetUsage())) { in TextureView()
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/
H A DDeviceNull.cpp301 return (GetUsage() & (wgpu::BufferUsage::MapRead | wgpu::BufferUsage::MapWrite)) != 0; in IsCPUWritableAtCreation()

Completed in 22 milliseconds