Home
last modified time | relevance | path

Searched refs:dynamicOffsetCount (Results 1 – 25 of 75) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBindGroupTracker.h37 uint32_t dynamicOffsetCount, in OnSetBindGroup() argument
51 if (dynamicOffsetCount > 0) { in OnSetBindGroup()
57 mDynamicOffsetCounts[index] = dynamicOffsetCount; in OnSetBindGroup()
58 SetDynamicOffsets(mDynamicOffsets[index].data(), dynamicOffsetCount, dynamicOffsets); in OnSetBindGroup()
126 uint32_t dynamicOffsetCount, in SetDynamicOffsets() argument
128 for (uint32_t i = 0; i < dynamicOffsetCount; ++i) { in SetDynamicOffsets()
134 uint32_t dynamicOffsetCount, in SetDynamicOffsets() argument
136 memcpy(data, dynamicOffsets, sizeof(uint32_t) * dynamicOffsetCount); in SetDynamicOffsets()
DProgrammableEncoder.cpp191 uint32_t dynamicOffsetCount, in RecordSetBindGroup() argument
196 cmd->dynamicOffsetCount = dynamicOffsetCount; in RecordSetBindGroup()
197 if (dynamicOffsetCount > 0) { in RecordSetBindGroup()
198 uint32_t* offsets = allocator->AllocateData<uint32_t>(cmd->dynamicOffsetCount); in RecordSetBindGroup()
199 memcpy(offsets, dynamicOffsets, dynamicOffsetCount * sizeof(uint32_t)); in RecordSetBindGroup()
DRenderEncoderBase.cpp386 uint32_t dynamicOffsetCount, in APISetBindGroup() argument
394 DAWN_TRY(ValidateSetBindGroup(groupIndex, group, dynamicOffsetCount, in APISetBindGroup()
398 RecordSetBindGroup(allocator, groupIndex, group, dynamicOffsetCount, in APISetBindGroup()
400 mCommandBufferState.SetBindGroup(groupIndex, group, dynamicOffsetCount, in APISetBindGroup()
407 dynamicOffsetCount); in APISetBindGroup()
DComputePassEncoder.cpp381 uint32_t dynamicOffsetCount, in APISetBindGroup() argument
389 DAWN_TRY(ValidateSetBindGroup(groupIndex, group, dynamicOffsetCount, in APISetBindGroup()
394 RecordSetBindGroup(allocator, groupIndex, group, dynamicOffsetCount, in APISetBindGroup()
396 mCommandBufferState.SetBindGroup(groupIndex, group, dynamicOffsetCount, in APISetBindGroup()
402 dynamicOffsetCount); in APISetBindGroup()
DCommands.cpp183 if (cmd->dynamicOffsetCount > 0) { in FreeCommands()
184 commands->NextData<uint32_t>(cmd->dynamicOffsetCount); in FreeCommands()
339 if (cmd->dynamicOffsetCount > 0) { in SkipCommand()
340 commands->NextData<uint32_t>(cmd->dynamicOffsetCount); in SkipCommand()
DProgrammableEncoder.h54 uint32_t dynamicOffsetCount,
DComputePassEncoder.h49 uint32_t dynamicOffsetCount = 0,
DCommandBufferStateTracker.cpp343 uint32_t dynamicOffsetCount, in SetBindGroup() argument
346 mDynamicOffsets[index].assign(dynamicOffsets, dynamicOffsets + dynamicOffsetCount); in SetBindGroup()
DRenderEncoderBase.h59 uint32_t dynamicOffsetCount = 0,
DCommandBufferStateTracker.h43 uint32_t dynamicOffsetCount,
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DProgrammablePassEncoder.cpp85 uint32_t dynamicOffsetCount, in SetBindGroup() argument
100 if (layout->GetDynamicBufferCount() != dynamicOffsetCount) { in SetBindGroup()
104 for (uint32_t i = 0; i < dynamicOffsetCount; ++i) { in SetBindGroup()
128 cmd->dynamicOffsetCount = dynamicOffsetCount; in SetBindGroup()
129 if (dynamicOffsetCount > 0) { in SetBindGroup()
130 uint64_t* offsets = mAllocator->AllocateData<uint64_t>(cmd->dynamicOffsetCount); in SetBindGroup()
131 memcpy(offsets, dynamicOffsets, dynamicOffsetCount * sizeof(uint64_t)); in SetBindGroup()
DProgrammablePassEncoder.h44 uint32_t dynamicOffsetCount,
DCommands.cpp129 if (cmd->dynamicOffsetCount > 0) { in FreeCommands()
130 commands->NextData<uint64_t>(cmd->dynamicOffsetCount); in FreeCommands()
DCommands.h211 uint32_t dynamicOffsetCount; member
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/
DCommandBufferEncodingTests.cpp161 if (cmd->dynamicOffsetCount > 0) { in TEST_F()
162 dynamicOffsets = commands->NextData<uint32_t>(cmd->dynamicOffsetCount); in TEST_F()
167 ASSERT_EQ(cmd->dynamicOffsetCount, offsets.size()); in TEST_F()
168 for (uint32_t i = 0; i < cmd->dynamicOffsetCount; ++i) { in TEST_F()
204 ASSERT_EQ(cmd->dynamicOffsetCount, 0u); in TEST_F()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp139 uint32_t dynamicOffsetCount, in OnSetBindGroup() argument
143 mDynamicOffsetCounts[index] = dynamicOffsetCount; in OnSetBindGroup()
144 if (dynamicOffsetCount > 0) { in OnSetBindGroup()
147 for (uint32_t i = 0; i < dynamicOffsetCount; ++i) { in OnSetBindGroup()
534 if (cmd->dynamicOffsetCount > 0) { in RecordComputePass()
535 dynamicOffsets = mCommands.NextData<uint64_t>(cmd->dynamicOffsetCount); in RecordComputePass()
538 descriptorSets.OnSetBindGroup(cmd->index, set, cmd->dynamicOffsetCount, in RecordComputePass()
697 if (cmd->dynamicOffsetCount > 0) { in RecordRenderPass()
698 dynamicOffsets = mCommands.NextData<uint64_t>(cmd->dynamicOffsetCount); in RecordRenderPass()
701 descriptorSets.OnSetBindGroup(cmd->index, set, cmd->dynamicOffsetCount, in RecordRenderPass()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_cmd_enqueue.c221 uint32_t dynamicOffsetCount, in vk_cmd_enqueue_CmdBindDescriptorSets() argument
255 cmd->u.bind_descriptor_sets.dynamic_offset_count = dynamicOffsetCount; in vk_cmd_enqueue_CmdBindDescriptorSets()
259 sizeof(*cmd->u.bind_descriptor_sets.dynamic_offsets) * dynamicOffsetCount, 8, in vk_cmd_enqueue_CmdBindDescriptorSets()
263 sizeof(*cmd->u.bind_descriptor_sets.dynamic_offsets) * dynamicOffsetCount); in vk_cmd_enqueue_CmdBindDescriptorSets()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkCommandBuffer.cpp975 … uint32_t firstDynamicOffset, uint32_t dynamicOffsetCount, const uint32_t *pDynamicOffsets) in CmdBindDescriptorSets() argument
980 , dynamicOffsetCount(dynamicOffsetCount) in CmdBindDescriptorSets()
989 for(uint32_t i = 0; i < dynamicOffsetCount; i++) in CmdBindDescriptorSets()
999 …ASSERT(firstDynamicOffset + dynamicOffsetCount <= vk::MAX_DESCRIPTOR_SET_COMBINED_BUFFERS_DYNAMIC); in execute()
1009 for(uint32_t i = firstDynamicOffset; i < firstDynamicOffset + dynamicOffsetCount; i++) in execute()
1022 const uint32_t dynamicOffsetCount; member in __anon050568cb0111::CmdBindDescriptorSets
1494 uint32_t dynamicOffsetCount, const uint32_t *pDynamicOffsets) in bindDescriptorSets() argument
1498 …auto firstDynamicOffset = (dynamicOffsetCount != 0) ? pipelineLayout->getDynamicOffsetIndex(firstS… in bindDescriptorSets()
1502 firstDynamicOffset, dynamicOffsetCount, pDynamicOffsets); in bindDescriptorSets()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h86 uint32_t dynamicOffsetCount; member
376 uint32_t dynamicOffsetCount,
651 uint32_t dynamicOffsetCount, in bindDescriptorSets() argument
655 size_t offsetSize = dynamicOffsetCount * sizeof(uint32_t); in bindDescriptorSets()
664 paramStruct->dynamicOffsetCount = dynamicOffsetCount; in bindDescriptorSets()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DCommandBufferMTL.mm199 uint32_t dynamicOffsetCount,
604 if (cmd->dynamicOffsetCount > 0) {
605 dynamicOffsets = mCommands.NextData<uint64_t>(cmd->dynamicOffsetCount);
608 ApplyBindGroup(cmd->index, ToBackend(cmd->group.Get()), cmd->dynamicOffsetCount,
859 if (cmd->dynamicOffsetCount > 0) {
860 dynamicOffsets = mCommands.NextData<uint64_t>(cmd->dynamicOffsetCount);
863 ApplyBindGroup(cmd->index, ToBackend(cmd->group.Get()), cmd->dynamicOffsetCount,
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp941 if (cmd->dynamicOffsetCount > 0) { in RecordComputePass()
942 dynamicOffsets = mCommands.NextData<uint32_t>(cmd->dynamicOffsetCount); in RecordComputePass()
945 descriptorSets.OnSetBindGroup(cmd->index, bindGroup, cmd->dynamicOffsetCount, in RecordComputePass()
1171 if (cmd->dynamicOffsetCount > 0) { in RecordRenderPass()
1172 dynamicOffsets = iter->NextData<uint32_t>(cmd->dynamicOffsetCount); in RecordRenderPass()
1175 descriptorSets.OnSetBindGroup(cmd->index, bindGroup, cmd->dynamicOffsetCount, in RecordRenderPass()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h115 uint32_t dynamicOffsetCount; member
516 uint32_t dynamicOffsetCount,
923 uint32_t dynamicOffsetCount, in bindDescriptorSets() argument
927 size_t offsetSize = dynamicOffsetCount * sizeof(uint32_t); in bindDescriptorSets()
936 paramStruct->dynamicOffsetCount = dynamicOffsetCount; in bindDescriptorSets()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DCommandBufferGL.cpp242 uint32_t dynamicOffsetCount, in ApplyBindGroup() argument
940 if (cmd->dynamicOffsetCount > 0) { in ExecuteComputePass()
941 dynamicOffsets = mCommands.NextData<uint32_t>(cmd->dynamicOffsetCount); in ExecuteComputePass()
944 cmd->dynamicOffsetCount, dynamicOffsets); in ExecuteComputePass()
1243 if (cmd->dynamicOffsetCount > 0) { in ExecuteRenderPass()
1244 dynamicOffsets = iter->NextData<uint32_t>(cmd->dynamicOffsetCount); in ExecuteRenderPass()
1247 cmd->dynamicOffsetCount, dynamicOffsets); in ExecuteRenderPass()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DCommandBufferD3D12.cpp1131 if (cmd->dynamicOffsetCount > 0) { in RecordComputePass()
1132 dynamicOffsets = mCommands.NextData<uint32_t>(cmd->dynamicOffsetCount); in RecordComputePass()
1135 bindingTracker->OnSetBindGroup(cmd->index, group, cmd->dynamicOffsetCount, in RecordComputePass()
1513 if (cmd->dynamicOffsetCount > 0) { in RecordRenderPass()
1514 dynamicOffsets = iter->NextData<uint32_t>(cmd->dynamicOffsetCount); in RecordRenderPass()
1517 bindingTracker->OnSetBindGroup(cmd->index, group, cmd->dynamicOffsetCount, in RecordRenderPass()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DCommandBufferMTL.mm379 uint32_t dynamicOffsetCount,
1108 if (cmd->dynamicOffsetCount > 0) {
1109 dynamicOffsets = mCommands.NextData<uint32_t>(cmd->dynamicOffsetCount);
1113 cmd->dynamicOffsetCount, dynamicOffsets);
1425 if (cmd->dynamicOffsetCount > 0) {
1426 dynamicOffsets = iter->NextData<uint32_t>(cmd->dynamicOffsetCount);
1430 cmd->dynamicOffsetCount, dynamicOffsets);

123