/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | BindGroup.cpp | 38 const BindingInfo& bindingInfo) { in ValidateBufferBinding() argument 48 ASSERT(bindingInfo.bindingType == BindingInfoType::Buffer); in ValidateBufferBinding() 53 switch (bindingInfo.buffer.type) { in ValidateBufferBinding() 102 entry.offset, bindingInfo.buffer.type, requiredBindingAlignment); in ValidateBufferBinding() 108 DAWN_INVALID_IF(bindingSize < bindingInfo.buffer.minBindingSize, in ValidateBufferBinding() 110 bindingSize, bindingInfo.buffer.minBindingSize); in ValidateBufferBinding() 121 const BindingInfo& bindingInfo) { in ValidateTextureBinding() argument 138 switch (bindingInfo.bindingType) { in ValidateTextureBinding() 143 SampleTypeToSampleTypeBit(bindingInfo.texture.sampleType); in ValidateTextureBinding() 151 texture->IsMultisampledTexture() != bindingInfo.texture.multisampled, in ValidateTextureBinding() [all …]
|
D | BindGroupLayout.cpp | 224 BindingInfo bindingInfo; in CreateBindGroupLayoutInfo() local 225 bindingInfo.binding = BindingNumber(binding.binding); in CreateBindGroupLayoutInfo() 226 bindingInfo.visibility = binding.visibility; in CreateBindGroupLayoutInfo() 229 bindingInfo.bindingType = BindingInfoType::Buffer; in CreateBindGroupLayoutInfo() 230 bindingInfo.buffer = binding.buffer; in CreateBindGroupLayoutInfo() 232 bindingInfo.bindingType = BindingInfoType::Sampler; in CreateBindGroupLayoutInfo() 233 bindingInfo.sampler = binding.sampler; in CreateBindGroupLayoutInfo() 235 bindingInfo.bindingType = BindingInfoType::Texture; in CreateBindGroupLayoutInfo() 236 bindingInfo.texture = binding.texture; in CreateBindGroupLayoutInfo() 239 bindingInfo.texture.viewDimension = wgpu::TextureViewDimension::e2D; in CreateBindGroupLayoutInfo() [all …]
|
D | PassResourceUsageTracker.cpp | 85 const BindingInfo& bindingInfo = group->GetLayout()->GetBindingInfo(bindingIndex); in AddBindGroup() local 87 switch (bindingInfo.bindingType) { in AddBindGroup() 90 switch (bindingInfo.buffer.type) { in AddBindGroup() 117 switch (bindingInfo.storageTexture.access) { in AddBindGroup() 188 const BindingInfo& bindingInfo = group->GetLayout()->GetBindingInfo(index); in AddResourcesReferencedByBindGroup() local 190 switch (bindingInfo.bindingType) { in AddResourcesReferencedByBindGroup()
|
D | ProgrammableEncoder.cpp | 134 const BindingInfo& bindingInfo = layout->GetBindingInfo(i); in ValidateSetBindGroup() local 138 ASSERT(bindingInfo.bindingType == BindingInfoType::Buffer); in ValidateSetBindGroup() 139 ASSERT(bindingInfo.buffer.hasDynamicOffset); in ValidateSetBindGroup() 142 switch (bindingInfo.buffer.type) { in ValidateSetBindGroup()
|
D | ShaderModule.cpp | 452 const BindingInfo& bindingInfo = layout->GetBindingInfo(bindingIndex); in GetBindGroupMinBufferSizes() local 453 if (bindingInfo.buffer.minBindingSize != 0) { in GetBindGroupMinBufferSizes() 459 const auto& shaderInfo = shaderBindings.find(bindingInfo.binding); in GetBindGroupMinBufferSizes()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | BindGroupLayoutD3D12.cpp | 26 const BindingInfo& bindingInfo) { in WGPUBindingInfoToDescriptorRangeType() argument 27 switch (bindingInfo.bindingType) { in WGPUBindingInfoToDescriptorRangeType() 29 switch (bindingInfo.buffer.type) { in WGPUBindingInfoToDescriptorRangeType() 49 switch (bindingInfo.storageTexture.access) { in WGPUBindingInfoToDescriptorRangeType() 77 const BindingInfo& bindingInfo = GetBindingInfo(bindingIndex); in BindGroupLayout() local 80 WGPUBindingInfoToDescriptorRangeType(bindingInfo); in BindGroupLayout() 84 mShaderRegisters[bindingIndex] = uint32_t(bindingInfo.binding); in BindGroupLayout() 92 ASSERT(!bindingInfo.buffer.hasDynamicOffset); in BindGroupLayout()
|
D | BindGroupD3D12.cpp | 53 const BindingInfo& bindingInfo = bgl->GetBindingInfo(bindingIndex); in BindGroup() local 57 switch (bindingInfo.bindingType) { in BindGroup() 69 switch (bindingInfo.buffer.type) { in BindGroup() 162 switch (bindingInfo.storageTexture.access) { in BindGroup()
|
D | PipelineLayoutD3D12.cpp | 140 const BindingInfo& bindingInfo = in Initialize() local 143 if (bindingInfo.visibility == wgpu::ShaderStage::None) { in Initialize() 162 rootParameter.ParameterType = RootParameterType(bindingInfo.buffer.type); in Initialize() 165 rootParameter.ShaderVisibility = ShaderVisibilityType(bindingInfo.visibility); in Initialize()
|
D | SamplerHeapCacheD3D12.cpp | 105 const BindingInfo& bindingInfo = bgl->GetBindingInfo(bindingIndex); in GetOrCreate() local 106 if (bindingInfo.bindingType == BindingInfoType::Sampler) { in GetOrCreate()
|
D | CommandBufferD3D12.cpp | 426 const BindingInfo& bindingInfo = in ApplyBindGroup() local 428 if (bindingInfo.visibility == wgpu::ShaderStage::None) { in ApplyBindGroup() 445 ASSERT(bindingInfo.bindingType == BindingInfoType::Buffer); in ApplyBindGroup() 446 switch (bindingInfo.buffer.type) { in ApplyBindGroup()
|
D | ShaderModuleD3D12.cpp | 251 auto const& bindingInfo = it.second; in Create() local 266 (bindingInfo.buffer.type == wgpu::BufferBindingType::ReadOnlyStorage && in Create()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | BindGroupLayoutVk.cpp | 50 VkDescriptorType VulkanDescriptorType(const BindingInfo& bindingInfo) { in VulkanDescriptorType() argument 51 switch (bindingInfo.bindingType) { in VulkanDescriptorType() 53 switch (bindingInfo.buffer.type) { in VulkanDescriptorType() 55 if (bindingInfo.buffer.hasDynamicOffset) { in VulkanDescriptorType() 62 if (bindingInfo.buffer.hasDynamicOffset) { in VulkanDescriptorType() 100 const BindingInfo& bindingInfo = GetBindingInfo(bindingIndex); in Initialize() local 106 vkBinding.descriptorType = VulkanDescriptorType(bindingInfo); in Initialize() 108 vkBinding.stageFlags = VulkanShaderStageFlags(bindingInfo.visibility); in Initialize()
|
D | BindGroupVk.cpp | 55 const BindingInfo& bindingInfo = GetLayout()->GetBindingInfo(bindingIndex); in BindGroup() local 64 write.descriptorType = VulkanDescriptorType(bindingInfo); in BindGroup() 66 switch (bindingInfo.bindingType) { in BindGroup()
|
D | BindGroupLayoutVk.h | 32 VkDescriptorType VulkanDescriptorType(const BindingInfo& bindingInfo);
|
D | RenderPipelineVk.cpp | 567 const VertexBufferInfo& bindingInfo = GetVertexBuffer(slot); in ComputeVertexInputDesc() local 571 bindingDesc->stride = bindingInfo.arrayStride; in ComputeVertexInputDesc() 572 bindingDesc->inputRate = VulkanInputRate(bindingInfo.stepMode); in ComputeVertexInputDesc()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | PipelineLayoutGL.cpp | 37 const BindingInfo& bindingInfo = bgl->GetBindingInfo(bindingIndex); in PipelineLayout() local 38 switch (bindingInfo.bindingType) { in PipelineLayout() 40 switch (bindingInfo.buffer.type) { in PipelineLayout()
|
D | BindGroupGL.cpp | 32 const BindingInfo& bindingInfo = descriptor->layout->GetBindingInfo(bindingIndex); in ValidateGLBindGroupDescriptor() local 33 if (bindingInfo.bindingType == BindingInfoType::StorageTexture) { in ValidateGLBindGroupDescriptor()
|
D | ShaderModuleGL.cpp | 345 const BindingInfoArray& bindingInfo = *(mGLBindings.at(entryPointName)); in TranslateToGLSL() local 363 for (const auto& it : bindingInfo[group]) { in TranslateToGLSL()
|
D | CommandBufferGL.cpp | 249 const BindingInfo& bindingInfo = in ApplyBindGroup() local 252 switch (bindingInfo.bindingType) { in ApplyBindGroup() 259 if (bindingInfo.buffer.hasDynamicOffset) { in ApplyBindGroup() 265 switch (bindingInfo.buffer.type) { in ApplyBindGroup() 342 switch (bindingInfo.storageTexture.access) { in ApplyBindGroup()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | PipelineLayoutMTL.mm | 42 const BindingInfo& bindingInfo = 44 if (!(bindingInfo.visibility & StageBit(stage))) { 48 switch (bindingInfo.bindingType) {
|
D | ShaderModuleMTL.mm | 75 const BindingInfo& bindingInfo = 78 if (!(bindingInfo.visibility & StageBit(stage))) {
|
D | CommandBufferMTL.mm | 389 const BindingInfo& bindingInfo = 393 bindingInfo.visibility & wgpu::ShaderStage::Vertex && render != nullptr; 395 bindingInfo.visibility & wgpu::ShaderStage::Fragment && render != nullptr; 397 bindingInfo.visibility & wgpu::ShaderStage::Compute && compute != nullptr; 416 switch (bindingInfo.bindingType) { 425 if (bindingInfo.buffer.hasDynamicOffset) {
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | TranslatorMetalDirect.h | 72 void addUniformBufferBinding(const std::string &name, UBOBindingInfo bindingInfo) in addUniformBufferBinding() argument 74 uniformBufferBindings.insert({name, bindingInfo}); in addUniformBufferBinding()
|