Home
last modified time | relevance | path

Searched refs:BindGroupIndex (Results 1 – 25 of 32) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DPipelineLayoutD3D12.h34 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,
DPipelineLayoutD3D12.cpp86 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/
DPipelineLayout.cpp64 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 …]
DPipelineLayout.h40 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;
DCommandBufferStateTracker.h41 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 = {};
DBindGroupTracker.h35 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,
DIntegerTypes.h30 using BindGroupIndex = TypedInteger<struct BindGroupIndexT, uint32_t>; variable
32 static constexpr BindGroupIndex kMaxBindGroupsTyped = BindGroupIndex(kMaxBindGroups);
DProgrammableEncoder.h47 MaybeError ValidateSetBindGroup(BindGroupIndex index,
52 BindGroupIndex index,
DCommandBufferStateTracker.cpp202 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()
DBindingInfo.h72 BindGroupIndex group;
99 using RequiredBufferSizes = ityp::array<BindGroupIndex, std::vector<uint64_t>, kMaxBindGroups>;
DProgrammableEncoder.cpp111 MaybeError ProgrammableEncoder::ValidateSetBindGroup(BindGroupIndex index, in ValidateSetBindGroup()
189 BindGroupIndex index, in RecordSetBindGroup()
DComputePassEncoder.cpp386 BindGroupIndex groupIndex(groupIndexIn); in APISetBindGroup()
428 for (BindGroupIndex i : IterateBitSet(layout->GetBindGroupLayoutsMask())) { in AddDispatchSyncScope()
439 for (BindGroupIndex i(0); i < kMaxBindGroupsTyped; ++i) { in RestoreCommandBufferState()
DShaderModule.h117 BindGroupIndex pullingBufferBindingSet,
151 using BindingInfoArray = ityp::array<BindGroupIndex, BindingGroupInfoMap, kMaxBindGroups>;
DPipeline.cpp137 for (BindGroupIndex group(0); group < mMinBufferSizes.size(); ++group) { in PipelineBase()
201 BindGroupIndex groupIndex(groupIndexIn); in GetBindGroupLayout()
DShaderModule.cpp594 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()
DCommands.h249 BindGroupIndex index;
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/
DCommandBufferEncodingTests.cpp110 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/
DPipelineLayoutMTL.h37 static constexpr BindGroupIndex kPullingBufferBindingSet = BindGroupIndex(kMaxBindGroups);
45 ityp::array<BindGroupIndex,
DPipelineLayoutMTL.mm37 for (BindGroupIndex group : IterateBitSet(GetBindGroupLayoutsMask())) {
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DShaderModuleGL.h27 std::string GetBindingName(BindGroupIndex group, BindingNumber bindingNumber);
30 BindGroupIndex group;
DShaderModuleGL.cpp39 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()
DPipelineLayoutGL.h34 ityp::array<BindGroupIndex, ityp::vector<BindingIndex, GLuint>, kMaxBindGroups>;
DPipelineLayoutGL.cpp31 for (BindGroupIndex group : IterateBitSet(GetBindGroupLayoutsMask())) { in PipelineLayout()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DPipelineLayoutVk.cpp41 for (BindGroupIndex setIndex : IterateBitSet(GetBindGroupLayoutsMask())) { in Initialize()
DShaderModuleVk.cpp135 for (BindGroupIndex group : IterateBitSet(layout->GetBindGroupLayoutsMask())) { in GetTransformedModuleHandle()

12