/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | PipelineLayoutD3D12.h | 34 uint32_t GetCbvUavSrvRootParameterIndex(BindGroupIndex group) const; 35 uint32_t GetSamplerRootParameterIndex(BindGroupIndex group) const; 38 uint32_t GetDynamicRootParameterIndex(BindGroupIndex group, 76 ityp::array<BindGroupIndex, PerBindGroupDynamicStorageBufferLengthInfo, kMaxBindGroups>; 84 ityp::array<BindGroupIndex, uint32_t, kMaxBindGroups> mCbvUavSrvRootParameterInfo; 85 ityp::array<BindGroupIndex, uint32_t, kMaxBindGroups> mSamplerRootParameterInfo; 86 ityp::array<BindGroupIndex,
|
D | PipelineLayoutD3D12.cpp | 86 for (BindGroupIndex group : IterateBitSet(GetBindGroupLayoutsMask())) { in Initialize() 97 for (BindGroupIndex group : IterateBitSet(GetBindGroupLayoutsMask())) { in Initialize() 204 for (BindGroupIndex group : IterateBitSet(GetBindGroupLayoutsMask())) { in Initialize() 271 uint32_t PipelineLayout::GetCbvUavSrvRootParameterIndex(BindGroupIndex group) const { in GetCbvUavSrvRootParameterIndex() 276 uint32_t PipelineLayout::GetSamplerRootParameterIndex(BindGroupIndex group) const { in GetSamplerRootParameterIndex() 290 uint32_t PipelineLayout::GetDynamicRootParameterIndex(BindGroupIndex group, in GetDynamicRootParameterIndex()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | PipelineLayout.cpp | 64 for (BindGroupIndex group(0); group < BindGroupIndex(descriptor->bindGroupLayoutCount); in PipelineLayoutBase() 256 ityp::array<BindGroupIndex, std::map<BindingNumber, BindGroupLayoutEntry>, kMaxBindGroups> in CreateDefault() 270 for (BindGroupIndex group(0); group < metadata.bindings.size(); ++group) { in CreateDefault() 304 BindGroupIndex pipelineBGLCount = BindGroupIndex(0); in CreateDefault() 305 ityp::array<BindGroupIndex, Ref<BindGroupLayoutBase>, kMaxBindGroups> bindGroupLayouts = {}; in CreateDefault() 306 for (BindGroupIndex group(0); group < kMaxBindGroupsTyped; ++group) { in CreateDefault() 310 pipelineBGLCount = group + BindGroupIndex(1); in CreateDefault() 315 ityp::array<BindGroupIndex, BindGroupLayoutBase*, kMaxBindGroups> bgls = {}; in CreateDefault() 316 for (BindGroupIndex group(0); group < pipelineBGLCount; ++group) { in CreateDefault() 345 const BindGroupLayoutBase* PipelineLayoutBase::GetBindGroupLayout(BindGroupIndex group) const { in GetBindGroupLayout() [all …]
|
D | PipelineLayout.h | 40 ityp::array<BindGroupIndex, Ref<BindGroupLayoutBase>, kMaxBindGroups>; 41 using BindGroupLayoutMask = ityp::bitset<BindGroupIndex, kMaxBindGroups>; 66 const BindGroupLayoutBase* GetBindGroupLayout(BindGroupIndex group) const; 67 BindGroupLayoutBase* GetBindGroupLayout(BindGroupIndex group); 76 BindGroupIndex GroupsInheritUpTo(const PipelineLayoutBase* other) const;
|
D | CommandBufferStateTracker.h | 41 void SetBindGroup(BindGroupIndex index, 51 BindGroupBase* GetBindGroup(BindGroupIndex index) const; 52 const std::vector<uint32_t>& GetDynamicOffsets(BindGroupIndex index) const; 69 ityp::array<BindGroupIndex, BindGroupBase*, kMaxBindGroups> mBindgroups = {}; 70 ityp::array<BindGroupIndex, std::vector<uint32_t>, kMaxBindGroups> mDynamicOffsets = {};
|
D | BindGroupTracker.h | 35 void OnSetBindGroup(BindGroupIndex index, in OnSetBindGroup() 109 ityp::array<BindGroupIndex, BindGroupBase*, kMaxBindGroups> mBindGroups = {}; 110 ityp::array<BindGroupIndex, uint32_t, kMaxBindGroups> mDynamicOffsetCounts = {}; 111 ityp::array<BindGroupIndex,
|
D | IntegerTypes.h | 30 using BindGroupIndex = TypedInteger<struct BindGroupIndexT, uint32_t>; variable 32 static constexpr BindGroupIndex kMaxBindGroupsTyped = BindGroupIndex(kMaxBindGroups);
|
D | ProgrammableEncoder.h | 47 MaybeError ValidateSetBindGroup(BindGroupIndex index, 52 BindGroupIndex index,
|
D | CommandBufferStateTracker.cpp | 202 for (BindGroupIndex i : IterateBitSet(mLastPipelineLayout->GetBindGroupLayoutsMask())) { in RecomputeLazyAspects() 276 for (BindGroupIndex i : IterateBitSet(mLastPipelineLayout->GetBindGroupLayoutsMask())) { in CheckMissingAspects() 341 void CommandBufferStateTracker::SetBindGroup(BindGroupIndex index, in SetBindGroup() 372 BindGroupBase* CommandBufferStateTracker::GetBindGroup(BindGroupIndex index) const { in GetBindGroup() 377 BindGroupIndex index) const { in GetDynamicOffsets()
|
D | BindingInfo.h | 72 BindGroupIndex group; 99 using RequiredBufferSizes = ityp::array<BindGroupIndex, std::vector<uint64_t>, kMaxBindGroups>;
|
D | ProgrammableEncoder.cpp | 111 MaybeError ProgrammableEncoder::ValidateSetBindGroup(BindGroupIndex index, in ValidateSetBindGroup() 189 BindGroupIndex index, in RecordSetBindGroup()
|
D | ComputePassEncoder.cpp | 386 BindGroupIndex groupIndex(groupIndexIn); in APISetBindGroup() 428 for (BindGroupIndex i : IterateBitSet(layout->GetBindGroupLayoutsMask())) { in AddDispatchSyncScope() 439 for (BindGroupIndex i(0); i < kMaxBindGroupsTyped; ++i) { in RestoreCommandBufferState()
|
D | ShaderModule.h | 117 BindGroupIndex pullingBufferBindingSet, 151 using BindingInfoArray = ityp::array<BindGroupIndex, BindingGroupInfoMap, kMaxBindGroups>;
|
D | Pipeline.cpp | 137 for (BindGroupIndex group(0); group < mMinBufferSizes.size(); ++group) { in PipelineBase() 201 BindGroupIndex groupIndex(groupIndexIn); in GetBindGroupLayout()
|
D | ShaderModule.cpp | 594 BindGroupIndex group, in ValidateCompatibilityWithBindGroupLayout() 867 BindGroupIndex bindGroupIndex(resource.bind_group); in ReflectShaderUsingTint() 944 result.sampler = {BindGroupIndex(pair.sampler_binding_point.group), in ReflectShaderUsingTint() 946 result.texture = {BindGroupIndex(pair.texture_binding_point.group), in ReflectShaderUsingTint() 1050 for (BindGroupIndex group : IterateBitSet(layout->GetBindGroupLayoutsMask())) { in ComputeRequiredBufferSizesForLayout() 1077 BindGroupIndex pullingBufferBindingSet, in AddVertexPullingTransformConfig() 1111 for (BindGroupIndex group : IterateBitSet(layout->GetBindGroupLayoutsMask())) { in ValidateCompatibilityWithPipelineLayout() 1118 for (BindGroupIndex group : IterateBitSet(~layout->GetBindGroupLayoutsMask())) { in ValidateCompatibilityWithPipelineLayout()
|
D | Commands.h | 249 BindGroupIndex index;
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/ |
D | CommandBufferEncodingTests.cpp | 110 EXPECT_EQ(ToAPI(stateTracker->GetBindGroup(BindGroupIndex(0))), staticBG.Get()); in TEST_F() 111 EXPECT_EQ(stateTracker->GetDynamicOffsets(BindGroupIndex(0)), emptyDynamicOffsets); in TEST_F() 112 EXPECT_EQ(ToAPI(stateTracker->GetBindGroup(BindGroupIndex(1))), dynamicBG.Get()); in TEST_F() 113 EXPECT_EQ(stateTracker->GetDynamicOffsets(BindGroupIndex(1)), singleDynamicOffset); in TEST_F() 123 EXPECT_EQ(ToAPI(stateTracker->GetBindGroup(BindGroupIndex(0))), staticBG.Get()); in TEST_F() 124 EXPECT_EQ(stateTracker->GetDynamicOffsets(BindGroupIndex(0)), emptyDynamicOffsets); in TEST_F() 125 EXPECT_EQ(ToAPI(stateTracker->GetBindGroup(BindGroupIndex(1))), dynamicBG.Get()); in TEST_F() 126 EXPECT_EQ(stateTracker->GetDynamicOffsets(BindGroupIndex(1)), singleDynamicOffset); in TEST_F() 140 EXPECT_EQ(ToAPI(stateTracker->GetBindGroup(BindGroupIndex(0))), dynamicBG.Get()); in TEST_F() 141 EXPECT_EQ(stateTracker->GetDynamicOffsets(BindGroupIndex(0)), singleDynamicOffset); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | PipelineLayoutMTL.h | 37 static constexpr BindGroupIndex kPullingBufferBindingSet = BindGroupIndex(kMaxBindGroups); 45 ityp::array<BindGroupIndex,
|
D | PipelineLayoutMTL.mm | 37 for (BindGroupIndex group : IterateBitSet(GetBindGroupLayoutsMask())) {
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | ShaderModuleGL.h | 27 std::string GetBindingName(BindGroupIndex group, BindingNumber bindingNumber); 30 BindGroupIndex group;
|
D | ShaderModuleGL.cpp | 39 std::string GetBindingName(BindGroupIndex group, BindingNumber bindingNumber) { in GetBindingName() 93 BindGroupIndex bindGroupIndex( in ExtractSpirvInfo() 333 info->samplerLocation.group = BindGroupIndex( in TranslateToGLSL() 338 info->textureLocation.group = BindGroupIndex( in TranslateToGLSL() 362 for (BindGroupIndex group : IterateBitSet(layout->GetBindGroupLayoutsMask())) { in TranslateToGLSL()
|
D | PipelineLayoutGL.h | 34 ityp::array<BindGroupIndex, ityp::vector<BindingIndex, GLuint>, kMaxBindGroups>;
|
D | PipelineLayoutGL.cpp | 31 for (BindGroupIndex group : IterateBitSet(GetBindGroupLayoutsMask())) { in PipelineLayout()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | PipelineLayoutVk.cpp | 41 for (BindGroupIndex setIndex : IterateBitSet(GetBindGroupLayoutsMask())) { in Initialize()
|
D | ShaderModuleVk.cpp | 135 for (BindGroupIndex group : IterateBitSet(layout->GetBindGroupLayoutsMask())) { in GetTransformedModuleHandle()
|